Onnx2tf

Latest version: v1.22.4

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

Scan your dependencies

Page 27 of 80

1.11.2

- Fix to onnx==1.13.1 because onnxruntime does not support IR9

ONNX and TF output value validation started =========================================
INFO: validation_conditions: np.allclose(onnx_outputs, tf_outputs, rtol=0.0, atol=0.0001, equal_nan=True)
WARNING: The accuracy error measurement process was skipped because
the standard onnxruntime contains OPs that cannot be inferred.
WARNING: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Failed to load model with error:
/home/user/workdir/onnxruntime/onnxruntime/core/graph/model.cc:146
onnxruntime::Model::Model(onnx::ModelProto&&, const PathString&,
const IOnnxRuntimeOpSchemaRegistryList*, const onnxruntime::logging::Logger&,
const onnxruntime::ModelOptions&) Unsupported model IR version: 9, max supported IR version: 8


What's Changed
* Fix to onnx==1.13.1 because onnxruntime does not support IR9 by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/349


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.11.1...1.11.2

1.11.1

- Upgraded onnx to v1.14.0. Note that onnxruntime remains at v1.13.1.

1.11.0

- `Add`, `Sub`, `Mul`, `Div`, `Mod`
- Added automatic correction function for conversion accuracy errors
- Conversion speed is reduced instead of compensating for accuracy errors
- `Add`, `Sub`, `Mul`, `Div`, `Mod`, `MatMul`, `Softmax`
- Strict conversion mode implemented
- However, if the input tensor has undefined dimensions, the automatic correction will not work perfectly.
- As of 2023.05.07, this is a work in progress and is an experimental feature.
- Added option to disable strict conversion mode
- `-dsm`, `--disable_strict_mode`

-dsm, --disable_strict_mode
If specified, the conversion speed is greatly accelerated because the strict accuracy
correction process is skipped, but the frequency of transposition errors increases
and accuracy errors are more likely to occur. Strict mode is enabled by default.
As of 2023.05.07, this is a work in progress and is an experimental feature.
Therefore, only some OPs are converted in exact mode for accuracy correction.

- Enable `-dsm` to greatly reduce the time to complete testing, as CI testing only checks the conversion structure.
- [[InSPyReNet] Swin Transformer Support question 312](https://github.com/PINTO0309/onnx2tf/issues/312)

What's Changed
* Added automatic correction function for conversion accuracy errors by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/343


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.10.3...1.11.0

1.10.3

- Fixed README wording for -cind option.

What's Changed
* Add " " around `-cind` flag arguments where needed in README.md by mikel-brostrom in https://github.com/PINTO0309/onnx2tf/pull/341
* Fixed README wording for `-cind` option. by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/342

New Contributors
* mikel-brostrom made their first contribution in https://github.com/PINTO0309/onnx2tf/pull/341

**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.10.2...1.10.3

1.10.2

- `onnx2tf`, `common_functions`
- Fixed a problem that caused the entire tool process to terminate abnormally when multiple batches of test data were entered using the `-cind` option
- Added batch size adjustment process for dummy inference when test data is specified with the `-cind` option.
- `AveragePool`, `MaxPool`
- Added processing to suppress warning messages.
- [Several problems when INT8-quantizing with calibration data 339](https://github.com/PINTO0309/onnx2tf/issues/339)

What's Changed
* Added batch size adjustment process for dummy inference when test data is specified with the `-cind` option. Also, added processing to suppress warning messages. by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/340


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.10.1...1.10.2

1.10.1

- `MatMul`
- Fixed to try only the minimum necessary transposition pattern.

What's Changed
* Fixed to try only the minimum necessary transposition pattern. by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/338


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.10.0...1.10.1

Page 27 of 80

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.