Traceback (most recent call last):
File "c:\Users\74773\Desktop\Sfm-python-master\Sfm-python-master\revise_v2.py", line 329, in
main()
File "c:\Users\74773\Desktop\Sfm-python-master\Sfm-python-master\revise_v2.py", line 286, in main
key_points_for_all, descriptor_for_all, colors_for_all = extract_features(img_names)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\74773\Desktop\Sfm-python-master\Sfm-python-master\revise_v2.py", line 46, in extract_features
return np.array(key_points_for_all), np.array(descriptor_for_all), np.array(colors_for_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (14,) + inhomogeneous part.
Traceback (most recent call last): File "c:\Users\74773\Desktop\Sfm-python-master\Sfm-python-master\revise_v2.py", line 329, in
main()
File "c:\Users\74773\Desktop\Sfm-python-master\Sfm-python-master\revise_v2.py", line 286, in main
key_points_for_all, descriptor_for_all, colors_for_all = extract_features(img_names)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\74773\Desktop\Sfm-python-master\Sfm-python-master\revise_v2.py", line 46, in extract_features
return np.array(key_points_for_all), np.array(descriptor_for_all), np.array(colors_for_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (14,) + inhomogeneous part.