-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'DeepOCSort' object has no attribute 'reset' #1263
Comments
You cannot be running whatever version of Ultralytics you please. You need to use the exact one required by this repo. Luckily this can be fixed in an easy way. First
then just run |
thank you for the reply, but I'm getting below error could you please suggest me a way to include both camera feed and assign the same id for the object when it passing through theses camera frames thank you in advance!! |
Feel free to start another thread for a different topic |
when i run track.py |
This: #1263 (comment) is all you need @yonadance. Don't interrupt the installation |
I am runing in a server with no camera. While running track.py,it has a error : |
Search before asking
Question
File "/home/advik/Desktop/Yolov5_StrongSORT_OSNet/examples/track.py", line 197, in
run(opt)
File "/home/advik/.local/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/home/advik/Desktop/Yolov5_StrongSORT_OSNet/examples/track.py", line 103, in run
for frame_idx, r in enumerate(results):
File "/home/advik/.local/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 35, in generator_context
response = gen.send(None)
File "/home/advik/.local/lib/python3.10/site-packages/ultralytics/engine/predictor.py", line 292, in stream_inference
self.run_callbacks("on_predict_postprocess_end")
File "/home/advik/.local/lib/python3.10/site-packages/ultralytics/engine/predictor.py", line 401, in run_callbacks
callback(self)
File "/home/advik/.local/lib/python3.10/site-packages/ultralytics/trackers/track.py", line 59, in on_predict_postprocess_end
predictor.trackers[i].reset()
AttributeError: 'DeepOCSort' object has no attribute 'reset'
terminate called without an active exception
Aborted (core dumped)
The text was updated successfully, but these errors were encountered: