pixeli99 / SVD_Xtend

Stable Video Diffusion Training Code and Extensions.
553 stars 51 forks source link

fix init image latent scale #3

Closed CiaraStrawberry closed 8 months ago

CiaraStrawberry commented 8 months ago

As you can see here: https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/stable_video_diffusion/pipeline_stable_video_diffusion.py

during the forward pass, the init image shouldn't be scaled by the vae.config.scaling_factor, only the latents

pixeli99 commented 8 months ago

Thank you very much for pointing out the mistake, I have already merged the change.