Skip to content

[Task]: Enable WinCLIP export #1641

@djdameln

Description

@djdameln

What is the motivation for this task?

Export is not working for the WinCLIP implementation because the masks and reference embeddings are currently not stored in the model's state dict.

Describe the solution you'd like

Enable export for WinCLIP model by registering masks and reference embeddings as buffers so that they end up in the state dict.

Additional context

Note that storing the masks and reference embeddings in the state dict is not necessary for testing and predicting, since we re-collect these attributes at the beginning of the test and predict sequence in the setup call of the lightning model.

Metadata

Metadata

Assignees

Labels

Good First IssueIssues that can be picked up by someone unfamiliar with the repo and would like to contribute.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions