mirror of
https://github.com/openai/CLIP.git
synced 2026-11-05 01:37:26 +00:00
[GH-ISSUE #60] pip installable package #54
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openai/CLIP#54
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lucidrains on GitHub (Mar 11, 2021).
Original GitHub issue: https://github.com/openai/CLIP/issues/60
Hi and thanks for the great model :)
I was wondering if you would be open to publishing this to PyPI, as you have done for gym and dall_e. It would be convenient to be able to include this as a dependency in
setup.pyand for others to be able to use right away without an extrapip install git+{repo}@nreimers commented on GitHub (Mar 19, 2021):
Yes, a pip install would be nice.
As a work-around you can use SentenceTransformers, where CLIP is integrated:
Then you can use CLIP like this:
More details
https://www.sbert.net/examples/applications/image-search/README.html#usage
@lucidrains commented on GitHub (Mar 20, 2021):
@nreimers thanks for cuing me in Nils! unfortunately I need to be able to pass in an image tensor, so it is conductive to gradients to the origin
@jongwook commented on GitHub (Mar 22, 2021):
Hi @lucidrains, while we may add some code/model updates or compatibility fixes going forward in this repo, we'd like to not make an additional commitment to provide semantic versioning / maintenance by pushing the packages to PyPI.
Meanwhile, the repo is MIT-licensed, and you're welcome to package the code yourself or include in your libraries. I see some users already did so.
@lucidrains commented on GitHub (Mar 22, 2021):
Hi Jong! Yup, anything would be better than nothing :)