Negative frame index/name
panji530 opened this issue · 3 comments
panji530 commented
Hi,
Trying to test the multi-view model via
python test_MaGNet.py ./test_scripts/magnet/scannet.txt
but, got FileNotFoundError due to negative image index/name (-15.jpg).
Anyone got the same error?
Btw, monocular model (python test_DNet.py ./test_scripts/dnet/scannet.txt
) works fine.
baegwangbin commented
Hi,
In data/dataloader_scannet.py
, there is a code that replaces the image that does not exist.
if os.path.exists(scene_dir + '/color/{}.jpg'.format(img_idx + i)):
img_idx_list.append(img_idx + i)
else:
img_idx_list.append(img_idx - i - np.sign(i) * int(self.frame_interval * 0.5))
May I ask if you changed any of the hyperparameters?
panji530 commented
No, I used the default hyper-parameters.
baegwangbin commented
I am sorry for the delayed response. I tested the same code, but it does not give me an error. Does the error happen for all the scenes? or does it happen for a particular scene?