There is a newer version of the record available.

Published March 31, 2026 | Version 2.3.17
Software Open

Tools to convert ONNX files (NCHW) to TensorFlow format (NHWC)

Authors/Creators

Description

2.3.17

Summary

  • remove all remaining download_test_image_data call sites
  • stop relying on implicit network downloads for validation sample data
  • require explicit calibration input mapping for -oiqt integer quantization
  • update CLI/help/README text to match the new behavior
  • bump version to 2.3.17

What changed

  • removed the download_test_image_data import and deleted the obsolete helper from common_functions.py
  • removed the validation fallback that auto-downloaded sample NHWC image data when --test_data_nhwc_path was not provided
  • kept validation behavior intact by falling back to the existing dummy input generation path in dummy_onnx_inference / dummy_tf_inference
  • changed -oiqt so it now exits with a clear error unless --quant_calib_input_op_name_np_data_path (-cind) is provided
  • updated docstrings, CLI help, and README entries that previously described automatic sample downloads or automatic MS-COCO calibration

Behavior changes

  • --test_data_nhwc_path
    • no longer triggers an automatic sample download when omitted
    • only uses user-provided NHWC test data when explicitly specified
  • -oiqt
    • no longer auto-generates calibration input from downloaded images
    • now requires explicit calibration data via -cind

Validation

  • python -m py_compile onnx2tf/onnx2tf.py onnx2tf/utils/common_functions.py
  • rg checks confirming that download_test_image_data and the old auto-download wording no longer remain in the code/docs

https://github.com/PINTO0309/onnx2tf/issues/921

Notes

If you use onnx2tf in your research, please cite it using these metadata.

Files

PINTO0309/onnx2tf-2.3.17.zip

Files (3.3 MB)

Name Size Download all
md5:a65f57c0ff09f30449dde902feef3981
3.3 MB Preview Download

Additional details

Related works

Software