Autolabelling with Dino doesn't work

Hiiii, I’m trying labelling my tomato dataset with Dino, but when it seems to finish, give this error message:

ValueError Traceback (most recent call last)
in <cell line: 20>()
18 )
—> 20 sync_with_roboflow(
21 workspace_id=“2Dh6Vz45TpNAeuqsQjKNh0tfbgE3”,
22 workspace_url=“tfg-gxk2b”,

4 frames
/usr/local/lib/python3.10/dist-packages/supervision/dataset/formats/ in detections_to_yolo_annotations(detections, image_shape, min_image_area_percentage, max_image_area_percentage, approximation_percentage)
195 ) → List[str]:
196 annotation =
→ 197 for xyxy, mask, _, class_id, _ in detections:
198 if mask is not None:
199 polygons = approximate_mask_with_polygons(

ValueError: too many values to unpack (expected 5)

I don’t know what I’m doing wrong

Hi @Miguel_Vera

That is a change with the latest version of supervision, which we use as a dependency, that seems to cause your issue. Could you try upgrading to the latest version and see if that problem is resolved? (At time of writing, try 0.19.0rc3)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.