Onnx2tf

Latest version: v1.27.1

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 86

1.21.0

- Fix Typo
- Change API parameter names

What's Changed
* Fix Typo by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/625


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.20.10...1.21.0

1.20.10

- YOLOvN ONNX
- Fixed to restore metadata
- `pip install -U sng4onnx>=1.0.4 sne4onnx>=1.0.13`
![image](https://github.com/PINTO0309/sng4onnx/assets/33194443/ca682e94-ae95-4f03-bd1c-3329243c22c0)

What's Changed
* Fixed to restore metadata by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/624


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.20.9...1.20.10

1.20.9

- `Tile`, `Reshape`
- Tensor processing of dynamic shapes is supported.
- Due to the experimental implementation, regression testing is still insufficient. However, this ONNX is ready for conversion.
- https://github.com/daquexian/onnx-simplifier/issues/323
- [src_ocr.onnx.zip](https://github.com/PINTO0309/onnx2tf/files/15215232/src_ocr.onnx.zip)
- https://github.com/PaddlePaddle/PaddleOCR
- Input: [N, 3, 32, W]]
![image](https://github.com/PINTO0309/onnx2tf/assets/33194443/f9cdf30a-68b9-4e52-8882-7c986d7d9240)
![image](https://github.com/PINTO0309/onnx2tf/assets/33194443/e3ac324a-f1b7-4718-92ea-b85389649740)
![image](https://github.com/PINTO0309/onnx2tf/assets/33194443/2d7c1907-f035-4e35-8634-ffdcc29f28a2)

What's Changed
* [experimental] Support for dynamic `Tile`, dynamic `Reshape` by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/623


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.20.8...1.20.9

1.20.8

- `If`
- Improved conversion stability of subgraphs of `If` operations.
- https://github.com/onnx/onnx-tensorflow/issues/1056
- https://github.com/PINTO0309/onnx2tf/releases/download/1.20.7/maskrcnn_resnet50_fpn.onnx


onnx2tf \
-i maskrcnn_resnet50_fpn.onnx \
-onimc boxes.55 onnx::Shape_3316 3315 onnx::Loop_3751

![image](https://github.com/PINTO0309/onnx2tf/assets/33194443/c68e9cfe-154b-43c2-9c32-5741e885783a)

What's Changed
* Improved conversion stability of subgraphs of `If` operations. by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/622


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.20.7...1.20.8

1.20.7

- Optimization of `torch.nn.PixelUnshuffle`.
- https://pytorch.org/docs/stable/generated/torch.nn.PixelUnshuffle.html
- https://www.tensorflow.org/api_docs/python/tf/nn/space_to_depth
- This implementation is inspired by the valuable knowledge of [AlexanderLutsenko / nobuco](https://github.com/AlexanderLutsenko/nobuco). Thank you very much.
- https://github.com/AlexanderLutsenko/nobuco?tab=readme-ov-file#implementation-mismatch-pick-your-poison
- Unlike PyTorch's method of replacing internal processing, a similar process is implemented from a frozen ONNX graph with the minimum number of operations required.

|ONNX|Before<br>tflite|After<br>tflite|
|:-:|:-:|:-:|
|![image](https://github.com/PINTO0309/onnx2tf/assets/33194443/f39b4e8b-7fed-4ca5-af6a-e4e48f9e7adc)|![image](https://github.com/PINTO0309/onnx2tf/assets/33194443/a9da56c5-b582-4c7a-aaf5-35f78d0b529c)|![image](https://github.com/PINTO0309/onnx2tf/assets/33194443/b1d16985-614c-42dd-b040-49886b2da9b6)|

![image](https://github.com/PINTO0309/onnx2tf/assets/33194443/36f4aa05-c8f2-47b2-8e0d-6c60ac8a11c6)

- Bug fix. `ReduceL1`, `ReduceL2`, `ReduceLogSum`, `ReduceLogSumExp`, `ReduceMax`, `ReduceMean`, `ReduceMin`, `ReduceProd`, `ReduceSum`, `ReduceSumSquare`

What's Changed
* Optimization of `torch.nn.PixelUnshuffle` by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/621


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.20.6...1.20.7

1.20.6

- `MaxPool`, `AveragePool`
- Improved conversion stability when `H`, `W` and `D` of `MaxPool` and `AveragePool` contain undefined dimensions.
- **The accuracy of the converted model is not always accurate.**
- e.g. YOLOvNn dynamic inputs `[N, 3, H, W]`
- YOLOvN has been modified only to avoid a situation where the conversion aborts, although this is undoubtedly not good for the design of the model, as fixed parameters such as the number of classes are embedded in the backward `Split` operation with fixed values.
- Concatenating dimensions that have completely different meanings is also a major problem.
- Unless you replace the PyTorch implementation with `Slice`, you won't be able to do proper inferencing.
- ONNX
![image](https://github.com/PINTO0309/onnx2tf/assets/33194443/cacbec18-2c57-4005-9567-37360ee3699f)
![image](https://github.com/PINTO0309/onnx2tf/assets/33194443/363ff05e-fe56-4a44-a0a2-d712252edad4)
- TFLite
![image](https://github.com/PINTO0309/onnx2tf/assets/33194443/6e337b7d-e709-4895-85fd-72be778c7d04)
![image](https://github.com/PINTO0309/onnx2tf/assets/33194443/a05b5017-90b0-4fb5-9781-b9e6282b889e)

What's Changed
* Improved conversion stability when `H`, `W` and `D` of `MaxPool` and `AveragePool` contain undefined dimensions by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/620


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.20.5...1.20.6

Page 9 of 86

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.