Skip to content

Commit

Permalink
Fix ultralytics extract track IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
swheaton authored Aug 23, 2024
1 parent e21f1ba commit d63f9dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fiftyone/utils/ultralytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def _extract_track_ids(result):
return (
result.boxes.id.detach().cpu().numpy().astype(int)
if result.boxes.is_track
else [None] * len(result.boxes.conf.size(0))
else [None] * result.boxes.conf.size(0)
)


Expand Down

0 comments on commit d63f9dc

Please sign in to comment.