OpenWeedLocator icon indicating copy to clipboard operation
OpenWeedLocator copied to clipboard

Model deployment

Open zerosnsa opened this issue 2 years ago • 6 comments

I am training the model according to the example, but I keep showing this error when I deploy it. The model works fine if I use my own computer locally image

zerosnsa avatar Jan 24 '24 07:01 zerosnsa

I used the generic model and it worked fine on the Raspberry PI

zerosnsa avatar Jan 24 '24 07:01 zerosnsa

Awesome that you got the YOLOv8-N working correctly at 416 x 320 resolution. Do you mind sharing how you did that? I've read that it would only work at 192 x 192 resolution.

I found this issue on the pycoral page about the error you receive. It appears it's a power supply issue? Do you have a powered USB hub available?

geezacoleman avatar Jan 24 '24 07:01 geezacoleman

But did I just run to report this error? And when I run the sample model, it works fine, but when I run my own trained model, this error occurs.

zerosnsa avatar Jan 24 '24 07:01 zerosnsa

Isn't this resolution set in the code? I didn't change the add resolution operation

zerosnsa avatar Jan 24 '24 08:01 zerosnsa

Probably a few issues here - which sample model are you using? and what resolution are you training your custom model at? You should make sure the resolution set with owl.py matches the trained model resolution.

There are issues exporting from YOLOv8 using their export function, unless you train and set it to 192 x 192.

geezacoleman avatar Jan 24 '24 08:01 geezacoleman

1706083787640 I could use all the three models smoothly, except that EfficientDet-Lite3x* could not be used.

zerosnsa avatar Jan 24 '24 08:01 zerosnsa