Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Is there Pytorch version CLIPPO? #57

Closed
yukistavailable opened this issue Oct 28, 2023 · 2 comments
Closed

Is there Pytorch version CLIPPO? #57

yukistavailable opened this issue Oct 28, 2023 · 2 comments

Comments

@yukistavailable
Copy link

Thank you for releasing code for these inspiring works!
Especially, I'm interested in CLIPPO.

Are there any plans to release a Pytorch version?

@mitscha
Copy link
Contributor

mitscha commented Oct 30, 2023

Thanks for your interest! We have not planned a PyTorch release for CLIPPO.

If you're interested in using the pretrained checkpoints with PyTorch, it shouldn't be too hard to convert them, as they are stored as npz files and we follow the standard ViT design. If you're interested in training in pytorch, you could just port the preprocessing function to your favorite CLIP library and adapt the code to do two forward passes through the vision encoder (one for the natural image and one for the text image).

@yukistavailable
Copy link
Author

Thank you for the detailed explanation!

OK, I will do the conversion by myself. 😄

@google-research google-research locked and limited conversation to collaborators Nov 7, 2023
@lucasb-eyer lucasb-eyer converted this issue into discussion #65 Nov 7, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants