Dreambooth Training SDXL Using Kohya_SS (Windows)
<p>I will skip what SDXL is since I’ve already covered that in my <a href="https://medium.com/@yushantripleseven/dreambooth-sdxl-using-kohya-ss-on-vast-ai-10e1bfa26eed#98d5" rel="noopener">vast.ai guide</a> so I’ll just jump right in. If you want a more in-depth read about SDXL then I recommend <a href="https://medium.com/towards-data-science/the-arrival-of-sdxl-1-0-4e739d5cc6c7" rel="noopener"><strong>The Arrival of SDXL</strong></a> by Ertuğrul Demir</p>
<p><strong>kohya_ss</strong> supports training for LoRA, Textual Inversion but this guide will just focus on the Dreambooth method. Much of the following still also applies to training on top of the older SD1.5 and SD2.x models.</p>
<p>There are two ways to go about training the Dreambooth method:</p>
<p><strong>Token+class Method</strong>: Trains to associate the subject or concept with a specific token word (identifier)+class. i.e. <code><strong>“ohwx person”</strong></code> No need to provide captions. For example, if you use it to train a specific character, it is easy because you do not need to prepare a caption, but all features of the training dataset such as hairstyle, clothes, background, etc. are learned by being linked to the token word identifier, so when generating, there may be situations where you can’t change clothes easily with prompts.</p>
<p><strong>Caption Method</strong>: This involves creating a text file containing captions that describe each image in the dataset. For example, if you want to train a specific character, by describing the details of the image in the caption i.e.<code><strong>“ohwx person wearing a white shirt, standing in the middle of a busy street, people in the background.”</strong></code>, you can separate the subject from other elements, making it more precise. You can leave out the class word <code><strong>“person”</strong></code> from the caption and some people prefer the results this way. It is best to experiment and see which works best for you.</p>
<p><a href="https://medium.com/@yushantripleseven/dreambooth-training-sdxl-using-kohya-ss-windows-7d2491460608"><strong>Visit Now</strong></a></p>