kohya_ss icon indicating copy to clipboard operation
kohya_ss copied to clipboard

Sample prompt issue in 24.0.1

Open jehe79 opened this issue 10 months ago • 2 comments

When training a lora in Ubuntu 22.04, samples turn out as houses. Reason seems to be that gui prompt is saved in ~/projectname/model/sample/prompt.txt But when training starts there's an empty prompt.txt directly under ~/projectname/model/prompt.txt

Copying the prompt.txt file to the model path gives the correct samples.

Thanks for a great tool!

Edit: tmpfilelora.toml contains sample_prompts = "/home/username/kohya_projects/projectname/model/prompt.txt" But the prompt from gui is written to the sample folder.

jehe79 avatar Apr 17 '24 18:04 jehe79

OK... I might have broken the prompt with the code shuffling... I will try to fix that tonight ;-) Thank you for pointing this out.

bmaltais avatar Apr 17 '24 19:04 bmaltais

OK, I have pushed a fix for the sample prompt issue to the dev branch.

bmaltais avatar Apr 17 '24 21:04 bmaltais