Closed grassjelly closed 7 months ago
Just checked the code, should this line https://github.com/mikel-brostrom/yolo_tracking/blob/master/boxmot/trackers/deepocsort/deep_ocsort.py#L466 be using run_asso_func to prevent this from breaking similar to this https://github.com/mikel-brostrom/yolo_tracking/blob/master/boxmot/utils/association.py#L146 call?
something like:
iou_left = run_asso_func(self.asso_func, left_dets, left_trks, img.shape[1], img.shape[0])
@grassjelly can i ask you when i use this cmd line : python tracking/track.py --tracking-method deepocsort I changed the parameter value, like min_hit, from 1 to 3 in the file deepocsort.yaml, but it doesn't seem to consider it. It's like I didn't change anything. Any help?
👋 Hello, this issue has been automatically marked as stale because it has not had recent activity. Please note it will be closed if no further activity occurs. Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!
Search before asking
Yolo Tracking Component
Tracking
Bug
I'm using DeepOCSort as a tracker with an external object detector. The tracking works for a few seconds but hits an error after a while. I think it's when no objects are detected on the frame.
Error: File "/usr/local/lib/python3.8/dist-packages/boxmot/trackers/deepocsort/deep_ocsort.py", line 462, in update object-tracker | [tracked_bbox_publisher.py-1] iou_left = self.asso_func(left_dets, left_trks) object-tracker | [tracked_bbox_publisher.py-1] TypeError: centroid_batch() missing 2 required positional arguments: 'w' and 'h
Environment
Minimal Reproducible Example
This is my update function
and here's my config: