Onnx2tf

Latest version: v1.27.1

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

Scan your dependencies

Page 4 of 86

1.25.13

- `ArgMax`, `Faltten`
- Dealing with garbage-like broken structures in ONNX.
![image](https://github.com/user-attachments/assets/7548a385-7e6b-4a19-ab5a-ef76cfc1104d)
![image](https://github.com/user-attachments/assets/04092ee2-6c05-4815-ac2f-7689e122c742)
- [[YOLOv7] None in graph_node_input.shape 694](https://github.com/PINTO0309/onnx2tf/issues/694)

What's Changed
* Dealing with garbage-like broken structures in ONNX by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/695


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.25.12...1.25.13

1.25.12

- `Flatten`
- Improved handling when `axis` attribute is not defined and the batch size of the first dimension is undefined.
- ONNX
![image](https://github.com/user-attachments/assets/7fe6000c-834a-41cd-9508-1f8bf13b2f93)
bash
wget https://github.com/PINTO0309/onnx2tf/releases/download/0.0.2/resnet18-v1-7.onnx
onnx2tf -i resnet18-v1-7.onnx

ls -lh saved_model/

assets
fingerprint.pb
resnet18-v1-7_float16.tflite
resnet18-v1-7_float32.tflite
saved_model.pb
variables

TF_CPP_MIN_LOG_LEVEL=3 \
saved_model_cli show \
--dir saved_model \
--signature_def serving_default \
--tag_set serve

The given SavedModel SignatureDef contains the following input(s):
inputs['data'] tensor_info:
dtype: DT_FLOAT
shape: (-1, 224, 224, 3)
name: serving_default_data:0
The given SavedModel SignatureDef contains the following output(s):
outputs['output_0'] tensor_info:
dtype: DT_FLOAT
shape: (-1, 1000)
name: PartitionedCall:0
Method name is: tensorflow/serving/predict

- TFLite
![image](https://github.com/user-attachments/assets/2da8169a-2272-4f47-957d-7a6416728630)

What's Changed
* Improved handling when `axis` attribute is not defined and the batch size of the first dimension is undefined. by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/692


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.25.11...1.25.12

1.25.11

- `BatchNormalization`
- Improved the conversion stability of `BatchNormalization`.

What's Changed
* Improved the conversion stability of `BatchNormalization`. by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/690


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.25.10...1.25.11

1.25.10

- `Flatten`
- Addressed the issue of missing conversions when multi-dimensional flattening is performed and the batch size of the first dimension is an undefined dimension.
|ONNX|TFLite|
|:-:|:-:|
|![image](https://github.com/user-attachments/assets/4643dcdc-01c7-4b2a-b77e-537a8b7a256b)|![image](https://github.com/user-attachments/assets/0935573e-ae5f-49d3-89f6-b9baccb69e26)|
- [[EfficientNetV2_m] Output size is constant not variable 688](https://github.com/PINTO0309/onnx2tf/issues/688)

What's Changed
* Addressed the issue of missing conversions when multi-dimensional flattening is performed and the batch size of the first dimension is an undefined dimension. by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/689


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.25.9...1.25.10

1.25.9

- `Add`, `Sub`
- https://huggingface.co/onnx-community/metric3d-vit-small/blob/main/onnx/model.onnx
- metric3d-vit-small.onnx
- Fixed a bug in the optimization process for arithmetic operations. The error of the final output was less than `1e-4`.
![image](https://github.com/user-attachments/assets/f817a8c4-497e-4966-9037-8510713a061f)
- A bug in the optimization process for the `y = (200 - x) - 200` operation caused an incorrect `Sub` merge operation to be performed.
- [Model gives inaccurate results post conversion to tflite 685](https://github.com/PINTO0309/onnx2tf/issues/685)

What's Changed
* Fixed a bug in the optimization process for arithmetic operations by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/686


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.25.8...1.25.9

1.25.8

- `Shape`
- Fixed problem of being stuck in an infinite loop.
- [An input to an ADD node keeps getting casted to float32 despite being float16 in the onnx file causing issues with the ADD op 681](https://github.com/PINTO0309/onnx2tf/issues/681)

What's Changed
* Fixed problem of being stuck in an infinite loop by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/682


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.25.7...1.25.8

Page 4 of 86

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.