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
078df46b
Unverified
Commit
078df46b
authored
Aug 15, 2023
by
Wang Qiang
Committed by
GitHub
Aug 15, 2023
Browse files
An invalid clerical error in sdxl finetune (#4608)
parent
15782fd5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
examples/text_to_image/train_text_to_image_lora_sdxl.py
examples/text_to_image/train_text_to_image_lora_sdxl.py
+0
-1
No files found.
examples/text_to_image/train_text_to_image_lora_sdxl.py
View file @
078df46b
...
...
@@ -1051,7 +1051,6 @@ def main(args):
text_input_ids_list
=
[
batch
[
"input_ids_one"
],
batch
[
"input_ids_two"
]],
)
unet_added_conditions
.
update
({
"text_embeds"
:
pooled_prompt_embeds
})
prompt_embeds
=
prompt_embeds
model_pred
=
unet
(
noisy_model_input
,
timesteps
,
prompt_embeds
,
added_cond_kwargs
=
unet_added_conditions
).
sample
...
...
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