Skip to content

2.3.17

Choose a tag to compare

@PINTO0309 PINTO0309 released this 31 Mar 11:49
· 1749 commits to main since this release
8284f93

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

#921