Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
diffusers
Commits
75bb6d2d
Unverified
Commit
75bb6d2d
authored
Oct 07, 2022
by
Justin Chu
Committed by
GitHub
Oct 07, 2022
Browse files
Fix ONNX conversion script opset argument type (#739)
The opset argument should be an `int` but was set as a `str`.
parent
906e4105
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
scripts/convert_stable_diffusion_checkpoint_to_onnx.py
scripts/convert_stable_diffusion_checkpoint_to_onnx.py
+1
-1
No files found.
scripts/convert_stable_diffusion_checkpoint_to_onnx.py
View file @
75bb6d2d
...
...
@@ -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."
,
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment