fix: 🐞 remove unused class_id references in Detections class from_vlm method
This commit is contained in:
parent
c613005f69
commit
d002b8afbf
|
|
@ -908,7 +908,6 @@ class Detections:
|
|||
'y_max': 0.4961046129465103}]
|
||||
}
|
||||
|
||||
|
||||
detections = sv.Detections.from_vlm(
|
||||
sv.VLM.MOONDREAM,
|
||||
moondream_result,
|
||||
|
|
@ -919,8 +918,6 @@ class Detections:
|
|||
# array([[1752.28, 818.82, 2165.72, 1229.14],
|
||||
# [1908.01, 1346.67, 2585.99, 2024.11]])
|
||||
|
||||
detections.class_id
|
||||
# array([0, 1])
|
||||
"""
|
||||
|
||||
# filler logic mapping old from_lmm to new from_vlm
|
||||
|
|
@ -1054,7 +1051,6 @@ class Detections:
|
|||
'y_max': 0.4961046129465103}]
|
||||
}
|
||||
|
||||
|
||||
detections = sv.Detections.from_vlm(
|
||||
sv.VLM.MOONDREAM,
|
||||
moondream_result,
|
||||
|
|
@ -1065,8 +1061,6 @@ class Detections:
|
|||
# array([[1752.28, 818.82, 2165.72, 1229.14],
|
||||
# [1908.01, 1346.67, 2585.99, 2024.11]])
|
||||
|
||||
detections.class_id
|
||||
# array([0, 1])
|
||||
```
|
||||
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in New Issue