Skip to content

Commit

Permalink
Fix ultralytics extract track IDs (#4720)
Browse files Browse the repository at this point in the history
  • Loading branch information
swheaton authored Aug 23, 2024
1 parent e21f1ba commit 2deee54
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 2deee54

Please sign in to comment.