MATLAB Answers

Warning: ONNX does not support layer 'upsampleLayer'

5 views (last 30 days)
RonE on 24 Aug 2021
Answered: RonE on 31 Aug 2021
I am getting this warning when I call exportONNXNetwork(net, filename):
Warning: ONNX does not support layer 'upsampleLayer'. Exporting to ONNX operator 'com.MathWorks.Placeholder'.
> In nnet.internal.cnn.onnx/NNTLayerConverter/makeLayerConverter (line 256)
In nnet.internal.cnn.onnx/ConverterForNetwork/networkToGraphProto (line 112)
In nnet.internal.cnn.onnx/ConverterForNetwork/toOnnx (line 44)
In nnet.internal.cnn.onnx.exportONNXNetwork (line 36)
In exportONNXNetwork (line 40)
Does this mean that my network is not exported correctly to ONNX, and I will not be able to duplicate in another application that imports the ONNX?
net is a trained network created using this example:
"The YOLO v3 detector in this example is based on SqueezeNet, and uses the feature extraction network in SqueezeNet with the addition of two detection heads at the end."

Answers (1)





Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!