Skip to content
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

AttributeError: module 'torchvision' has no attribute 'datasets' #12

Open
CL2LC opened this issue Oct 9, 2024 · 1 comment
Open

AttributeError: module 'torchvision' has no attribute 'datasets' #12

CL2LC opened this issue Oct 9, 2024 · 1 comment

Comments

@CL2LC
Copy link

CL2LC commented Oct 9, 2024

哪位运行成功的朋友能告诉我,你们使用的pytorch以及torhvision的版本是什么y呀。我目前在cuda==10.1尝试了pytorch==1.13.1,torhvision==0.14.1以及
pytorch==1.11.0,torhvision==0.12.0两种,都报错AttributeError: module 'torchvision' has no attribute 'datasets',GPU是3090。

Someone who has been successful can tell me what version of pytorch and torhvision you use. I am currently trying pytorch==1.13.1,torhvision==0.14.1 and cuda==10.1
pytorch==1.11.0,torhvision==0.12.0 Both report AttributeError: module 'torchvision' has no attribute 'datasets', GPU is 3090

@Kaguya7711
Copy link

我用torch==1.7.0,torchvision==0.8.0不会报错

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

No branches or pull requests

2 participants