diff --git a/fiftyone/utils/torch.py b/fiftyone/utils/torch.py index 71e3667fd75..de906b01c2b 100644 --- a/fiftyone/utils/torch.py +++ b/fiftyone/utils/torch.py @@ -1590,7 +1590,7 @@ def _parse_output(self, output, frame_size, confidence_thresh): # Not visible points.append((float("nan"), float("nan"))) else: - points.append((p[0] / width, p[1] / height)) + points.append((float(p[0] / width), float(p[1] / height))) _detections.append( fol.Detection(