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
renzhc
diffusers_dcu
Commits
922d56a1
Commit
922d56a1
authored
Dec 05, 2022
by
Patrick von Platen
Browse files
Correct type from int to str in conversion script sd
parent
ae854746
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
scripts/convert_original_stable_diffusion_to_diffusers.py
scripts/convert_original_stable_diffusion_to_diffusers.py
+1
-1
No files found.
scripts/convert_original_stable_diffusion_to_diffusers.py
View file @
922d56a1
...
...
@@ -694,7 +694,7 @@ if __name__ == "__main__":
parser
.
add_argument
(
"--prediction_type"
,
default
=
None
,
type
=
int
,
type
=
str
,
help
=
(
"The prediction type that the model was trained on. Use 'epsilon' for Stable Diffusion v1.X and Stable"
" Siffusion v2 Base. Use 'v-prediction' for Stable Diffusion v2."
...
...
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