-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Feature/make installable #26
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
Feature/make installable #26
Conversation
…LIP into feature/make_installable
Hi, thanks for your interest in CLIP and packaging it for easier use. We cannot merge this PR at this state because it has a few issues we'd like to fix, such as the overly complex We are actually working on an update to make this package PIP-installable, and we are planning to make it work this way:
so that we don't have to worry about versioning for now. Would you like me to make edits directly on this branch before merging this PR, or would you rather close this PR entirely? |
That's a good way to go about it. I would like you to make edits on this branch if possible. Would love to track how this goes and make whatever small contribution I can for CLIP. Found the paper and blog quite insightful and I'm surprised with the results! I have also removed all mentions of VectorAI from this PR. |
Closing for now. |
I did some experiments with torch==1.7.0 and it fails in very subtle ways. Most of the time everything seems fine, but there is some very strange behavior at other times. If you are interested I can create a small demo showing the behavior. |
@haltakov I see - yes it would be good to know how it fails |
Here the experiments on Colab:
@brunodoamaral - yeah it seems like the same problem |
I moved everything into modules to make it PIP Installable.
I currently have created a package which can be found here: https://pypi.org/project/clip-by-openai/.
This should make CLIP a lot easier to use for individuals looking to test it out. Furthermore, I have also added the model to VectorHub, an open-source repository for vector search models I maintain, which can be found here:
https://hub.getvectorai.com/model/text_image%2Fclip
The link may be useful for people looking for low barriers to entry when trying out CLIP.