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
0f04e799
Commit
0f04e799
authored
Feb 07, 2023
by
Patrick von Platen
Browse files
fix vae pt script
parent
1051ca81
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
scripts/convert_vae_pt_to_diffusers.py
scripts/convert_vae_pt_to_diffusers.py
+2
-0
No files found.
scripts/convert_vae_pt_to_diffusers.py
View file @
0f04e799
...
@@ -146,4 +146,6 @@ if __name__ == "__main__":
...
@@ -146,4 +146,6 @@ if __name__ == "__main__":
parser
.
add_argument
(
"--vae_pt_path"
,
default
=
None
,
type
=
str
,
required
=
True
,
help
=
"Path to the VAE.pt to convert."
)
parser
.
add_argument
(
"--vae_pt_path"
,
default
=
None
,
type
=
str
,
required
=
True
,
help
=
"Path to the VAE.pt to convert."
)
parser
.
add_argument
(
"--dump_path"
,
default
=
None
,
type
=
str
,
required
=
True
,
help
=
"Path to the VAE.pt to convert."
)
parser
.
add_argument
(
"--dump_path"
,
default
=
None
,
type
=
str
,
required
=
True
,
help
=
"Path to the VAE.pt to convert."
)
args
=
parser
.
parse_args
()
vae_pt_to_vae_diffuser
(
args
.
vae_pt_path
,
args
.
dump_path
)
vae_pt_to_vae_diffuser
(
args
.
vae_pt_path
,
args
.
dump_path
)
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