Published September 25, 2022
| Version 1.5.33
Software
Open
Tools to convert ONNX files (NCHW) to TensorFlow format (NHWC)
Authors/Creators
Description
Softmax- Detect conversion errors in
axisand identify theaxiswith the smallest possible error and replace it. - Automatic selection of the axis with the smallest error by measuring the error of all axes in the process of model transformation.
- Because the minimum inference is performed multiple times, the conversion speed of the model including
Softmaxis slightly slower, instead of no longer incurring an accuracy error. - Almost eliminates conversion errors in
Softmaxoperations in Transformer models that contain a large number ofSoftmax, such asMobileFormer. - This implementation can be applied to various OPs that handle
axis. For example,ReduceXX,ArgMax. - The sample JSON file was modified to reflect this improvement. https://github.com/PINTO0309/onnx2tf/blob/main/json_samples/replace_MobileFormer-e9.json
- Detect conversion errors in
Implementation of strict mode #145 [MobileFormer] Converted model outputs values mismatch with original ones. #105 [MobileFormer]Dimensions must be equal [Add Layer] #103
What's ChangedSoftmaxDetect conversion errors in axis and identify the axis with the smallest possible error and replace it. by @PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/152
Full Changelog: https://github.com/PINTO0309/onnx2tf/compare/1.5.32...1.5.33
Notes
Files
PINTO0309/onnx2tf-1.5.33.zip
Files
(451.0 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:058a08de2b3252645c57b6300f6d29c7
|
451.0 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/PINTO0309/onnx2tf/tree/1.5.33 (URL)