-
Notifications
You must be signed in to change notification settings - Fork 3
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
Could you explain the code of Mask Class Token in the project? #2
Comments
There are two main parts of the Mask Class Token. First one is that we add mask class token (by repeating the class token) to CLIP MaskCLIP/maskclip/modeling/maskclip.py Lines 165 to 168 in 43049d1
Second one is that we use the segmentation masks to serve as attention mask in the self-attention layer MaskCLIP/maskclip/modeling/maskclip.py Lines 50 to 66 in 43049d1
|
Could you explain the code of Mask Class Token in the project?
The text was updated successfully, but these errors were encountered: