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
The are 2 statements calling results.append(track_res). The first one always appends a list with length 6, but the last one is 1036, which will make np.array(results) fail:
Traceback (most recent call last):
File "/home/chuanwise/develop/projects/VidVRD-tracklets/deepSORT/deepSORT_tracking_v2.py", line 94, in <module>
run(
File "/home/chuanwise/develop/projects/VidVRD-tracklets/deepSORT/deep_sort_app_v2.py", line 244, in run
visualizer.run(frame_callback)
File "/home/chuanwise/develop/projects/VidVRD-tracklets/deepSORT/application_util/visualization.py", line 80, in run
frame_callback(self, self.frame_idx)
File "/home/chuanwise/develop/projects/VidVRD-tracklets/deepSORT/deep_sort_app_v2.py", line 185, in frame_callback
Traceback (most recent call last):
File "/home/chuanwise/develop/projects/VidVRD-tracklets/deepSORT/deepSORT_tracking_v2.py", line 94, in <module>
run(
File "/home/chuanwise/develop/projects/VidVRD-tracklets/deepSORT/deep_sort_app_v2.py", line 254, in run
res = np.array(results)
^^^^^^^^^^^^^^^^^
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (389,) + inhomogeneous part.
The text was updated successfully, but these errors were encountered:
Near the line 251 of
deepSORT/deep_sort_app_v2.py
:The are 2 statements calling
results.append(track_res)
. The first one always appends a list with length6
, but the last one is1036
, which will makenp.array(results)
fail:The text was updated successfully, but these errors were encountered: