-
Notifications
You must be signed in to change notification settings - Fork 104
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
Undefined 'disps' #29
Comments
The depths/disps bug is fixed in #30. |
I met the same question when training, and the error message is: update: seems like it happens when sampled points' weights along a ray all equal to zero. just use .entropy as a function rather than through Categorical.entropy |
I find weights. sum (-1, keepdim=True)>=1 caused the entropy() to fail.just normalize the weights could solve the problem. |
HashNeRF-pytorch/run_nerf.py
Lines 200 to 207 in 085ae25
Variable
disps
is undefined here, do you meandepths
? I tried to replacedisps
withdepths
and runpython run_nerf.py --config configs/chair.txt --finest_res 512 --log2_hashmap_size 19 --lrate 0.01 --lrate_decay 10
, but got exception at the entropy calculation:HashNeRF-pytorch/run_nerf.py
Lines 372 to 375 in 085ae25
Any ideas on this issue? Thanks in advance.
The text was updated successfully, but these errors were encountered: