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
CUDA_HOME environment variable is not set #13
Comments
What happens when you type "nvcc" into the command line? Or "nvidia-smi"? This might help facebookresearch/pytorch3d#517 |
When I type nvcc, it gives an error "The term 'nvcc' is not recognized". |
I also tried to follow the link you shared but it wants me to set CUDE_HOME variable in system variable but it wants it set to a path that I seem not to have. |
That may be the problem. You are missing the CUDA toolkit. This happens when you either don't have the it installed or you don't have NVIDIA GPU (e.g. Mac does not have one and therefore you will get this error) |
Fortunately I have an NVIDIA GPU in my computer. I could try to install the toolkit but I removed the underscores in the code and it went a lot farther this time. I got to a point where it was downloading things it needed and then it even attempted to run the training process but then this error came up:
Would this error be because of the missing tool kit still? |
I think that removing the underscore wont fix your issue. The issue is still the same:
If you try running:
It should throw out |
I suspect that what I changed is still good since even if I had got the CUDA issue solved, those would still pop up. But maybe not. Also where do I find the tool kit and the correct version? And is there any special things I have to do to install it or does it come with an installer? |
Also where do I find the tool kit and the correct version? And is there any special things I have to do to install it or does it come with an installer? |
it is available on NVIDIA website, CUDA Toolkit https://developer.nvidia.com/cuda-downloads |
So no that didn't fix it. I think I will just wait till someone makes a more accessible version or someone makes a website to run it in, even a google colabs project would work! |
Hello, I think I have the same issue.
returns True. Homework I did: I can find this:
and this is how it's set? But will this point to the correct thing? Seems to be a strangely common thing with these kinds of topics. Ok, so the error is cause by gridencoder not being there and that's not being built because |
Hi,
When I try running this from the readme usage section:
python main.py --text "a hamburger" --workspace trial -O
I get this error:
OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root.
What should I do about this?
Here is the full error:
The text was updated successfully, but these errors were encountered: