Train sdxl controlnet with playground v2.5 got blank black images #7391
Replies: 4 comments 5 replies
-
You need to ensure you're applying the EDM related changes rigorously and thoroughly. #7126 gives an idea of the changes need to be done. |
Beta Was this translation helpful? Give feedback.
-
@sayakpaul train_controlnet_sdxl.py after modified (i use mixed_precision="fp16" to train. But mixed_precision="no" also get black images):
|
Beta Was this translation helpful? Give feedback.
-
@windson87 @universewill |
Beta Was this translation helpful? Give feedback.
-
Just incase if someone get same problem, below are the steps that resolved my problem
|
Beta Was this translation helpful? Give feedback.
-
I try to train controlnet sdxl with playground v2.5. I saw the loss is smaller as training is on. But the validation image is ok at first few steps, but as the training is going on, the validation result images become full of noise like below. How to solve it?
I use the train_controlnet_sdxl.py to train and modify the scheduler in log validation function to EDMDPMSolverMultistepScheduler (The result is black image if not modified). I also change vae to [madebyollin/sdxl-vae-fp16-fix as the https://github.com/huggingface/diffusers/blob/main/examples/controlnet/README_sdxl.md#notes
I also tried not using madebyollin/sdxl-vae-fp16-fix vae, and the validation image results truns out to be all blank black images
Beta Was this translation helpful? Give feedback.
All reactions