fix: 🐞 update Detections class to remove class_id return from from_moondream function
This commit is contained in:
parent
99415f1da1
commit
c613005f69
|
|
@ -1101,8 +1101,8 @@ class Detections:
|
|||
return cls(xyxy=xyxy, data=data)
|
||||
|
||||
if vlm == VLM.MOONDREAM:
|
||||
xyxy, class_id = from_moondream(result, **kwargs)
|
||||
return cls(xyxy=xyxy, class_id=class_id)
|
||||
xyxy = from_moondream(result, **kwargs)
|
||||
return cls(xyxy=xyxy)
|
||||
|
||||
return cls.empty()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue