issues
search
PINTO0309
/
onnx2tf
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.
MIT License
713
stars
73
forks
source link
Fix `Gather` parameter substitution logic
#522
Closed
PINTO0309
closed
1 year ago
PINTO0309
commented
1 year ago
1. Content and background
Improved conversion stability when multiple undefined dimensions exist in the input tensor.
Gather
Fix parameter substitution logic.
retinaface_onnx_dynamic.onnx.zip
https://github.com/PINTO0309/onnx2tf/blob/main/json_samples/replace_retinaface_dynamic_shape.json
onnx
tflite
onnx2tf.py
Fix parameter replacement logic.
Concat
,
common_functions.py
Added the ability to swap axes using
Gather
instead of
Transpose
when the tensor to be concatenated is a 1D tensor.
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)
Cannot use converted model with dynamic input shape #521
1. Content and background
Gather
onnx2tf.py
Concat
,common_functions.py
Gather
instead ofTranspose
when the tensor to be concatenated is a 1D tensor.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)