depthai-experiments icon indicating copy to clipboard operation
depthai-experiments copied to clipboard

Yolo v5 - on device decoding main.py not properly working.

Open schreiterjp opened this issue 2 years ago • 2 comments

Hi guys,

i am trying to get a yolo v5 running on my oak 1. Followed your tutorial on how to train my own model and convert it to a blob file. The provided script /gen2-yolo/device-decoding/main.py isn't working properly with the following error for the line nm.draw(py, nnData): TypeError: draw() takes 2 positional arguments but 3 were given. Whereas the other provided script main_api.py works with my trained model.

thanks for any advice to get it also running with the sdk.

schreiterjp avatar Jun 29 '22 14:06 schreiterjp

Sorry about the trouble. Asking the team and will circle back.

Luxonis-Brandon avatar Jun 29 '22 20:06 Luxonis-Brandon

Hi @schreiterjp, could you try using SDK version 1.1.8. I think draw method got updated in the latest one 1.2.0.

tersekmatija avatar Jun 29 '22 22:06 tersekmatija