Skip to content

Commit

Permalink
Fix ultralytics extract track IDs (#4720) (#4722)
Browse files Browse the repository at this point in the history
Co-authored-by: Stuart <[email protected]>
  • Loading branch information
voxel51-bot and swheaton authored Aug 24, 2024
1 parent b19a544 commit 76cdadf
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 76cdadf

Please sign in to comment.