We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when i run demo.py file i have the error ModuleNotFoundError: No module named 'torchvision.models.utils'
The text was updated successfully, but these errors were encountered:
Same here. Did you ever figure it out?
Sorry, something went wrong.
错误原因:torchvision的版本问题 解决方案:将BIT_CD-master\models\resnet.py第3行from torchvision.models.utils import load_state_dict_from_url 替换为from torch.hub import load_state_dict_from_url
No branches or pull requests
when i run demo.py file i have the error
ModuleNotFoundError: No module named 'torchvision.models.utils'
The text was updated successfully, but these errors were encountered: