Closed Artemis1111 closed 4 weeks ago
Unfortunately, FLUX.1 fine tuning does not yet support training using metadata json. Please wait a little longer.
The RunPod is probably not the culprit. Animagine XL 3.0 was trained with 1.2 million images using sd-scripts, so it can handle at least that many images.
Thank you for the quick response. I know you're working hard, but I have just a few more questions to ask.
Does this mean that caption-based training is currently not possible? Is it not possible to conduct caption-based training not only in the fine-tuning tab but also in LoRA or other sections?
What should I change in my setup to enable the training process?
- Does this mean that caption-based training is currently not possible? Is it not possible to conduct caption-based training not only in the fine-tuning tab but also in LoRA or other sections?
You can train it by writing captions in a text file with the same filename as the image but a different extension (*.caption
for default).
2. What should I change in my setup to enable the training process?
I'm not familiar with GUI, but I think you can refer to the following page to write the dataset settings in .toml and then specify it from the GUI.
https://github.com/kohya-ss/sd-scripts/blob/main/docs/config_README-en.md
I attempted finetuning rather than using LoRA or Dreambooth, and it seems that this may have caused the error. After asking around, I learned that for Flux, being a distilled model, finetuning is currently only feasible with LoRA and Dreambooth.
My aim was not to introduce a new concept but to apply a style change across all prompts rather than focusing on specific keywords or concepts. Is it correct to say that finetuning to affect the style of the entire model's prompts is currently not possible?
Sorry for the confusion. You can train with arbitrary captions in Dreambooth format, not with specific keywords. That means you can train with the same results whether you manage metadata in .json or captions in text files.
I am unable to solve this issue.
2024-10-29 09:08:55 INFO found 0 images.
Inside the folder /workspace/finetune/image/1_example/, there are various images along with their captions. Therefore, I set /workspace/finetune/image as the image path. However, no images are being detected. At first, I thought the issue might be due to the large number of images, so I reduced it to only 4 images with their respective captions, but still, only 0 images are recognized.
I have included only four images with a resolution of 1500x1000, and I specified this resolution in kohya_ss as well.
Currently, I am attempting fine-tuning in kohya_ss (not LoRA or Dreambooth) and have encountered the issue described above. How can I get the images to be properly recognized?
P.S. I am using RunPod. Could this be related to the issue?
P.S. 2: I have a second question. How many images can kohya_ss handle? If more than 10,000 images are needed, would it still work properly with Kohya?