Stable Diffusion XL with Dreambooth and Lora: how to structure dataset with a custom captioning locally #6671
-
Hi! accelerate launch train_dreambooth_lora_sdxl_0_25.py The question is how should my folder structure look like? Currently, the Dataset folder has a following structure data/metadata.jsonl With metadata.jsonl file structured like this: However I get then The same error happens with a following structure: data/metadata.jsonl With metadata.jsonl file structured like this: I would appreciate your help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Hi @SylwiaNowakowska, I believe you're following the advanced sdxl lora blog for training. If not, the guide explains some great techniques for achieving good results and I'd highly recommend you checking it out. Could you try running with You might also need |
Beta Was this translation helpful? Give feedback.
-
Cc: @linoytsaban too in case you have anything more to add. |
Beta Was this translation helpful? Give feedback.
Hi @SylwiaNowakowska, I believe you're following the advanced sdxl lora blog for training. If not, the guide explains some great techniques for achieving good results and I'd highly recommend you checking it out.
Could you try running with
--dataset_name=/home/Dataset/data
instead of--instance_data_dir
? The latter is for when you're not using multi-caption datasets. You'd also need topip install datasets
in order to use thedataset_name
argument.You might also need
--caption_column="text"
or whatever the attribute containing the prompts is called.