邓志涛
Results
2
comments of
邓志涛
> 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 请问两位大哥,这个错误是为啥呢? 可能因为keypoint_for_all是空的,可以看看前面特征提取的地方,在最后的return那加上dtype=object
> setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (11,) + inhomogeneous part.报这个错误该怎么处理 我之前好像也是这个报错,试一试改成np.array(keypoint_allimage,dtype=object)这种形式看看