snowzach / doods2

API for detecting objects in images and video streams using Tensorflow
MIT License
221 stars 28 forks source link

Pytorch yolov5 model error #93

Closed lucasphass closed 11 months ago

lucasphass commented 11 months ago

It appears that Ultralytics updated their model on GitHub causing an error with this model.

From my logs:

Downloading: "https://github.com/ultralytics/yolov5/zipball/master" to /root/.cache/torch/hub/master.zip 2023-08-08 11:38:29,410 - doods.doods - ERROR - Could not create detector pytorch/yolov5s: No module named 'ultralytics.utils'

Uzibird commented 11 months ago

i have the same problem,

2023-08-12 00:14:28 Using cache found in /root/.cache/torch/hub/ultralytics_yolov5_master 2023-08-12 00:14:32 2023-08-11 16:14:32,639 - doods.doods - ERROR - Could not create detector pytorch/pytorch: No module named 'ultralytics.utils'

snowzach commented 11 months ago

Okay, give it another shot..

lkn94 commented 11 months ago

Downloaded the newest image a few minutes ago and the error is gone. Thank you so much! 👍

lucasphass commented 11 months ago

Awesome. Works for me too. Thanks!

snowzach commented 11 months ago

Great!