You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have successfully installed everything in Installation instructions. However, I'm getting this error when running the demo code.
ImportError: cannot import name 'model_urls' from 'torchvision.models.resnet' (/home/user/.conda/envs/shapy/lib/python3.8/site-packages/torchvision/models/resnet.py)
I understand that the original repo was tested with Python 3.8, CUDA 10.2 and PyTorch 1.7.1. But due to a constraint of my GPU I can only use CUDA 11.X +. Thus I'm current using CUDA 11.8 and PyTorch 2.1.1.
Am I out of luck trying to run this code on my setup?
The text was updated successfully, but these errors were encountered:
Since PyTorch 2.1.1. does not support these functions you need to write them yourself or find the corresponding functions in PyTorch 2.1.1 and change the import accordingly.
I have successfully installed everything in Installation instructions. However, I'm getting this error when running the demo code.
I understand that the original repo was tested with Python 3.8, CUDA 10.2 and PyTorch 1.7.1. But due to a constraint of my GPU I can only use CUDA 11.X +. Thus I'm current using CUDA 11.8 and PyTorch 2.1.1.
Am I out of luck trying to run this code on my setup?
The text was updated successfully, but these errors were encountered: