Megadepth image can not be read #124
Answered
by
HUSTNO1WXY
HUSTNO1WXY
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
HUSTNO1WXY
Dec 12, 2021
Replies: 1 comment 4 replies
-
Path in Scannet is |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
HUSTNO1WXY
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Path in Scannet is
img_name0 = osp.join(self.root_dir, scene_name, 'color', f'{stem_name_0}.jpg')
, while path in Megadepth isimg_name0 = osp.join(self.root_dir, self.scene_info['image_paths'][idx0])
. So, the second code will cause path in Megadepth become ''data/megadepth/test\Undistorted_SfM/0022/images/2541218468_a70d8e4860_o.jpg", which is different from Scannet path 'data/scannet/test\scene0707_00\color\45.jpg'