onnx to tflite model

Install dependencies 

pip install onnx2tf
pip install nvidia-pyindex
pip install sng4onnx
pip install onnx-graphsurgeon

convert code

onnx2tf -i model.onnx

Saved_model will be generated in the current folder, saving saved model and tflite format files

Remember to use the latest version of onnx2tf, the success rate is higher.

ref

https://github.com/PINTO0309/onnx2tf

Guess you like

Origin blog.csdn.net/u013701860/article/details/127970601