Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Which version of torchvision is needed? #1

Open
km4sh opened this issue Nov 11, 2021 · 3 comments
Open

Which version of torchvision is needed? #1

km4sh opened this issue Nov 11, 2021 · 3 comments

Comments

@km4sh
Copy link

km4sh commented Nov 11, 2021

For a fresh conda environment, torchvision is needed. but after installing the v0.11.1 of torchvision, Stderr raised No module named 'torchvision.models.utils' error. So, which version of torchvision is required?

@Charch-630
Copy link
Owner

The torchvision should be installed according to the pyTorch version. See https://pytorch.org/ to find appropriate installation command.

@ill13
Copy link

ill13 commented Dec 1, 2021

Same issue here...I may have solved by using the LTS(1.8.2) version of pytorch from https://pytorch.org/get-started/locally/

@eformx
Copy link

eformx commented Nov 17, 2022

Try this, worked for me:
from torch.hub import load_state_dict_from_url

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants