Skip to content

Commit

Permalink
Fix wrong model version, it's not 12 (the onnx_opset_version()), not …
Browse files Browse the repository at this point in the history
…11 (the opset version of the latest stable), but 10 (#2478)

Co-authored-by: Ke Zhang <[email protected]>
  • Loading branch information
daquexian and linkerzhang committed Jan 3, 2020
1 parent 7cebaed commit 25ff79a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion onnx/backend/test/case/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ def expect(model, # type: ModelProto
))


base_model_opset_version = 10
BASE_URL = 'https://s3.amazonaws.com/download.onnx/models/opset_{}'.format(
onnx.defs.onnx_opset_version())
base_model_opset_version)


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

0 comments on commit 25ff79a

Please sign in to comment.