While looking at the NeRF code in run_nerf_helpers.py, I had a question about skips=[4].
Below is the network architecture in the NeRF paper and the code of run_nerf_helpers.py lines 79~80.
NeRF architecture
Code
self.pts_linears = nn.ModuleList(
[nn.Linear(input_ch, W)] + [nn.Linear(W, W) if i not in self.skips else nn.Linear(W + input_ch, W) for i in range(D-1)])
As you can see in the architecture, skip occurs at the 5th layer, and according to the code, skip occurs at the 6th layer.
If there is a special reason for this, or if there is something I am missing, please let me know.
Hi.
While looking at the NeRF code in
run_nerf_helpers.py
, I had a question about skips=[4].Below is the network architecture in the NeRF paper and the code of
run_nerf_helpers.py
lines 79~80.NeRF architecture
Code
As you can see in the architecture, skip occurs at the 5th layer, and according to the code, skip occurs at the 6th layer.
If there is a special reason for this, or if there is something I am missing, please let me know.
Thanks