fix(pre_commit): 🎨 auto format pre-commit hooks
This commit is contained in:
1 parent
b4f30b5ad6
commit
9cc6d2d325
3 files changed
+5
-5
No files matched your search
@@ -64,13 +64,13 @@ from supervision.detection.utils import (
|
||||
clip_boxes,
|
||||
contains_holes,
|
||||
contains_multiple_segments,
|
||||
denormalize_boxes,
|
||||
filter_polygons_by_area,
|
||||
mask_iou_batch,
|
||||
mask_to_polygons,
|
||||
mask_to_xyxy,
|
||||
move_boxes,
|
||||
move_masks,
|
||||
denormalize_boxes,
|
||||
oriented_box_iou_batch,
|
||||
pad_boxes,
|
||||
polygon_to_mask,
|
||||
|
||||
@@ -864,10 +864,10 @@ class Detections:
|
||||
|
||||
detections.xyxy
|
||||
# array([[543., 40., 728., 200.], [653., 352., 820., 522.]])
|
||||
|
||||
|
||||
detections.data
|
||||
# {'class_name': array(['cat', 'dog'], dtype='<U26')}
|
||||
""" # noqa: E501 // docs
|
||||
"""
|
||||
|
||||
# filler logic mapping old from_lmm to new from_vlm
|
||||
lmm_to_vlm = {
|
||||
@@ -960,7 +960,7 @@ class Detections:
|
||||
|
||||
detections.xyxy
|
||||
# array([[543., 40., 728., 200.], [653., 352., 820., 522.]])
|
||||
|
||||
|
||||
detections.data
|
||||
# {'class_name': array(['cat', 'dog'], dtype='<U26')}
|
||||
```
|
||||
|
||||
@@ -347,7 +347,7 @@ def from_google_gemini(
|
||||
...
|
||||
]
|
||||
```
|
||||
|
||||
|
||||
For example:
|
||||
```json
|
||||
[
|
||||
|
||||
Reference in new issue
Block a user