CFGpp-diffusion / CFGpp

Official repository for "CFG++: manifold-constrained classifier free guidance for diffusion models"
169 stars 5 forks source link

in which part on latent_diffusion.py i have to change for width & height?? #3

Open s9anus98a opened 5 months ago

s9anus98a commented 5 months ago

i want to change generation size from 512 x 512 to 768x768 which one should i change on latent_diffusion.py??

CFGpp-diffusion commented 5 months ago

If you would like to use latent_diffusion.py with noise to image generation, you may change the size of initial noise.

https://github.com/CFGpp-diffusion/CFGpp/blob/ee909b5b41662c41d6fb585797a0710baf24d3f0/latent_diffusion.py#L170