Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onnx 2 ncnn ? #3

Open
sssssshf opened this issue Apr 3, 2023 · 1 comment
Open

onnx 2 ncnn ? #3

sssssshf opened this issue Apr 3, 2023 · 1 comment

Comments

@sssssshf
Copy link

sssssshf commented Apr 3, 2023

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?

@Qengineering
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants