Skip to content

Commit edd15d0

Browse files
jcwchenguschmue
andauthored
[Test ONNX 1.10.2] Verify whether 1.10.2 from TestPyPI solve the crash issue by Shape-15 (#1753)
* try onnx 1.10.2 Signed-off-by: Chun-Wei Chen <[email protected]> * force install onnx==1.10.2 Signed-off-by: Chun-Wei Chen <[email protected]> * missing setup.py Signed-off-by: Chun-Wei Chen <[email protected]> * use 1.10.2 from PyPI Signed-off-by: Chun-Wei Chen <[email protected]> * missing 1.10.2 Signed-off-by: Chun-Wei Chen <[email protected]> Co-authored-by: Guenther Schmuelling <[email protected]>
1 parent 5dfd36f commit edd15d0

File tree

3 files changed

+26
-26
lines changed

3 files changed

+26
-26
lines changed

ci_build/azure_pipelines/keras2onnx_unit_test.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,60 +11,60 @@ jobs:
1111
############ TF Keras Unit Tests ############
1212
Python36-tf1.15:
1313
python.version: '3.6'
14-
ONNX_PATH: onnx==1.10.1
14+
ONNX_PATH: onnx==1.10.2
1515
TENSORFLOW_PATH: tensorflow==1.15.0
1616
INSTALL_ORT: pip install onnxruntime==1.9.0
1717

1818
Python37-tf2.1:
1919
python.version: '3.7'
20-
ONNX_PATH: onnx==1.10.1
20+
ONNX_PATH: onnx==1.10.2
2121
TENSORFLOW_PATH: tensorflow-cpu==2.1.0
2222
INSTALL_ORT: pip install onnxruntime==1.9.0
2323

2424
Python38-tf2.2:
2525
python.version: '3.8'
26-
ONNX_PATH: onnx==1.10.1
26+
ONNX_PATH: onnx==1.10.2
2727
TENSORFLOW_PATH: tensorflow-cpu==2.2.0
2828
INSTALL_ORT: pip install onnxruntime==1.9.0
2929

3030
Python38-tf2.3:
3131
python.version: '3.8'
32-
ONNX_PATH: onnx==1.10.1
32+
ONNX_PATH: onnx==1.10.2
3333
TENSORFLOW_PATH: tensorflow-cpu==2.3.0
3434
INSTALL_ORT: pip install onnxruntime==1.9.0
3535

3636
Python38-tf2.5:
3737
python.version: '3.8'
38-
ONNX_PATH: onnx==1.10.1
38+
ONNX_PATH: onnx==1.10.2
3939
TENSORFLOW_PATH: tensorflow-cpu==2.5.0
4040
INSTALL_ORT: pip install onnxruntime==1.9.0
4141

4242
############ Pure Keras Unit Tests ############
4343
Keras-Py36-tf1.15.0:
4444
python.version: '3.6'
45-
ONNX_PATH: onnx==1.10.1
45+
ONNX_PATH: onnx==1.10.2
4646
KERAS: keras==2.2.5
4747
TENSORFLOW_PATH: tensorflow==1.15.0
4848
INSTALL_ORT: pip install onnxruntime==1.9.0
4949

5050
Keras-Py37-tf1.15.0:
5151
python.version: '3.7'
52-
ONNX_PATH: onnx==1.10.1
52+
ONNX_PATH: onnx==1.10.2
5353
KERAS: keras==2.4.3
5454
TENSORFLOW_PATH: tensorflow==1.15.0
5555
INSTALL_ORT: pip install onnxruntime==1.9.0
5656

5757
# UT for keras 2.3 need tensorflow <= 2.0.0
5858
Keras-Py37-tf2.0.0:
5959
python.version: '3.7'
60-
ONNX_PATH: onnx==1.10.1
60+
ONNX_PATH: -i onnx==1.10.2
6161
KERAS: keras==2.3.1
6262
TENSORFLOW_PATH: tensorflow==2.0.0
6363
INSTALL_ORT: pip install onnxruntime==1.9.0
6464

6565
Keras-Py38-tf2.2.0:
6666
python.version: '3.8'
67-
ONNX_PATH: onnx==1.10.1
67+
ONNX_PATH: -i onnx==1.10.2
6868
KERAS: keras==2.4.3
6969
TENSORFLOW_PATH: tensorflow==2.2.0
7070
INSTALL_ORT: pip install onnxruntime==1.9.0
@@ -82,52 +82,52 @@ jobs:
8282
############ TF Keras Unit Tests ############
8383
Python36-tf-1.15:
8484
python.version: '3.6'
85-
ONNX_PATH: onnx==1.10.1
85+
ONNX_PATH: onnx==1.10.2
8686
TENSORFLOW_PATH: tensorflow==1.15.0
8787
INSTALL_ORT: pip install onnxruntime==1.9.0
8888

8989
Python37-tf2.1:
9090
python.version: '3.7'
91-
ONNX_PATH: onnx==1.10.1
91+
ONNX_PATH: onnx==1.10.2
9292
TENSORFLOW_PATH: tensorflow-cpu==2.1.0
9393
INSTALL_ORT: pip install onnxruntime==1.9.0
9494

9595
Python37-tf2.2:
9696
python.version: '3.7'
97-
ONNX_PATH: onnx==1.10.1
97+
ONNX_PATH: onnx==1.10.2
9898
TENSORFLOW_PATH: tensorflow-cpu==2.2.0
9999
INSTALL_ORT: pip install onnxruntime==1.9.0
100100

101101
Python37-tf2.3:
102102
python.version: '3.7'
103-
ONNX_PATH: onnx==1.10.1
103+
ONNX_PATH: onnx==1.10.2
104104
TENSORFLOW_PATH: tensorflow-cpu==2.3.0
105105
INSTALL_ORT: pip install onnxruntime==1.9.0
106106

107107
Python37-tf2.5:
108108
python.version: '3.7'
109-
ONNX_PATH: onnx==1.10.1
109+
ONNX_PATH: onnx==1.10.2
110110
TENSORFLOW_PATH: tensorflow-cpu==2.5.0
111111
INSTALL_ORT: pip install onnxruntime==1.9.0
112112

113113
############ Pure Keras Unit Tests ############
114114
Keras-Py36-tf1.15.0:
115115
python.version: '3.6'
116-
ONNX_PATH: onnx==1.10.1
116+
ONNX_PATH: onnx==1.10.2
117117
KERAS: keras==2.2.5
118118
TENSORFLOW_PATH: tensorflow==1.15.0
119119
INSTALL_ORT: pip install onnxruntime==1.9.0
120120

121121
Keras-Py37-tf2.0.0:
122122
python.version: '3.7'
123-
ONNX_PATH: onnx==1.10.1
123+
ONNX_PATH: onnx==1.10.2
124124
KERAS: keras==2.3.1
125125
TENSORFLOW_PATH: tensorflow==2.0.0
126126
INSTALL_ORT: pip install onnxruntime==1.9.0
127127

128128
Keras-Py37-tf2.2.0:
129129
python.version: '3.7'
130-
ONNX_PATH: onnx==1.10.1
130+
ONNX_PATH: onnx==1.10.2
131131
KERAS: keras==2.4.3
132132
TENSORFLOW_PATH: tensorflow==2.2.0
133133
INSTALL_ORT: pip install onnxruntime==1.9.0

ci_build/azure_pipelines/trimmed_keras2onnx_unit_test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,28 @@ jobs:
1111
############ TF Keras Unit Tests ############
1212
Python36-tf1.15:
1313
python.version: '3.6'
14-
ONNX_PATH: onnx==1.10.1
14+
ONNX_PATH: onnx==1.10.2
1515
TENSORFLOW_PATH: tensorflow==1.15.0
1616
INSTALL_ORT: pip install onnxruntime==1.9.0
1717

1818
Python38-tf2.5:
1919
python.version: '3.8'
20-
ONNX_PATH: onnx==1.10.1
20+
ONNX_PATH: onnx==1.10.2
2121
TENSORFLOW_PATH: tensorflow-cpu==2.5.0
2222
INSTALL_ORT: pip install onnxruntime==1.9.0
2323

2424
############ Pure Keras Unit Tests ############
2525
Keras-Py37-tf1.15.0:
2626
python.version: '3.7'
27-
ONNX_PATH: onnx==1.10.1
27+
ONNX_PATH: onnx==1.10.2
2828
KERAS: keras==2.4.3
2929
TENSORFLOW_PATH: tensorflow==1.15.0
3030
INSTALL_ORT: pip install onnxruntime==1.9.0
3131

3232
# UT for keras 2.3 need tensorflow <= 2.0.0
3333
Keras-Py37-tf2.0.0:
3434
python.version: '3.7'
35-
ONNX_PATH: onnx==1.10.1
35+
ONNX_PATH: onnx==1.10.2
3636
KERAS: keras==2.3.1
3737
TENSORFLOW_PATH: tensorflow==2.0.0
3838
INSTALL_ORT: pip install onnxruntime==1.9.0
@@ -50,20 +50,20 @@ jobs:
5050
############ TF Keras Unit Tests ############
5151
Python36-tf-1.15:
5252
python.version: '3.6'
53-
ONNX_PATH: onnx==1.10.1
53+
ONNX_PATH: onnx==1.10.2
5454
TENSORFLOW_PATH: tensorflow==1.15.0
5555
INSTALL_ORT: pip install onnxruntime==1.9.0
5656

5757
Python37-tf2.3:
5858
python.version: '3.7'
59-
ONNX_PATH: onnx==1.10.1
59+
ONNX_PATH: onnx==1.10.2
6060
TENSORFLOW_PATH: tensorflow-cpu==2.3.0
6161
INSTALL_ORT: pip install onnxruntime==1.9.0
6262

6363
############ Pure Keras Unit Tests ############
6464
Keras-Py37-tf2.2.0:
6565
python.version: '3.7'
66-
ONNX_PATH: onnx==1.10.1
66+
ONNX_PATH: onnx==1.10.2
6767
KERAS: keras==2.4.3
6868
TENSORFLOW_PATH: tensorflow==2.2.0
6969
INSTALL_ORT: pip install onnxruntime==1.9.0

tests/run_pretrained_models.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ ssd_mobilenet_v3_large_coco:
337337
opset_constraints:
338338
"onnx":
339339
"min": 10
340-
"max": 14 # FIXME, temorary until onnx-1.10.2 is out
340+
"max": 15
341341
input_get: get_beach
342342
inputs:
343343
"normalized_input_image_tensor:0": [1, 320, 320, 3]
@@ -432,7 +432,7 @@ faster_rcnn_inception_v2_coco:
432432
opset_constraints:
433433
"onnx":
434434
"min": 11
435-
"max": 14 # FIXME: temporary until onnx-1.10.2 is out
435+
"max": 15
436436
input_get: get_beach
437437
inputs:
438438
"image_tensor:0": [1, 224, 224, 3]

0 commit comments

Comments
 (0)