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

Request for clip_wrapper.py Compatible with open-clip for CAM Generation #7

Open
ytoh96 opened this issue Jul 22, 2024 · 0 comments
Open

Comments

@ytoh96
Copy link

ytoh96 commented Jul 22, 2024

First of all, thank you for your excellent research.

I am interested in applying your approach using a CLIP model trained in a different domain.

I would like to know how to obtain CAM results from a pretrained CLIP using open-clip (https://github.com/mlfoundations/open_clip) instead of OpenAI's CLIP.

I attempted to generate CAMs, but due to the different model structure, I am unsure if I have implemented it as you intended. (The results were not as good as expected, so I am reaching out for help.)

Could you provide a clip_wrapper.py that is compatible with open_clip? (I tried it myself, but I am keen to understand your precise implementation.)

I have attached the network in a txt file.
open-clip.txt
open_ai_clip.txt

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

1 participant