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
5b78141f
Unverified
Commit
5b78141f
authored
Sep 20, 2023
by
김태민
Committed by
GitHub
Sep 20, 2023
Browse files
[FIX BUG] add config_files parser #5114 (#5115)
* add config_files parser #5114 * add config_files parser_fix #5114
parent
e312b230
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
scripts/convert_original_stable_diffusion_to_diffusers.py
scripts/convert_original_stable_diffusion_to_diffusers.py
+6
-0
No files found.
scripts/convert_original_stable_diffusion_to_diffusers.py
View file @
5b78141f
...
@@ -35,6 +35,12 @@ if __name__ == "__main__":
...
@@ -35,6 +35,12 @@ if __name__ == "__main__":
type
=
str
,
type
=
str
,
help
=
"The YAML config file corresponding to the original architecture."
,
help
=
"The YAML config file corresponding to the original architecture."
,
)
)
parser
.
add_argument
(
"--config_files"
,
default
=
None
,
type
=
str
,
help
=
"The YAML config file corresponding to the architecture."
,
)
parser
.
add_argument
(
parser
.
add_argument
(
"--num_in_channels"
,
"--num_in_channels"
,
default
=
None
,
default
=
None
,
...
...
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