Self-Created Tools to convert ONNX files (NCHW) to TensorFlow/TFLite/Keras format (NHWC). The purpose of this tool is to solve the massive Transpose extrapolation problem in onnx-tensorflow (onnx-tf). I don't need a Star, but give me a pull request.
Add -inimc / --input_names_to_interrupt_model_conversion option.
By specifying ONNX input or output names, only the middle part of the model can be converted. This is useful when you want to see what output is obtained in what part of the model after conversion, or when debugging the model conversion operation itself.
For example, take a model with multiple inputs and multiple outputs as shown in the figure below to try a partial transformation.
To convert by specifying only the input name to start the conversion
1. Content and background
Add
-inimc
/--input_names_to_interrupt_model_conversion
option. By specifying ONNX input or output names, only the middle part of the model can be converted. This is useful when you want to see what output is obtained in what part of the model after conversion, or when debugging the model conversion operation itself.For example, take a model with multiple inputs and multiple outputs as shown in the figure below to try a partial transformation.
2. Summary of corrections
3. Before/After (If there is an operating log that can be used as a reference)
4. Issue number (only if there is a related issue)