Skip to content

Commit 25ff79a

Browse files
Fix wrong model version, it's not 12 (the onnx_opset_version()), not 11 (the opset version of the latest stable), but 10 (#2478)
Co-authored-by: Ke Zhang <kezhan@microsoft.com>
1 parent 7cebaed commit 25ff79a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

onnx/backend/test/case/model/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ def expect(model, # type: ModelProto
3535
))
3636

3737

38+
base_model_opset_version = 10
3839
BASE_URL = 'https://s3.amazonaws.com/download.onnx/models/opset_{}'.format(
39-
onnx.defs.onnx_opset_version())
40+
base_model_opset_version)
4041

4142

4243
def collect_testcases(): # type: () -> List[TestCase]

0 commit comments

Comments
 (0)