-
Notifications
You must be signed in to change notification settings - Fork 143
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
Error Demo CPU, not CUDA #54
Comments
Hi, |
dear, |
runfile('D:/pytorch-pose-hg-3d-master/src/demo.py', wdir='D:/pytorch-pose-hg-3d-master/src') File "", line 1, in File "C:\Users\user\Anaconda3\envs\tensorflow\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 668, in runfile File "C:\Users\user\Anaconda3\envs\tensorflow\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 108, in execfile File "D:/pytorch-pose-hg-3d-master/src/demo.py", line 81, in File "D:/pytorch-pose-hg-3d-master/src/demo.py", line 62, in main File "C:\Users\user\Anaconda3\envs\tensorflow\lib\site-packages\torch\nn\modules\module.py", line 381, in to File "C:\Users\user\Anaconda3\envs\tensorflow\lib\site-packages\torch\nn\modules\module.py", line 187, in _apply File "C:\Users\user\Anaconda3\envs\tensorflow\lib\site-packages\torch\nn\modules\module.py", line 193, in _apply File "C:\Users\user\Anaconda3\envs\tensorflow\lib\site-packages\torch\nn\modules\module.py", line 379, in convert File "C:\Users\user\Anaconda3\envs\tensorflow\lib\site-packages\torch\cuda_init_.py", line 161, in _lazy_init File "C:\Users\user\Anaconda3\envs\tensorflow\lib\site-packages\torch\cuda_init_.py", line 82, in _check_driver AssertionError: |
Hi, |
I run demo.py on Spider( Anaconda). |
Hi, |
dear, |
Hi, |
Hi Binh, |
Chào bạn NguyenDangBinh, |
chào anh Nguyên, |
I fixed it |
I use CPU, not GPU, not CUDA.
I use Anaconda, Spider to build demo.py. I had a error:
File "C:\Users\user\Anaconda3\envs\tensorflow\lib\site-packages\torch\serialization.py", line 78, in validate_cuda_device
raise RuntimeError('Attempting to deserialize object on a CUDA '
RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location='cpu' to map your storages to the CPU.
Can you help me?
The text was updated successfully, but these errors were encountered: