Closed
Description
System information
- OS version/distro: Win 10 Pro Build 17763.503
- .NET Version (eg., dotnet --info): .Net FrameWork 4.7.2
- ML.NET Version:1.1.0
- ONNX Version:: 1.0 / 1.2
Issue
-
What did you do?
Exported a image classification(General(Compact)) ONNX model from Custom Vision and attempted to generate a ONNX Estimator in ML.NET -
What happened?
The model loading failed with error "Onnx type not supported".
This happens with all image classification ONNX models exported from Custom Vision.
Corresponding Tensorflow models work well in ML.NET. -
What did you expect?
It is possible to load ONNX models exported from Tensorflow/Scikit-learn. ML.NET should be able to accept ONNX models from Custom Vision.
Source code / logs
var onnxEstimator = mLContext.Transforms.ApplyOnnxModel(OutputColumnNames, InputColumnNames, OnnxModelPath);