Closed developer-young closed 3 years ago
torch.onnx.export(model, input, "keypoint_rcnn.onnx",opset_version = 11)
./install/bin/tm_convert_tool -f onnx -m keypoint_rcnn.onnx -o keypoint_rcnn.tmfile
These 13op are not supported {Resize,ConstantOfShape,Range,SplitToSequence,SequenceAt,TopK,Not,NonZero,If,Sqrt,RoiAlign,ScatterElements,Loop,} Create graph failed
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.