-
Notifications
You must be signed in to change notification settings - Fork 29
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
Required dependencies are a bit much #23
Comments
From some quick googling/stackoverflowing, seems like it'd work fine in a requirements.txt file too: |
Thanks! I will test this out. I think there was a problem with using
external repos from settings.ini but I don't remember why. Certainly don't
want to drag in anything unnecessarily.
…On Fri, Sep 3, 2021 at 12:09 PM Daniel Russell ***@***.***> wrote:
From some quick googling/stackoverflowing, seems like it'd work fine in a
requirements.txt file too:
git+https://github.com/openai/CLIP.git
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AN7DJVAEJJ7UG4YP7ZBV5BTUAEFMNANCNFSM5DMHDELQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
I see that the official CLIP repo recommends using Torch 1.7.1. Have you been using it fine with a different version @russelldc ? |
I think that was changed since this commit (to be 1.7.1 and above, not just a hard requirement on 1.7.1): |
Okay, I have updated the dependencies. Found that PyPi doesn't allow |
Scratch that, it seems this doesn't work due to many reasons including the fact there's already something called I'm planning to switch to Jina soon anyway so maybe that will paper over all these issues |
Is a Jina refactor still on the table? |
It'd be nice to install this without having to downgrade to torch 1.7.1 (as well as torchvision and some others).
It seems like this is being forced by the
clip-by-openai
package on pypi. Not sure I trust a random package like this (plus it's behind on commits by a few months), and I'd recommend installing directly from the official git repo.I'm not sure if this can work inside a requirements.txt file, but this is what I usually do:
pip install git+https://github.com/openai/CLIP
I have an alternative in just doing a
pip install memery --no-deps
but then I'd have to gather all the missing dependencies manually.The text was updated successfully, but these errors were encountered: