pixeli99 / SVD_Xtend

Stable Video Diffusion Training Code and Extensions.
574 stars 55 forks source link

Maybe there's a mistake with the value range when sending the image into the VAE. #16

Closed bugWholesaler closed 3 months ago

bugWholesaler commented 9 months ago

here you send an image with values ranging from [0,1] into the VAE, but the VAE expects the input value range to be [-1, 1].

sayakpaul commented 9 months ago

Yes, that indeed seems to be the case.

pixeli99 commented 9 months ago

Yes, I overlooked this aspect, the normalization for images in my dataloader is incorrect, I will fix this.

pixeli99 commented 9 months ago

Fixed. 5d155c1326f1a5db45618054f222c867c59067ef