Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
diffusers
Commits
e92a603c
Commit
e92a603c
authored
Oct 27, 2022
by
Suraj Patil
Committed by
GitHub
Oct 27, 2022
Browse files
fix dreambooth script. (#1017)
make input_args optional
parent
1d04e1b4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/dreambooth/train_dreambooth.py
examples/dreambooth/train_dreambooth.py
+1
-1
No files found.
examples/dreambooth/train_dreambooth.py
View file @
e92a603c
...
...
@@ -26,7 +26,7 @@ from transformers import CLIPTextModel, CLIPTokenizer
logger
=
get_logger
(
__name__
)
def
parse_args
(
input_args
):
def
parse_args
(
input_args
:
None
):
parser
=
argparse
.
ArgumentParser
(
description
=
"Simple example of a training script."
)
parser
.
add_argument
(
"--pretrained_model_name_or_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