jveitchmichaelis / edgetpu-yolo

Minimal-dependency Yolov5 and Yolov8 export and inference demonstration for the Google Coral EdgeTPU
91 stars 31 forks source link

export error #19

Open glennford49 opened 1 month ago

glennford49 commented 1 month ago

by any chance can you provide us a detailed instruction on how to export .pt model to edgetpu.tflite model?, i have googling this process but still no luck.. thanks a lot.

jveitchmichaelis commented 1 month ago

Hi

Ultralytics have a lot of documentation here: https://docs.ultralytics.com/integrations/tflite/

Once you've exported a TFLite file you can compile it for Edge TPU. There is also a guide for that here:

https://docs.ultralytics.com/integrations/edge-tpu/

Have you tried these guides already? Thanks!

glennford49 commented 1 month ago

thanks for your reply, havent been that pages, anyway, thanks for your code, i have run your tflite model in my m.2 coral from my raspberrypi,but i am stuck in exporting my own yolov5 custom trained model. i will feedback soon.

jveitchmichaelis commented 1 month ago

Have you also looked at the export instructions in this repository? The reason I didn't suggest that is because Ultralytics seem to support this out-of-the-box now, so their guide is more up to date (and you can use v8 instead of v5).

https://github.com/jveitchmichaelis/edgetpu-yolo/blob/main/export.md