bmaltais / kohya_ss

Apache License 2.0
9.45k stars 1.22k forks source link

SD# Not seeing any samples #2633

Open jpXerxes opened 2 months ago

jpXerxes commented 2 months ago

Sample folder is created with a prompts.txt, but no samples. Makes it hard to know how mar to take training.

bmaltais commented 2 months ago

Hummm I have not addressed that… I will need to see how I can wire the version of SD3 image creation to create samples for SD3.

WarAnakin commented 2 months ago

the OP is correct. No samples are being generated, tried a bunch of things.

araleza commented 2 months ago

There's no official support for SD3 sampling while training yet, but if you're okay with modifying a local sd-scripts code file, this will make most basic sampling features work:

https://github.com/kohya-ss/sd-scripts/pull/1374#issuecomment-2219812726

jpXerxes commented 2 months ago

There's no official support for SD3 sampling while training yet, but if you're okay with modifying a local sd-scripts code file, this will make most basic sampling features work:

kohya-ss/sd-scripts#1374 (comment)

Didn't work for me. Tried it with sample x steps, and sample x epochs, neither did anything.

araleza commented 2 months ago

Didn't work for me. Tried it with sample x steps, and sample x epochs, neither did anything.

Try putting a print statement before that section of code to check it's actually being picked up. And maybe one inside the if statement too, to see if it gets in there. It should work with --sample_every_n_steps=<n> in place on the command line.