nerfstudio-project / nerfacc

A General NeRF Acceleration Toolbox in PyTorch.
https://www.nerfacc.com/
Other
1.37k stars 113 forks source link

Error: No module named 'tinycudann'! #157

Closed sunrainyg closed 1 year ago

sunrainyg commented 1 year ago

After installing the torch (1.10.0) and cudatoolkit (10.2) and running the pip install nerfadc when I run python examples/train_ngp_nerf.py --train_split train --scene lego I will have the error: Error: No module named 'tinycudann'! Please install tinycudann by: pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch And I try to install the tinycudann, but I will get another error of installation failure.

Also, I have tried another way of installation: pip install git+https://github.com/KAIR-BAIR/nerfacc.git . I will get the error of CUDA build

Can you help me with the problem I met?

liruilong940607 commented 1 year ago

The fact that you are not able to install both tiny-cuda-nn and our repo, makes me suspect that you might have incompatible torch v.s. cuda installed?

PJunGH commented 1 year ago

@sunrainyg I encountered the same problem as you. I will appreciate it if you tell me how to solve it.