Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The working mechanism of the classifier #17

Open
zhangyupeng123 opened this issue Aug 30, 2024 · 4 comments
Open

The working mechanism of the classifier #17

zhangyupeng123 opened this issue Aug 30, 2024 · 4 comments

Comments

@zhangyupeng123
Copy link

Dear author, thank you very much for your excellent work. I have a question that I would like to ask you. Is the classifier designed to calculate the cosine similarity between images and text in the same way as CLIP, or is it designed differently? I don't seem to have found detailed information on this part.

@machuofan
Copy link
Collaborator

Hi there, thank you for your interest in our work. Yes, the classifier works in the same way as CLIP, i.e, the classifier weights are essentially composed of text embeddings.

@zhangyupeng123
Copy link
Author

When training, is the input on the text side the image's title, or is it just a template like "a photo of " or "a "?

@zhangyupeng123
Copy link
Author

@machuofan When training, is the input on the text side the image's title, or is it just a template like "a photo of " or "a "?

@machuofan
Copy link
Collaborator

It's 'a xxx'.

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

No branches or pull requests

2 participants