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
662 stars 65 forks source link

Implemented the ability to forcibly estimate the shape of `com.microsoft v1` modules for which `onnx.shape_inference.infer_shapes(x)` does not work correctly. #646

Closed PINTO0309 closed 3 months ago

PINTO0309 commented 3 months ago

1. Content and background

  1. Implemented the ability to forcibly estimate the shape of com.microsoft v1 modules for which onnx.shape_inference.infer_shapes(x) does not work correctly. e.g. FusedConv image
  2. Added optimization process for some patterns of Resize operations like garbage. (Not perfect, but only for a very few edge cases) image

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)