CLIPNeRF icon indicating copy to clipboard operation
CLIPNeRF copied to clipboard

RuntimeError: shape '[60, 60, -1]' is invalid for input of size 3072 in llff dataset

Open Zzzhewang opened this issue 2 years ago • 2 comments

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

Zzzhewang avatar Sep 29 '22 03:09 Zzzhewang

@Zzzhewang were you able to fix this`? i faced the same problem

HannahHaensen avatar Oct 24 '22 09:10 HannahHaensen

You should change the number of sampled rays to patch-size * patch-size.

cassiePython avatar Nov 13 '22 06:11 cassiePython