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

AssertionError: Torch not compiled with CUDA enabled #97

Open
ssbilakeri opened this issue Mar 12, 2021 · 0 comments
Open

AssertionError: Torch not compiled with CUDA enabled #97

ssbilakeri opened this issue Mar 12, 2021 · 0 comments

Comments

@ssbilakeri
Copy link

Hi
since im running code on cpu windows 10 and disabled cuda()
but still getting cuda error. here is the trace, please help me to resolve.

Traceback (most recent call last):
File "examples/triplet_loss.py", line 220, in
main(parser.parse_args())
File "examples/triplet_loss.py", line 144, in main
trainer.train(epoch, train_loader, optimizer)
File "C:\Users\MAHE\anaconda3\envs\open\lib\site-packages\open_reid-0.2.0-py3.6.egg\reid\trainers.py", line 30, in train
File "C:\Users\MAHE\anaconda3\envs\open\lib\site-packages\open_reid-0.2.0-py3.6.egg\reid\trainers.py", line 66, in parse_data
File "C:\Users\MAHE\anaconda3\envs\open\lib\site-packages\torch\cuda_init
.py", line 161, in _lazy_init
check_driver()
File "C:\Users\MAHE\anaconda3\envs\open\lib\site-packages\torch\cuda_init
.py", line 75, in _check_driver
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

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

1 participant