OAID/Tengine-Convert-Tools

yolov5 onnx model conversion

stevenwudi opened this issue · 3 comments

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!

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

qinhj commented

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"?

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