Solution to above issue!
![[深度学习]OSError: CUDA](https://www.ciyundata.com/zb_users/upload/2024/03/20240313173101171032226160753.jpeg)
(图片来源网络,侵删)
As cuda installed through anaconda is not the entire package. Please install cuda drivers manually from Nvidia Website [ https://developer.nvidia.com/cuda-downloads ]
After installation of drivers, pytorch would be able to access the cuda path. You can test the cuda path using below SAmple code. Problem resoLVed!!!
![[深度学习]OSError: CUDA](https://www.ciyundata.com/zb_users/upload/2024/03/20240313173101171032226162532.jpeg)
(图片来源网络,侵删)
CHECK INSTALLATION:
IMPort os print(os.environ.get('CUDA_PATH'))
OUTPUT:
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1