Skip to content

Conversation

@ztzhu1
Copy link

@ztzhu1 ztzhu1 commented Dec 4, 2025

Hi, I think there is a typo in the docstring of zero_shot_classifier. The output is the average embeddings of all the templates. So the shape of zeroshot_weights should be determined by the projection output size D and the number of classes C.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant