Replies: 13 comments
-
in Weights and Biases? I notice the images look remarkably bad there. |
Beta Was this translation helpful? Give feedback.
-
here is one of my validation samples. |
Beta Was this translation helpful? Give feedback.
-
Could you be more specific? I am not getting it. |
Beta Was this translation helpful? Give feedback.
-
wandb.ai tracking site |
Beta Was this translation helpful? Give feedback.
-
Oh that, no I open image directly in jupyter. Them look the same as on wandb. |
Beta Was this translation helpful? Give feedback.
-
your sample image looks great. I suspect it has something to do with my training subject, which is something SDXL base model is terrible at, but this does not explain why comfy does not look blotchy, although the content is same as bad. Will do more experiment. |
Beta Was this translation helpful? Give feedback.
-
i've done thousands of steps on v-prediction and terminal SNR with this image, to specifically address blotchy images which to me seem to be caused by offset noise in the base model |
Beta Was this translation helpful? Give feedback.
-
blotchy SDXL example: |
Beta Was this translation helpful? Give feedback.
-
It turns out to be the scheduler difference. The default ddim scheduler outputs bad quality while euler-a is much better. I tried changing the scheduler but didn't do it right the first time. Now the samples are very close to inference's quality. Case closed. Thanks for help! |
Beta Was this translation helpful? Give feedback.
-
Euler A is pretty unstable, and it's not very indicative of whether the model works or not, but if it's doing what you need then arguably it's fine for your local use case. DDIM is likely not doing as well as Euler A because of the default DDIM config. try |
Beta Was this translation helpful? Give feedback.
-
That's good info, I did use SAI's huggingface version of SDXL, and now I see it comes with a scheduler config for Euler, but not DDIM, and there is one setting that is different. Will give it a try. That might explain why Euler A worked much better. |
Beta Was this translation helpful? Give feedback.
-
No I tried and it did not make a difference. I can see DDIM's config.json uses "trailing" setting and Euler's uses "leading", other than that there is no difference between the two scheduler_config.json files. I didn't change the default arg setting of "trailing" either, so Euler-A was using "trailing" and that didn't cause noticable issue. Maybe there are other things that I am missing.. I didn't download the full model from ptx0/sdxl-base, only replaced that json file. Or do I need to replace more file/do a full download? |
Beta Was this translation helpful? Give feedback.
-
beyond that, my |
Beta Was this translation helpful? Give feedback.
-
Well this is more of a question than issue report. In all my experiment runs with different datasets, the sample image always has a feel of "blotchy-ness", right from the start to the end. It gets a little better at late epochs, but never goes away. To rule out potential causes from my training parameters, I run a train with lr 1e-9, sample at 1st step and save model. The sample still has that blotchy feel. I then used that model in comfy to generate some images with the same prompt, and the inference images are absolutely not blotchy. Other than that sample images are very similar to inference images.
I forgot to save these examples , will generate them again if needed for this discussion. Also the datasets I have tested are of same subject category, maybe need to try more training subject types.
Wonder what could be the cause.
Beta Was this translation helpful? Give feedback.
All reactions