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

Visualization code #6

Open
hq0709 opened this issue Mar 5, 2024 · 5 comments
Open

Visualization code #6

hq0709 opened this issue Mar 5, 2024 · 5 comments

Comments

@hq0709
Copy link

hq0709 commented Mar 5, 2024

Thanks for your great work!

regarding this figure, could you please release the code of visualization?
image

Thanks!

@QtacierP
Copy link
Owner

QtacierP commented Mar 5, 2024

Thanks for your attention. In fact, this visualization is based on the text to image cross-attention map in

text_to_local_image_embed, text_to_local_image_atten, image_to_local_text_embed, image_to_local_text_atten = self.local_cross_attention(local_image_embed, local_text_embed)

I will try my best to clean and release the related codes ASAP.

@hq0709
Copy link
Author

hq0709 commented Mar 5, 2024

Thanks! Your visualization code is very important to my current work. I appreciate it if you can release that!

@QtacierP
Copy link
Owner

QtacierP commented Mar 5, 2024

Thank you. The existing visualization codes are quite messy and intertwined within the training pipeline. My plan is to create a demo.py file that can accept any text and image as input for zero-shot classification (including visualization). I will make the necessary updates once I complete my current work, which is an extended version of PRIOR.

@hq0709
Copy link
Author

hq0709 commented Apr 1, 2024

Could you open source the visualization code?

Many thanks!

@violet-42
Copy link

Thank you for your work. Could you make your visualization code public?

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

3 participants