IndexError: list index out of range
Closed this issue · 1 comments
rr2203 commented
Hi Harry, thanks a lot for sharing your work!
I am new to NERF and I was trying to replicate your results using the pre-rendered Replica data, but I'm getting the following error:
"semantic = cv2.imread(self.semantic_list[idx], cv2.IMREAD_UNCHANGED)
IndexError: list index out of range"
The reason I could figure out was that the files in semantic_class folder do not have 900 samples starting with "semantic_class_" which was used for searching in the code (after about 100 files, the filename changes to vis_sem_).
Could you help me figure out why that is the case?
I'm using the following command to train on just room 0 sequence 1 set as PATHtoRENDERED_REPLICA_DATA:
!python3 train_SSR_main.py --config_file /content/drive/MyDrive/semantic_nerf/SSR/configs/SSR_room0_config.yaml --sparse_views --sparse_ratio 0.6
rr2203 commented
Resolved.