Error with the sync_with_roboflow #795
-
Hello, I have some problem in these code of autodistill error when I tring to auto labeling the image everving will be fine in the below of the code, this is my flowing code and error picture # Before you run the Python code snippet below, run the following command:
# !pip install roboflow autodistill autodistill_grounding_dino pip install scikit-learn
from autodistill_grounding_dino import GroundingDINO
from autodistill.detection import CaptionOntology
from autodistill.helpers import sync_with_roboflow
BOX_THRESHOLD = 0.25
CAPTION_ONTOLOGY = {
"badminton racket": "racket"
}
TEXT_THRESHOLD = 0.70
model = GroundingDINO(
ontology=CaptionOntology(CAPTION_ONTOLOGY),
box_threshold=BOX_THRESHOLD,
text_threshold=TEXT_THRESHOLD
)
sync_with_roboflow(
workspace_id=,
workspace_url=,
project_id =,
batch_id = ,
model = model
) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, @Teddybiovlsi! 👋🏻 Thanks for letting us know. I already made the fix that will be released soon. For now please use older version of supervision that most likely won't cause problems. |
Beta Was this translation helpful? Give feedback.
Hi, @Teddybiovlsi! 👋🏻 Thanks for letting us know. I already made the fix that will be released soon. For now please use older version of supervision that most likely won't cause problems.
pip install supervision==0.17.1