Hi, I am studying NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis, and I found a very useful Pytorch implementation(https://github.com/krrish94/nerf-pytorch 1) on Github. I encountered a problem when running the full code version(https://colab.research.google.com/drive/1L6QExI2lw5xhJ-MLlIwpbgf7rxW7fcz3 4) of NeRF on Google Colab, all the cells are working fine except for the last cell(below Run training / validation cell).
I got the following error at line 113:
RuntimeError: mat1 dim 1 must match mat2 dim 0
It seems like the source code is missing two arguments in nerf_forward_pass function, the nerf_forward_pass function has 19 arguments and it inputs only 17, but I still got the same error after adding the two missing arguments. How do I solve this problem?
I would be glad if you can provide guidelines or solutions.