csslc / CCSR

Official codes of CCSR: Improving the Stability of Diffusion Models for Content Consistent Super-Resolution
https://csslc.github.io/project-CCSR/
436 stars 32 forks source link

Line at bottom #3

Open AIisCool opened 8 months ago

AIisCool commented 8 months ago

Have noticed a line at the bottom of the images.

image

Unsure why this happens. Using default settings.

csslc commented 8 months ago

Hello. The padding strategy is used in 'inference_ccsr.py' to make the input LR image size be a multiple of 64, which may be the reason of this problem. We have updated the inference code to change the padding strategy to resize strategy. You can try again and see if the problem has been solved.