You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ValueError Traceback (most recent call last)
in ()
5 print("Calculating features for category", c)
6 image_names =os.listdir(c)
----> 7 kp_vector, des_vector = calcVectors(image_names,c)
8 # print(des_vector)
9 # defining category with the lowest number of keypoints
ValueError Traceback (most recent call last)
in ()
5 print("Calculating features for category", c)
6 image_names =os.listdir(c)
----> 7 kp_vector, des_vector = calcVectors(image_names,c)
8 # print(des_vector)
9 # defining category with the lowest number of keypoints
in calcVectors(img_list, c)
18
19 kp_vector = np.append(kp_vector, kp_i, axis=0)
---> 20 des_vector = np.append(des_vector, des_i, axis=0)
21 curr_n += 1
22 print("Image", curr_n, "of", max_n)
~\Anaconda3\lib\site-packages\numpy\lib\function_base.py in append(arr, values, axis)
5150 values = ravel(values)
5151 axis = arr.ndim-1
-> 5152 return concatenate((arr, values), axis=axis)
ValueError: all the input arrays must have same number of dimensions
The text was updated successfully, but these errors were encountered: