Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

[v1.x] Update onnx support to work with onnx 1.7.0 with most CV models #19017

Merged
merged 35 commits into from
Sep 11, 2020

Commits on Aug 26, 2020

  1. fix pooling_convention warning when convert model to onnx (apache#18529)

    * fix  pooling_convention warning
    
    * fix pooling_convention warning
    
    * fix lint
    
    Co-authored-by: JackieWu <[email protected]>
    2 people authored and Joe Evans committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    51715d7 View commit details
    Browse the repository at this point in the history
  2. Prevent uninitialized variable error.

    Joe Evans committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    7b7141b View commit details
    Browse the repository at this point in the history
  3. Initial work to get Dropout to work with onnx 1.7

    Joe Evans committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    aa1515b View commit details
    Browse the repository at this point in the history
  4. Remove trailing whitespace for pylint.

    Joe Evans committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    77fb75f View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2020

  1. Configuration menu
    Copy the full SHA
    ae1e74d View commit details
    Browse the repository at this point in the history
  2. Update Clip operator to support latest ONNX opset versions by moving …

    …min/max attributes to inputs.
    Joe Evans committed Aug 27, 2020
    Configuration menu
    Copy the full SHA
    0faeeef View commit details
    Browse the repository at this point in the history
  3. Fix whitespace.

    Joe Evans committed Aug 27, 2020
    Configuration menu
    Copy the full SHA
    e9453c5 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2020

  1. Configuration menu
    Copy the full SHA
    1d5b664 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9c5c034 View commit details
    Browse the repository at this point in the history
  3. Add optional opset_version parameter that defaults to latest opset ve…

    …rsion supported by onnx. Pass this parameter to each graph layer when exporting.
    Joe Evans committed Aug 28, 2020
    Configuration menu
    Copy the full SHA
    aabcdd5 View commit details
    Browse the repository at this point in the history
  4. Add optional parameter to create_model() that allows user to specify …

    …which onnx opset version they want to use when exporting, defaults to latest version supported by onnx.
    Joe Evans committed Aug 28, 2020
    Configuration menu
    Copy the full SHA
    edd6f53 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2dfa22f View commit details
    Browse the repository at this point in the history
  6. Add a opset_version parameter to from_onnx() so at operator conversio…

    …n time, we know what opset version to use.
    Joe Evans committed Aug 28, 2020
    Configuration menu
    Copy the full SHA
    6c4e555 View commit details
    Browse the repository at this point in the history
  7. For Clip and Dropout operators, use opset version from passed proto_o…

    …bj, which reflects what opset version the onnx model uses.
    Joe Evans committed Aug 28, 2020
    Configuration menu
    Copy the full SHA
    7305b9d View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2020

  1. Use same tolerances that are in master.

    Joe Evans committed Aug 31, 2020
    Configuration menu
    Copy the full SHA
    39da0fc View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2020

  1. Change Pad operator to use inputs instead of attributes for newer ops…

    …et versions. Check opset version instead of ONNX version for Pooling operator.
    Joe Evans committed Sep 1, 2020
    Configuration menu
    Copy the full SHA
    e36c200 View commit details
    Browse the repository at this point in the history
  2. Add documentation opset_version parameter.

    Joe Evans committed Sep 1, 2020
    Configuration menu
    Copy the full SHA
    e4a9318 View commit details
    Browse the repository at this point in the history
  3. Add opset_version parameters to unit tests.

    Joe Evans committed Sep 1, 2020
    Configuration menu
    Copy the full SHA
    85a0ea6 View commit details
    Browse the repository at this point in the history
  4. Add test script for testing inference with onnxruntime on CV models f…

    …rom gluon model zoo.
    Joe Evans committed Sep 1, 2020
    Configuration menu
    Copy the full SHA
    0738620 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2020

  1. Add license and clean up imports.

    Joe Evans committed Sep 2, 2020
    Configuration menu
    Copy the full SHA
    885862d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9bb2b47 View commit details
    Browse the repository at this point in the history
  3. Add onnxruntime to test dependencies.

    Joe Evans committed Sep 2, 2020
    Configuration menu
    Copy the full SHA
    50d929c View commit details
    Browse the repository at this point in the history
  4. Install onnxruntime into CentOS docker image.

    Joe Evans committed Sep 2, 2020
    Configuration menu
    Copy the full SHA
    a6e6967 View commit details
    Browse the repository at this point in the history
  5. Disable testing squeezenet models for now.

    Joe Evans committed Sep 2, 2020
    Configuration menu
    Copy the full SHA
    0bfec8e View commit details
    Browse the repository at this point in the history
  6. Update onnx version.

    Joe Evans committed Sep 2, 2020
    Configuration menu
    Copy the full SHA
    26708e3 View commit details
    Browse the repository at this point in the history
  7. Fix typo.

    Joe Evans committed Sep 2, 2020
    Configuration menu
    Copy the full SHA
    d620548 View commit details
    Browse the repository at this point in the history
  8. Use mx.image.imread instead of PIL module.

    Joe Evans committed Sep 2, 2020
    Configuration menu
    Copy the full SHA
    c7b55c1 View commit details
    Browse the repository at this point in the history
  9. ONNX import: use Conv pad attribute for symmetrical padding (apache#1…

    …8675)
    
    Signed-off-by: Serge Panev <[email protected]>
    Kh4L authored and Joe Evans committed Sep 2, 2020
    Configuration menu
    Copy the full SHA
    f49e47a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    36d92ca View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2020

  1. Update import and export of some ONNX ops to support newer opset vers…

    …ions - this gets all ONNX unit tests to pass with onnx 1.7.
    Joe Evans committed Sep 3, 2020
    Configuration menu
    Copy the full SHA
    b102f78 View commit details
    Browse the repository at this point in the history
  2. Re-enable squeezenet model testings in onnxruntime.

    Joe Evans committed Sep 3, 2020
    Configuration menu
    Copy the full SHA
    8bd6a64 View commit details
    Browse the repository at this point in the history
  3. Run the onnxruntime inference tests in the ONNX pipeline instead of n…

    …ormal unittests pipelines.
    Joe Evans committed Sep 3, 2020
    Configuration menu
    Copy the full SHA
    a3ea851 View commit details
    Browse the repository at this point in the history
  4. Add missed return value.

    Joe Evans committed Sep 3, 2020
    Configuration menu
    Copy the full SHA
    a5246fe View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2020

  1. Refactor code based on review comment.

    Joe Evans committed Sep 8, 2020
    Configuration menu
    Copy the full SHA
    29dcdf3 View commit details
    Browse the repository at this point in the history
  2. Since the onnx tests are only run on ubuntu_cpu images, we don't need…

    … to install onnx and onnxruntime in the CentOS containers.
    Joe Evans committed Sep 8, 2020
    Configuration menu
    Copy the full SHA
    d597b5a View commit details
    Browse the repository at this point in the history