Export an ONNX file from a machine learning framework
You can export a model from most machine learning frameworks in the Open Neural Network Exchange (ONNX) format Sentis needs.
Refer to the following documentation:
- Exporting a model from PyTorch to ONNX on the PyTorch website.
- Convert TensorFlow, Keras, Tensorflow.js and Tflite models to ONNX on the ONNX GitHub repository.
To make sure the exported model is compatible with Sentis, set the ONNX opset version to 15. Refer to import a model file for more information about ONNX compatibility.