You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
THCudaCheck FAIL file=/pytorch/aten/src/THC/THCGeneral.cpp line=50 error=38 : no CUDA-capable device is detected
Traceback (most recent call last):
File "train_composition.py", line 14, in
opt = TrainOptions().parse()
File "/content/CompositionalGAN/options/base_options.py", line 86, in parse
torch.cuda.set_device(self.opt.gpu_ids[0])
File "/usr/local/lib/python3.7/dist-packages/torch/cuda/init.py", line 281, in set_device
torch._C._cuda_setDevice(device)
File "/usr/local/lib/python3.7/dist-packages/torch/cuda/init.py", line 179, in _lazy_init
torch._C._cuda_init()
RuntimeError: cuda runtime error (38) : no CUDA-capable device is detected at /pytorch/aten/src/THC/THCGeneral.cpp:50
Please help. Thank you.
The text was updated successfully, but these errors were encountered:
When I am trying to run this on Colab
!bash /content/CompositionalGAN/scripts/chair_table/train_objCompose_paired.sh
It gives following error
THCudaCheck FAIL file=/pytorch/aten/src/THC/THCGeneral.cpp line=50 error=38 : no CUDA-capable device is detected
Traceback (most recent call last):
File "train_composition.py", line 14, in
opt = TrainOptions().parse()
File "/content/CompositionalGAN/options/base_options.py", line 86, in parse
torch.cuda.set_device(self.opt.gpu_ids[0])
File "/usr/local/lib/python3.7/dist-packages/torch/cuda/init.py", line 281, in set_device
torch._C._cuda_setDevice(device)
File "/usr/local/lib/python3.7/dist-packages/torch/cuda/init.py", line 179, in _lazy_init
torch._C._cuda_init()
RuntimeError: cuda runtime error (38) : no CUDA-capable device is detected at /pytorch/aten/src/THC/THCGeneral.cpp:50
Please help. Thank you.
The text was updated successfully, but these errors were encountered: