Sfm-python icon indicating copy to clipboard operation
Sfm-python copied to clipboard

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

Open lss1008 opened this issue 4 years ago • 6 comments

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

lss1008 avatar May 13 '21 08:05 lss1008

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

rebecca0011 avatar May 18 '21 09:05 rebecca0011

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

没有,我也不太会,抱歉

lss1008 avatar May 25 '21 06:05 lss1008

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

zhangwei19980131 avatar Aug 20 '21 00:08 zhangwei19980131

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

catmasteryip avatar Oct 21 '21 10:10 catmasteryip

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

Alongmini avatar Mar 28 '22 10:03 Alongmini

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

pyre001 avatar Jun 18 '24 10:06 pyre001