RuntimeError: shape '[60, 60, -1]' is invalid for input of size 3072 in llff dataset
Zzzhewang opened this issue · 2 comments
Zzzhewang commented
Hi cassie,
thank you so much for your amazing works! i have encountered some problems when running the llff data set. It said that RuntimeError: shape '[60, 60, -1]' is invalid for input of size 3072. how can i fix this problem? Look forward for your replying. thanks again!
Traceback (most recent call last):
File "run_nerf_clip.py", line 885, in
train()
File "run_nerf_clip.py", line 805, in train
rgb_img = rgb.view(sample_scale, sample_scale, -1)
RuntimeError: shape '[60, 60, -1]' is invalid for input of size 3072
HannahHaensen commented
@Zzzhewang were you able to fix this`? i faced the same problem
cassiePython commented
You should change the number of sampled rays to patch-size * patch-size.