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 'torch._C' has no attribute '_cuda_setDevice' #175

Open
aestendrela opened this issue Jan 31, 2023 · 1 comment
Open

Comments

@aestendrela
Copy link

When I run this code it gives me an error

python test.py --name edge2face_512 --dataroot datasets/face/ --dataset_mode face --input_nc 15 --loadSize 512 --use_single_G

ERROR:
AttributeError: module 'torch._C' has no attribute '_cuda_setDevice'.

Do you know what it could be?

@hacker009-sudo
Copy link

@aestendrela , are you able to get the solution?

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