Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training SD1.5 Always tends to noise instead of positive imporves? #17

Open
SilverDragon-RY opened this issue Oct 31, 2024 · 0 comments

Comments

@SilverDragon-RY
Copy link

SilverDragon-RY commented Oct 31, 2024

Hi, I am trying to train SD15 on 17k random samples from laion2b. This is the the setting I am using:

accelerate launch
--main_process_port 11111
--num_processes 1
--num_cpu_threads_per_process 2
perflow_accelerate_sd.py
--data_root "???"
--resolution 512 --dataloader_num_workers 4 --train_batch_size 16 --gradient_accumulation_steps 1
--pretrained_model_name_or_path "pt-sk/stable-diffusion-1.5"
--unet_model_path ""
--pred_type "diff_eps" --loss_type "noise_matching"
--windows 4 --solving_steps 10 --support_cfg --cfg_sync
--learning_rate 2e-5 --lr_scheduler "constant" --lr_warmup_steps 500
--mixed_precision "fp16"
--output_dir "../exps/sd15_laion_org"
--validation_steps 100 --inference_steps "8" --inference_cfg "5" --save_ckpt_state --checkpointing_steps 1000
--max_train_steps 400000 \

as a result, the output image quickly fades to noise and seen no improvements till iter 37000. I have tried on a variety settings of dataset/LR settings/base-models but all the same. Does this phenomenon fits your observation or is there something wrong I am doing?

Ps: sample below
sample-4_r0 (4)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant