Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[installation details] CUDA_HOME environment variable is not set #3

Closed
DbrRoxane opened this issue Mar 17, 2021 · 1 comment
Closed

Comments

@DbrRoxane
Copy link
Contributor

DbrRoxane commented Mar 17, 2021

Hi,

I followed the instruction in the readme but had this error during the python setup.py install
CUDA_HOME environment variable is not set. Please set it to your CUDA install root.

I solved all those problem but report them in order to propose little changes into the README

I recretated an conda environment and this time downloaded the packages with conda, with
conda install pytorch-gpu=1.3.1 torchvision cudatoolkit=10.0 -c pytorch

Then, I have added the CUDA_HOME environment variable with export CUDA_HOME=/usr/local/cuda-10.1

Training is running now (except that with my NVIDIA GEFORCE RTX 2060 I had to reduce the BS to 8 instead of 16)

Thanks for the great repo!

@cuge1995
Copy link
Owner

Thanks for your interest and contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants