Skip to content

Stable Diffusion XL with Dreambooth and Lora: how to structure dataset with a custom captioning locally #6671

Answered by a-r-r-o-w
SylwiaNowakowska asked this question in Q&A
Discussion options

You must be logged in to vote

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 to pip install datasets in order to use the dataset_name argument.

You might also need --caption_column="text" or whatever the attribute containing the prompts is called.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
6 replies
@a-r-r-o-w
Comment options

@SylwiaNowakowska
Comment options

@SylwiaNowakowska
Comment options

@Valdiolus
Comment options

@Valdiolus
Comment options

Answer selected by SylwiaNowakowska
Comment options

You must be logged in to vote
1 reply
@linoytsaban
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants