Horje
cuda_home environment variable is not set. please set it to your cuda install root. Code Example
cuda_home environment variable is not set. please set it to your cuda install root.
Solution to above issue!

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!!!

CHECK INSTALLATION:

import os
print(os.environ.get('CUDA_PATH'))
OUTPUT:

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1




Shell

Related
voice recorder for ubuntu Code Example voice recorder for ubuntu Code Example
how to activate utf16 in powershell Code Example how to activate utf16 in powershell Code Example
restart server centos Code Example restart server centos Code Example
voice recorder for ubuntu 20.04 Code Example voice recorder for ubuntu 20.04 Code Example
delete ip by ufw Code Example delete ip by ufw Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
13