-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Torch Hub download fails due to Torchvision dependency? #5813
Comments
I cannot reproduce. The only difference in my env is that I'm not on Windows. My guess to what is happening: Lines 15 to 19 in 467b841
that are not present in Lines 15 to 16 in 9b5a3fe
Let's wait for @NicolasHug who knows |
@pmeier what OS are you using? |
Linux |
@jmwolf82 Could you try loading from 0.12.0 instead?
Note that since torchvision is already installed on your machine, you don't really need to use torchhub, you could just import |
@NicolasHug that worked when I specifically referenced the branch in the command, I was able to use torch hub. It is interesting that I do not have the same issue on my Linux VM. Thanks for your help. |
So |
I would suspect this is due to a different environment rather than a platform issue. But yeah I'm getting some other torchhub errors myself, something bad is going on. I can't do much about it right now because the torchhub repo's CI is failing for random reasons. |
🐛 Describe the bug
Running the following code returns the error seen below. It seems like there is some type of dependency or call to torchvision. Torchvision, however, doesn't list the new efficientnet models.
It seems like there is something missing. I have cleared my .cache folder, and even updated the efficientnet.py code on my local machine to match the latest. Still receiving this Import Error. I am running the following versions:
Even if I do a simple:
I receive the following error:
Versions
The text was updated successfully, but these errors were encountered: