Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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 FilesNVIDIA GPU Computing ToolkitCUDAv10.1
Comment

PREVIOUS NEXT
Code Example
Shell :: ubuntu sudo no password 
Shell :: vokoscreen ubuntu 
Shell :: bash script check if enough available disk space 
Shell :: how to update all packages debian 
Shell :: port 5000 already in use 
Shell :: get gpu device name 
Shell :: bash grep only return first match 
Shell :: why is merge removing gitingore 
Shell :: git log by date 
Shell :: centos php install 
Shell :: how do you stop your ngrok tunnel 
Shell :: grep remove branches 
Shell :: what process consuming RAM 
Shell :: upload sql database in devilbox 
Shell :: get files in directory bash 
Shell :: git ignore remove 
Shell :: set selinux ubuntu 
Shell :: update gnome shell 
Shell :: nano zsh 
Shell :: rm hidden files linux 
Shell :: how to install pyqt5 
Shell :: git push to all remotes 
Shell :: linux microphone noise reduction 
Shell :: ubuntu create archive split 
Shell :: git diff with vimdiff 
Shell :: restart docker daemon windows 
Shell :: ng g c --skipTests true 
Shell :: evillimiter: command not found 
Shell :: uninstall gns3 ubuntu 
Shell :: uninstall openshot linux 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =