Closed Saduff closed 11 months ago
It seems it should be example["image"]
on that line instead of example["images"]
. Making that change lets it continue to the next line where another KeyError
occurs:
File "D:\stable-diffusion-webui\extensions\sd_dreambooth_extension\dreambooth\train_dreambooth.py", line 721, in <listcomp>
add_text_embeds += [example["class_added_cond_kwargs"]["text_embeds"] for example in examples if
KeyError: 'class_added_cond_kwargs'
Not sure if that should also be changed to instance_added_cond_kwargs
like in the lines right above.
@Saduff did that fix work?
I have the same issue @Saduff do you find a way to fix it ?
I haven't found a way to fix it. I didn't try to change it to instance_added_cond_kwargs
as I'm not sure it's correct per the comment:
# Concat class and instance examples for prior preservation.
I'm not sure how it works for @d8ahazard.
This issue is stale because it has been open 5 days with no activity. Remove stale label or comment or this will be closed in 5 days
Issue is still there on the latest commit (34690769c2cfb78d5760ba0003fdf55af0faf372).
This issue is stale because it has been open 5 days with no activity. Remove stale label or comment or this will be closed in 5 days
Is there an existing issue for this?
What happened?
Attempting to train on the SDXL branch results in
KeyError: 'images'
:Steps to reproduce the problem
Commit and libraries
Command Line Arguments
Console logs