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
7e5587a5
Unverified
Commit
7e5587a5
authored
Aug 25, 2023
by
Will Berman
Committed by
GitHub
Aug 25, 2023
Browse files
instance_prompt->class_prompt (#4784)
parent
dc8da1d4
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_lora.py
examples/dreambooth/train_dreambooth_lora.py
+1
-1
No files found.
examples/dreambooth/train_dreambooth_lora.py
View file @
7e5587a5
...
...
@@ -999,7 +999,7 @@ def main(args):
validation_prompt_encoder_hidden_states
=
None
if
args
.
class_prompt
is
not
None
:
pre_computed_class_prompt_encoder_hidden_states
=
compute_text_embeddings
(
args
.
instance
_prompt
)
pre_computed_class_prompt_encoder_hidden_states
=
compute_text_embeddings
(
args
.
class
_prompt
)
else
:
pre_computed_class_prompt_encoder_hidden_states
=
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