LORA fine-tuning with .txt caption files? #23
sashasubbbb
started this conversation in
General
Replies: 1 comment 2 replies
-
Hi, I'm glad to hear the training is started. Currently LoRA fine-tuning with caption files requires the metadata in .json file. Because it assumes that both tags and captions are present. Tags and captions are combined in the .json file. However, if there is only captions or tags, .json might not be necessarily. I have a plan to refactor DreamBooth/fine tuning/LoRA training scripts to use the common Dataset class, I will consider whether I can add the training without .json file. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I'm having diffuculties adapting my dataset to these scripts. Is there any way to start LORA fine-tuning with .png files and corresponing .txt tag caption files in same directory? How do i ensure i'm starting LORA fine-tuning and not dreambooth style training? Are regularized images and .json files necessary for fine-tuning?
Thank you.
Edit: i managed to successfully start training by manually creating buckets and .jsons from .txt captions following this guide: https://github.com/kohya-ss/sd-scripts/blob/main/fine_tune_README_ja.md
I wonder can this process be automated?
Beta Was this translation helpful? Give feedback.
All reactions