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

cuda #117

Open
Ch180907 opened this issue Apr 18, 2023 · 1 comment
Open

cuda #117

Ch180907 opened this issue Apr 18, 2023 · 1 comment

Comments

@Ch180907
Copy link

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?

@Demonss3
Copy link

Demonss3 commented Jun 1, 2023

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

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