Fictionarry/ER-NeRF

RuntimeWarning: invalid value encountered in cast pred_depth = (pred_depth * 255).astype(np.uint8)

Opened this issue · 1 comments

==> Start Test, save results to trial_Amy_torso/results
0% 0/381 [00:00<?, ?it/s]/home/yyds/xnr/ER-NeRF/nerf_triplane/utils.py:1037: RuntimeWarning: invalid value encountered in cast
pred_depth = (pred_depth * 255).astype(np.uint8)
0% 1/381 [00:00<02:26, 2.59it/s]/home/yyds/xnr/ER-NeRF/nerf_triplane/utils.py:1034: RuntimeWarning: invalid value encountered in cast
pred = (pred * 255).astype(np.uint8)
99% 377/381 [00:07<00:00, 47.02it/s]==> Finished Test.
100% 381/381 [00:08<00:00, 44.38it/s]

Test finished, but got shaded video output. Any help appreciated!

i got the same problem. Have you fixed that?