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:
parent
906e4105d7
commit
75bb6d2d46
@ -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.",
|
||||
)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user