Qengineering / YoloV7-ncnn-Raspberry-Pi-4

YoloV7 for a bare Raspberry Pi using ncnn.

Home Page:https://qengineering.eu/deep-learning-examples-on-raspberry-32-64-os.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

onnx 2 ncnn ?

sssssshf opened this issue · comments

How do I get an onnx model that can be converted to ncnn??
can you share your code which can convert pt to onnx correctly?

I've used an already converted model.
There are guides on the net explaining how to convert onnx to ncnn.
However, it may be somewhat cumbersome, due to the dynamic input size of the models.
See for instance: https://github.com/xiang-wuu/ncnn-android-yolov7/tree/master/app/src/main/assets
Or Tencent/ncnn#4541
I know it is not YoloV7, but it give a more than good direction on how to convert your model.