adnappp / Sfm-python

三维重建算法Structure from Motion(Sfm)的python实现
212 stars 67 forks source link

line 102, in init_structure p1, p2 = get_matched_points(key_points_for_all[0], key_points_for_all[1], matches_for_all[0]) IndexError: index 0 is out of bounds for axis 0 with size 0 #3

Open lss1008 opened 3 years ago

lss1008 commented 3 years ago

请问为什么报这个错误呢?有大佬回答一下吗?谢谢~

rebecca0011 commented 3 years ago

我也报这个错,请问您解决了吗?

lss1008 commented 3 years ago

我也报这个错,请问您解决了吗?

没有,我也不太会,抱歉

zhangwei19980131 commented 3 years ago

这个问题似乎是路径设置的问题,在config.py里面 img_dir里 路径的最后加上 // 可以试一下。

catmasteryip commented 2 years ago

this problem comes from no key point because sift function run failed, you need to change sift function in the scripts.

Alongmini commented 2 years ago

你的图片路径里面不要出现汉语就可以

pyre001 commented 2 months ago

图片集路径不正确,注意路径最后有/