Fix ONNX conversion script opset argument type (#739)

The opset argument should be an `int` but was set as a `str`.
This commit is contained in:
Justin Chu 2022-10-07 06:47:43 -07:00 committed by GitHub
parent 906e4105d7
commit 75bb6d2d46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -206,7 +206,7 @@ if __name__ == "__main__":
parser.add_argument(
"--opset",
default=14,
type=str,
type=int,
help="The version of the ONNX operator set to use.",
)