Closed taruntiwarihp closed 3 years ago
2 - I want to test (run time) code with input using the camera itself (visual and audio) -> can you explain how can I get input from the camera or OpenCV, also share some code related to it
Thanks for your help brother !
(mdvc) tarun@tarun-VirtualBox:~/Downloads/MDVC$ python main.py --device_ids 1 log_path: ./log/0601100925 model_checkpoint_path: ./log/0601100925 THCudaCheck FAIL file=/opt/conda/conda-bld/pytorch_1565272271120/work/aten/src/THC/THCGeneral.cpp line=50 error=38 : no CUDA-capable device is detected Traceback (most recent call last): File "main.py", line 572, in
main(cfg)
File "main.py", line 177, in main
torch.cuda.set_device(cfg.device_ids[0])
File "/home/tarun/miniconda3/envs/mdvc/lib/python3.7/site-packages/torch/cuda/init.py", line 281, in set_device
torch._C._cuda_setDevice(device)
File "/home/tarun/miniconda3/envs/mdvc/lib/python3.7/site-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 /opt/conda/conda-bld/pytorch_1565272271120/work/aten/src/THC/THCGeneral.cpp:50