Onnx2tf

Latest version: v1.26.3

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

Scan your dependencies

Page 44 of 85

1.7.14

- Improved error judgment regarding calibration data for INT8 quantization.
- Models with multiple input OPs and non-rgb-image input OPs force automatic calibration to be aborted.
- e.g. [cf_fus.onnx.zip](https://github.com/PINTO0309/onnx2tf/files/10884363/cf_fus.onnx.zip)
![image](https://user-images.githubusercontent.com/33194443/222779034-78192d45-5992-4410-b2fd-a929e9aeaf02.png)
python
if model_input.dtype != tf.float32 \
or len(model_input.shape) != 4 \
or model_input.shape[-1] != 3:
print(
f'{Color.RED}ERROR:{Color.RESET} ' +
f'For models that have multiple input OPs and need to perform INT8 quantization calibration '+
f'using non-rgb-image input tensors, specify the calibration data with '+
f'--quant_calib_input_op_name_np_data_path. '+
f'model_input[n].shape: {model_input.shape}'
)
sys.exit(1)

- [[CenterFusion] Model Full Interger Quantize problem 222](https://github.com/PINTO0309/onnx2tf/issues/222)

What's Changed
* Improved error judgment regarding calibration data for INT8 quantization by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/224


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.7.13...1.7.14

1.7.13

1. Temporarily disabled accuracy check function added as a backend function. https://github.com/PINTO0309/onnx2tf/pull/184
- Significantly reduced RAM consumption during model conversion
- Significantly improved model conversion speed
2. Backward to v1.13.1 because I noticed a bug in `sigmoid` behavior in onnxruntime v1.14.0. After updating to v1.14.0, all `sigmoid` output values are Nan.
- https://github.com/microsoft/onnxruntime/pulls?q=sigmoid

- https://github.com/microsoft/onnxruntime/issues/14885
- [[TODO] Add option to disable backend inference for accuracy checks. 208](https://github.com/PINTO0309/onnx2tf/issues/208)

What's Changed
* 1. Temporarily disabled accuracy check function added as a backend function. 2. Backward to v1.13.1 because I noticed a bug in `sigmoid` behavior in onnxruntime v1.14.0 by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/220


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.7.12...1.7.13

1.7.12

- `Split`
- Disabling splits that do not make sense and preventing the generation of `FlexSplitV` were added.
- [ssdlite320_mobilenet_v3_large.onnx.zip](https://github.com/PINTO0309/onnx2tf/files/10866464/ssdlite320_mobilenet_v3_large.onnx.zip)
- `Split` that makes no sense
![image](https://user-images.githubusercontent.com/33194443/222298056-54cc78f8-f53a-4de8-b5eb-bb6a72d6fb33.png)
![image](https://user-images.githubusercontent.com/33194443/222298718-1894e141-8fa6-4273-ba49-b0f017cb063b.png)
- `Split` converted to `FlexSplitV`.
![image](https://user-images.githubusercontent.com/33194443/222298147-b68e1dd3-6eae-48dd-a741-30b66666cefe.png)
![image](https://user-images.githubusercontent.com/33194443/222298778-73d9f72c-ae3f-4421-bccd-9687958d0a95.png)
- [Cannot reshape a tensor with 41835024 elements to shape [3234,4] (12936 elements) 217](https://github.com/PINTO0309/onnx2tf/issues/217)

What's Changed
* Disabling splits that do not make sense and preventing the generation of `FlexSplitV` were added. by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/219


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.7.11...1.7.12

1.7.11

- `Squeeze`
- Corrected a mistake in the decision statement
- [Cannot reshape a tensor with 41835024 elements to shape [3234,4] (12936 elements) 217](https://github.com/PINTO0309/onnx2tf/issues/217)

What's Changed
* Corrected a mistake in the decision statement by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/218


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.7.10...1.7.11

1.7.10

- `MatMul`
- Fixed a bug with insufficient transposition of accuracy checks.
- [tensorflow.python.framework.errors_impl.InvalidArgumentError: Exception encountered when calling layer 'tf.reshape_33' (type TFOpLambda) 213](https://github.com/PINTO0309/onnx2tf/issues/213)

What's Changed
* `MatMul` Fixed a bug with insufficient transposition of accuracy checks. by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/215


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.7.9...1.7.10

1.7.9

- `Gather`
- Support for substitution of `Gather` attribute parameter `axis`
![image](https://user-images.githubusercontent.com/33194443/221851421-06da5e80-4a68-4a23-b357-a86c5ff0f608.png)
- [Converting an ONNX model with static output to TfLite leads to a model that is not supported by the TfLite Java API 210](https://github.com/PINTO0309/onnx2tf/issues/210)

What's Changed
* Support for substitution of `Gather` attribute parameter `axis` by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/214


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.7.8...1.7.9

Page 44 of 85

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.