generated from roboflow/template-python
-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Search before asking
- I have searched the Supervision issues and found no similar bug report.
Bug
System Info:
tokenizers-0.22.1 transformers-4.57.1
Python 3.12.3
supervision-0.20.0
Reproduction:
I follow model instructions from here
- On running this :
import supervision as sv
detections = sv.Detections.from_vlm(
vlm=sv.VLM.QWEN_2_5_VL,
result=response,
input_wh=input_wh,
resolution_wh=resolution_wh
)
image = annotate_image(image=image, detections=detections)
image.thumbnail((800, 800))
image
- it raise exception:
type object 'Detections' has no attribute 'from_vlm'
Expected behavior
It should have run at the last command
Environment
No response
Minimal Reproducible Example
No response
Additional
No response
Are you willing to submit a PR?
- Yes I'd like to help by submitting a PR!
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working