fix(pre_commit): 🎨 auto format pre-commit hooks

This commit is contained in:
pre-commit-ci[bot] 2024-06-05 17:31:08 +00:00
parent 29161a485e
commit fc2710c9c9
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ def yolo_annotations_to_detections(
relative_xyxy.append(polygon_to_xyxy(polygon=polygon))
if with_masks:
relative_polygon.append(polygon)
class_id = np.array(class_id, dtype=int)
relative_xyxy = np.array(relative_xyxy, dtype=np.float32)
relative_xyxyxyxy = np.array(relative_xyxyxyxy, dtype=np.float32)