Convert machine learning models to ONNX with onnxmltools
mainONNXMLTools is a library used to convert models from various machine learning toolkits into the ONNX format. This allows models trained in different frameworks to be used with an ONNX-compatible backend like onnxruntime or onnxruntime-gpu for inference.
Supported toolkits include:
- Apple Core ML (up to version 3.1)
- catboost
- h2o (subset only)
- Keras
- LightGBM
- libsvm
- scikit-learn (subset of models)
- SparkML
- XGBoost
The library leverages sklearn-onnx and tensorflow-onnx for specific conversions and provides its own converters for the other supported libraries.