# Autodistill disconnects when data has been tagged

**URL:** <https://discuss.roboflow.com/t/autodistill-disconnects-when-data-has-been-tagged/4416>\
**Category:** 🤝  Community Help\
**Created:** [February 8, 2024, 2:26pm UTC](https://discuss.roboflow.com/t/autodistill-disconnects-when-data-has-been-tagged/4416 "2024-02-08T14:26:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![svarm](https://avatars.discourse-cdn.com/v4/letter/s/7feea3/32.png) [@svarm](https://discuss.roboflow.com/u/svarm)\
**Post date:** [February 8, 2024, 2:26pm UTC](https://discuss.roboflow.com/t/autodistill-disconnects-when-data-has-been-tagged/4416/1 "2024-02-08T14:26:32Z")

</div>

trying to load grounding dino directly  
final text\_encoder\_type: bert-base-uncased  
You are already logged into Roboflow. To make a different login,run roboflow.login(force=True).  
loading Roboflow workspace…  
loading Roboflow project…

Labeling /content/svarm/mexican-license-plate/6Ys9n8lUQ0MyD7TUtjid/images/AIsnyPIdPLO5Y8XxTjii.jpg: 0%| | 0/356 [00:00\<?, ?it/s]The `device` argument is deprecated and will be removed in v5 of Transformers.  
torch.utils.checkpoint: please pass in use\_reentrant=True or use\_reentrant=False explicitly. The default value of use\_reentrant will be updated to be False in the future. To maintain current behavior, pass use\_reentrant=True. It is recommended that you use use\_reentrant=False. Refer to docs for more details on the differences between the two variants.  
None of the inputs have requires\_grad=True. Gradients will be None  
Labeling /content/svarm/mexican-license-plate/6Ys9n8lUQ0MyD7TUtjid/images/WnBhdkRrT5Mi2NxY7wqh.jpg: 100%|██████████| 356/356 [03:03\<00:00, 1.94it/s]

* * *

ValueError Traceback (most recent call last)

in \<cell line: 20\>()  
18 )  
19  
—\> 20 sync\_with\_roboflow(  
21 workspace\_id=“PMv83LcAHvgRt1pnKD1affxD0Ua2”,  
22 workspace\_url=“svarm”,

4 frames

/usr/local/lib/python3.10/dist-packages/supervision/dataset/formats/yolo.py 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)

---

<div class="post-metadata">

**Author:** ![Lenny](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/lenny/32/2383_2.png) [@Lenny](https://discuss.roboflow.com/u/Lenny)\
**Post date:** [February 8, 2024, 2:28pm UTC](https://discuss.roboflow.com/t/autodistill-disconnects-when-data-has-been-tagged/4416/2 "2024-02-08T14:28:57Z")

</div>

Based on the information provided in the extracts, it seems like you’re trying to load a model using the Grounding DINO prompt comparison example. However, the error message you’re encountering suggests that there might be an issue with the way you’re unpacking values in your code.

Unfortunately, the extracts provided do not contain specific information on how to resolve this error. It’s recommended to check the official documentation or the source code of the function you’re using to ensure you’re correctly unpacking the values.

For more detailed guidance, you might want to refer to the Roboflow API documentation [here](https://docs.roboflow.com/rest-api?ref=blog.roboflow.com) or the Grounding DINO example provided [here](https://blog.roboflow.com/compare-zero-shot-model-prompts#step-3-run-the-comparison).

Please note that this advice is based on the information available in the extracts and might not fully solve your issue. If the problem persists, consider reaching out to the Roboflow community or support for more specific assistance.

* * *

> Hi! I’m Roboflow’s AI powered bot. This is an automated response powered using AI with knowledge from our docs, blog, and forum. If this solves your issue, please mark it as the solution using the checkbox icon. **If this doesn’t solve your issue, please follow up with what you’ve tried/why, and the community will continue to chime in as usual.**

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/1X/bb6edbfa56d0cf2ee603f061e9e09103502cc8cc.png) [@system](https://discuss.roboflow.com/u/system)\
**Post date:** [February 29, 2024, 2:29pm UTC](https://discuss.roboflow.com/t/autodistill-disconnects-when-data-has-been-tagged/4416/3 "2024-02-29T14:29:32Z")

</div>

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