tensorflow-onnx
tensorflow-onnx copied to clipboard
how change .tflite model to onnx and nwhc to nchw?
Ask a Question
Question
Further information
- Is this issue related to a specific model?
Model name:
Model opset:
Notes
You convert tflite models via command line, for example:
python -m tf2onnx.convert --opset 16 --tflite tflite--file --output model.onnx
You convert tflite models via command line, for example:
python -m tf2onnx.convert --opset 16 --tflite tflite--file --output model.onnx Thank you very much for your answer. But, I want to output the onnx model in nchw format,I input: python -m tf2onnx.convert --opset 16 --tflite tflite--file --output model.onnx --input_as_nchw It is still nhwc tflite file is mediapipe‘s pose_landmark_full.tflite.
Please refer to here for a try.