yenchenlin / nerf-pytorch

A PyTorch implementation of NeRF (Neural Radiance Fields) that reproduces the results.
MIT License
5.33k stars 1.04k forks source link

cuda #117

Open Ch180907 opened 1 year ago

Ch180907 commented 1 year ago

when I ran the project,encounter the following problems Traceback (most recent call last): File "E:\Apps dates\pythonProject\NERF\nerf-pytorch-master\run_nerf.py", line 876, in torch.set_default_tensor_type('torch.cuda.FloatTensor') File "D:\Apps\python\python3.11.1\Lib\site-packages\torch__init__.py", line 606, in set_default_tensor_type _C._set_default_tensor_type(t) TypeError: type torch.cuda.FloatTensor not available. Torch not compiled with CUDA enabled. How can I solve it?

Codey-Chang commented 1 year ago

This indicates that your gpu version of pytorch was not installed successfully