Closed sudipxerox closed 1 year ago
@sudipxerox I think onnx2tf is useful to convert tflite from onnx. https://github.com/PINTO0309/onnx2tf
Step.1 torch model to onnx.
python3 torch_to_onnx.py
https://github.com/axinc-ai/export-to-tflite/blob/torch/torch/torch_to_onnx.py
Step.2 onnx to pb and tflite (float).
python3 -m onnx2tf -i efficientnetlite.onnx -osd
I have gone through the code, but I was unable to find that portion of code to convert the model from pytorch to tflite. can you please share the portion of code you are using to convert the model to tflite.
I also used a code to convert the model to tflite, but getting error ->![MicrosoftTeams-image (19)](https://user-images.githubusercontent.com/102279403/204786787-6b85729c-8d6e-496b-846f-7d4ab5edb1a1.png)
please help me to resolve the issue