OAID / Tengine-Convert-Tools

Tengine Convert Tool supports converting multi framworks' models into tmfile that suitable for Tengine-Lite AI framework.
Apache License 2.0
94 stars 34 forks source link

yolov5 onnx model conversion #39

Closed stevenwudi closed 3 years ago

stevenwudi commented 3 years ago

I used the yolov5 official onnx model and try to convert it online. However,

"These 4op are not supported
{Resize,ConstantOfShape,Range,ScatterND,}
Create graph failed"

is reported when doing the converting. Could you point out why is the reason?

BTW, thank you tengine team for this amazing project. I think the project has great potential for Amlogic NPU developers!

stevenwudi commented 3 years ago

I solve this problem: When exporting yolov5 onnx, need to diasble z from Detect.

qinhj commented 3 years ago

I solve this problem: When exporting yolov5 onnx, need to diasble z from Detect.

@stevenwudi Hi~ I met the same issue when converting the yolov3 onnx model to tmfile. Can you share me the solution ? And what's the "diasble z from Detect"?

stevenwudi commented 3 years ago

@qinhj Hey, check this post. It will answer all our questions https://zhuanlan.zhihu.com/p/360138163