Self-Created Tools to convert ONNX files (NCHW) to TensorFlow/TFLite/Keras format (NHWC). The purpose of this tool is to solve the massive Transpose extrapolation problem in onnx-tensorflow (onnx-tf). I don't need a Star, but give me a pull request.
MIT License
706
stars
73
forks
source link
Addition of automatic INT8 calibration process for RGBA 4-channel images #670
Addition of automatic INT8 calibration process for RGBA 4-channel images.
It should be noted that the MS-COCO image set does not include an alpha channel, so this auto-calibration does not allow for decent quantization.
There is no correlation between the channel being 4 and the input data being an image. Therefore, if the model to be converted is data other than a 4-channel image, automatic calibration should not be used.
The following means and standard deviations are used as fixed values.
1. Content and background
2. Summary of corrections
3. Before/After (If there is an operating log that can be used as a reference)
4. Issue number (only if there is a related issue)