XavierXiao / Dreambooth-Stable-Diffusion

Implementation of Dreambooth (https://arxiv.org/abs/2208.12242) with Stable Diffusion
MIT License
7.57k stars 790 forks source link

Sample images get distorted after a while #137

Open Bs990 opened 1 year ago

Bs990 commented 1 year ago

Hi, When I train with dreambooth my sample images get distorted after ~8000 steps even though I don't get any errors or high loss rate (~0.115). I tried training with xformers 0.16 and latest version of xformers with pytorch 2.0. I had the same issue with both. 1200 steps: CafAnime_20230427124705_002400_00_420420 2400 steps: CafAnime_20230427121508_001200_00_420420 8640 steps: CafAnime_20230427154118_008640_00_420420

Constant with warmup (%10) LR: 0.0000015 Noise offset 0.1 Xformers & memory efficient attention Flip augmentation fp16 AdamW8Bits 6 epoch 12 steps per file