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

These 13op are not supported #17

Closed developer-young closed 3 years ago

developer-young commented 3 years ago

I use this code to get the .onnx model from the pytorch model: keypoint_rcnn.pth

torch.onnx.export(model, input, "keypoint_rcnn.onnx",opset_version = 11)

When I convert "keypoint_rcnn.onnx" to .tmfile model, I follow this way:

./install/bin/tm_convert_tool -f onnx -m keypoint_rcnn.onnx -o keypoint_rcnn.tmfile

But I get the error:

These 13op are not supported {Resize,ConstantOfShape,Range,SplitToSequence,SequenceAt,TopK,Not,NonZero,If,Sqrt,RoiAlign,ScatterElements,Loop,} Create graph failed

How to fix this error?

Thanks.