-
Notifications
You must be signed in to change notification settings - Fork 106
Description
TRAIN: I follow the example and use V100 to reproduce, I just change the batch size from 4 to 1 in configs/stable-diffusion/pokemon.yaml
python main.py -t --base configs/stable-diffusion/pokemon.yaml --gpus 1 --scale_lr False --num_nodes 1 --check_val_every_n_epoch 10 --finetune_from sd-v1-4-full-ema.ckpt
TEST: After training about 300 epochs, I use scripts/txt2img.py to test:
1、first I use the original checkpoint sd-v1-4-full-ema.ckpt to test and get the below result:
python scripts/txt2img.py --prompt 'robotic cat with wings' --outdir '/outputs/generated_pokemon' --H 512 --W 512 --n_samples 4 --config '/configs/stable-diffusion/pokemon.yaml' --ckpt 'sd-v1-4-full-ema.ckpt'

2、and then I use epoch=000002.ckpt、epoch=000004.ckpt、epoch=000007.ckpt、epoch=000009.ckpt、epoch=0000012.ckpt......to test again, and the result becomes more and more like noise, and at last i only generate all black picture.
python scripts/txt2img.py --prompt 'robotic cat with wings' --outdir '/outputs/generated_pokemon' --H 512 --W 512 --n_samples 4 --config '/configs/stable-diffusion/pokemon.yaml' --ckpt 'logs/2022-10-28T12-32-02_pokemon/checkpoints/epoch=000002.ckpt'
1)epoch=000002.ckpt result:

2)epoch=000004.ckpt result:

3)epoch=000007.ckpt result:

4)epoch=000009.ckpt result:

5)epoch=000012.ckpt result:

6)epoch=000014.ckpt result:

......
7)epoch=000048.ckpt result:

Is there anyone meet the same issue? or could you someone help to solve the problem?