Skip to content

Commit

Permalink
instance_prompt->class_prompt (huggingface#4784)
Browse files Browse the repository at this point in the history
  • Loading branch information
williamberman authored Aug 25, 2023
1 parent dc8da1d commit 7e5587a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/dreambooth/train_dreambooth_lora.py
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ def compute_text_embeddings(prompt):
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

Expand Down

0 comments on commit 7e5587a

Please sign in to comment.