ultralytics 8.2.74 add fuse_score=True BoT-SORT and ByteTrack arg (#14965)
Co-authored-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
8771f923c0
commit
9f59331854
6 changed files with 8 additions and 9 deletions
|
|
@ -179,9 +179,8 @@ class BOTSORT(BYTETracker):
|
|||
dists = matching.iou_distance(tracks, detections)
|
||||
dists_mask = dists > self.proximity_thresh
|
||||
|
||||
# TODO: mot20
|
||||
# if not self.args.mot20:
|
||||
dists = matching.fuse_score(dists, detections)
|
||||
if self.args.fuse_score:
|
||||
dists = matching.fuse_score(dists, detections)
|
||||
|
||||
if self.args.with_reid and self.encoder is not None:
|
||||
emb_dists = matching.embedding_distance(tracks, detections) / 2.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue