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

SpacedSampler.sample_ccsr() got an unexpected keyword argument 'cond_fn' #7

Closed s1mple-boy closed 8 months ago

s1mple-boy commented 8 months ago

You use sample_ccsr in inference_ccsr.py line 71, which lead to the problem shown in the title.

Is there a name written wrong?

csslc commented 8 months ago

Hello, Thank you for your question! The bug has been fixed. You can update the 'inference_ccsr.py' now, and see if the problem has been solved.

s1mple-boy commented 8 months ago

Thank you, I run the inference code successfully now.