A newer version of the Gradio SDK is available:
5.9.1
Drambootd, Lora and TI image folder structure
To ensure successful training with Kohya, it is crucial to follow a specific folder structure that provides the necessary image repeats. Please adhere to the following structure precisely:
Folder Structure Example:
c:
|
βββimages
| |
| βββ 30_cat
| | |
| | βββ image1.jpg
| | βββ image1.txt
| | βββ image2.png
| | βββ image2.txt
| |
| βββ 30_dog
| | |
| | βββ image1.jpg
| | βββ image1.txt
| | βββ image2.png
| | βββ image2.txt
| |
| βββ 40_black mamba
| |
| βββ image1.jpg
| βββ image1.txt
| βββ image2.png
| βββ image2.txt
|
βββregularization
| |
| βββ 1_cat
| | |
| | βββ reg1.jpg
| | βββ reg2.jpg
| |
| βββ 1_dog
| | |
| | βββ reg1.jpg
| | βββ reg2.jpg
| |
| βββ 1_black mamba
| |
| βββ reg1.jpg
| βββ reg2.jpg
Please note the following important information regarding file extensions and their impact on concept names during model training:
If a file with a .txt or .caption extension and the same name as an image is present in the image subfolder, it will take precedence over the concept name during the model training process. For example, if there is an image file named image1.jpg in the 30_cat subfolder, and there is a corresponding text file named image1.txt or image1.caption in the same subfolder, the concept name used during training will be determined by the content of that text file rather than the subfolder name.
Ensure that the content of such text files accurately reflects the desired concept name or any relevant caption information associated with the corresponding image.
By considering this information and maintaining the proper folder structure, including any necessary text or caption files, you can ensure a smooth and effective training process with Kohya.