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 reported error message looks like this:
video 1/1 (12/60) E:\BOXMOT\test3new.mp4: 384x640 6 cars, 92.3ms
video 1/1 (13/60) E:\BOXMOT\test3new.mp4: 384x640 6 cars, 79.7ms
Traceback (most recent call last):
File "E:\BOXMOT\yolo_tracking\tracking\track.py", line 186, in
run(opt)
File "C:\Users\XX\AppData\Local\pypoetry\Cache\virtualenvs\boxmot-1eq7kgXR-py3.10\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "E:\BOXMOT\yolo_tracking\tracking\track.py", line 102, in run
for r in results:
File "C:\Users\XX\AppData\Local\pypoetry\Cache\virtualenvs\boxmot-1eq7kgXR-py3.10\lib\site-packages\torch\utils_contextlib.py", line 56, in generator_context
response = gen.send(request)
File "C:\Users\XX\AppData\Local\pypoetry\Cache\virtualenvs\boxmot-1eq7kgXR-py3.10\lib\site-packages\ultralytics\engine\predictor.py", line 274, in stream_inference self.run_callbacks('on_predict_postprocess_end')
File "C:\Users\XX\AppData\Local\pypoetry\Cache\virtualenvs\boxmot-1eq7kgXR-py3.10\lib\site-packages\ultralytics\engine\predictor.py", line 377, in run_callbacks
callback(self)
File "C:\Users\XX\AppData\Local\pypoetry\Cache\virtualenvs\boxmot-1eq7kgXR-py3.10\lib\site-packages\ultralytics\trackers\track.py", line 64, in on_predict_postprocess_end
predictor.results[i] = predictor.results[i][idx]
File "C:\Users\XX\AppData\Local\pypoetry\Cache\virtualenvs\boxmot-1eq7kgXR-py3.10\lib\site-packages\ultralytics\engine\results.py", line 108, in getitem
return self._apply('getitem', idx)
File "C:\Users\XX\AppData\Local\pypoetry\Cache\virtualenvs\boxmot-1eq7kgXR-py3.10\lib\site-packages\ultralytics\engine\results.py", line 143, in _apply
setattr(r, k, getattr(v, fn)(*args, **kwargs))
File "C:\Users\XX\AppData\Local\pypoetry\Cache\virtualenvs\boxmot-1eq7kgXR-py3.10\lib\site-packages\ultralytics\engine\results.py", line 63, in getitem
return self.class(self.data[idx], self.orig_shape)
IndexError: index 2 is out of bounds for dimension 0 with size 2
I used a short video with only 60 frames and it ran to frame 13 and stopped, the frames before that could be run. Is there any way to fix this? Thanks
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The reported error message looks like this:
video 1/1 (12/60) E:\BOXMOT\test3new.mp4: 384x640 6 cars, 92.3ms
video 1/1 (13/60) E:\BOXMOT\test3new.mp4: 384x640 6 cars, 79.7ms
Traceback (most recent call last):
File "E:\BOXMOT\yolo_tracking\tracking\track.py", line 186, in
run(opt)
File "C:\Users\XX\AppData\Local\pypoetry\Cache\virtualenvs\boxmot-1eq7kgXR-py3.10\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "E:\BOXMOT\yolo_tracking\tracking\track.py", line 102, in run
for r in results:
File "C:\Users\XX\AppData\Local\pypoetry\Cache\virtualenvs\boxmot-1eq7kgXR-py3.10\lib\site-packages\torch\utils_contextlib.py", line 56, in generator_context
response = gen.send(request)
File "C:\Users\XX\AppData\Local\pypoetry\Cache\virtualenvs\boxmot-1eq7kgXR-py3.10\lib\site-packages\ultralytics\engine\predictor.py", line 274, in stream_inference self.run_callbacks('on_predict_postprocess_end')
File "C:\Users\XX\AppData\Local\pypoetry\Cache\virtualenvs\boxmot-1eq7kgXR-py3.10\lib\site-packages\ultralytics\engine\predictor.py", line 377, in run_callbacks
callback(self)
File "C:\Users\XX\AppData\Local\pypoetry\Cache\virtualenvs\boxmot-1eq7kgXR-py3.10\lib\site-packages\ultralytics\trackers\track.py", line 64, in on_predict_postprocess_end
predictor.results[i] = predictor.results[i][idx]
File "C:\Users\XX\AppData\Local\pypoetry\Cache\virtualenvs\boxmot-1eq7kgXR-py3.10\lib\site-packages\ultralytics\engine\results.py", line 108, in getitem
return self._apply('getitem', idx)
File "C:\Users\XX\AppData\Local\pypoetry\Cache\virtualenvs\boxmot-1eq7kgXR-py3.10\lib\site-packages\ultralytics\engine\results.py", line 143, in _apply
setattr(r, k, getattr(v, fn)(*args, **kwargs))
File "C:\Users\XX\AppData\Local\pypoetry\Cache\virtualenvs\boxmot-1eq7kgXR-py3.10\lib\site-packages\ultralytics\engine\results.py", line 63, in getitem
return self.class(self.data[idx], self.orig_shape)
IndexError: index 2 is out of bounds for dimension 0 with size 2
I used a short video with only 60 frames and it ran to frame 13 and stopped, the frames before that could be run. Is there any way to fix this? Thanks
Beta Was this translation helpful? Give feedback.
All reactions