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
I have searched the Yolo Tracking issues and discussions and found no similar questions.
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
Yolo Tracking v 10.0.52
Minimal Reproducible Example
This is my update function
def update(self, detections, img) :
tracked_objects = []
if len(detections) == 0:
detections = np.empty((0, 6))
else:
detections = np.array(detections)
tracks = self._tracker.update(detections, img)
if tracks.shape[0] != 0:
xyxys = tracks[:, 0:4].astype('int') # float64 to int
ids = tracks[:, 4].astype('int') # float64 to int
confs = tracks[:, 5]
clss = tracks[:, 6].astype('int') # float64 to int
for xyxy, id, conf, cls in zip(xyxys, ids, confs, clss):
tracked_objects.append([
xyxy[0],
xyxy[1],
xyxy[2],
xyxy[3],
id,
cls,
conf
])
return tracked_objects
@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:
The text was updated successfully, but these errors were encountered: