gafniguy / 4D-Facial-Avatars

Dynamic Neural Radiance Fields for Monocular 4D Facial Avater Reconstruction
679 stars 67 forks source link

index out of bounds #44

Closed JZArray closed 2 years ago

JZArray commented 2 years ago

After successfully training, there is an error during evaluation:

File "eval_transformedrays.py", line 433, in main , ray_directions_ablation = get_ray_bundle(hwf[0], hwf[1], hwf[2], render_poses[240+i][:3, :4]) IndexError: index 1000 is out of bounds for dimension 0 with size 1000

Do you have the idea how to fix this?

Thanks in advance!

gafniguy commented 2 years ago

Remove anything with 'ablation' in it from the code