pamparamm / sd-perturbed-attention

Perturbed-Attention Guidance and Smoothed Energy Guidance for ComfyUI and SD Forge
MIT License
213 stars 14 forks source link

Disable for High-Res Fix? #6

Closed driqeks closed 6 months ago

driqeks commented 6 months ago

Using this with Forge. Could you add an option to disable it during the Highres-fix?

It seems to look good when used without highres fix, but when used with highres fix it seems to lead to a lot of extra duplications.

pamparamm commented 6 months ago

I've added additional section where you can override PAG parameters for Hires pass. Since enabling PAG usually requires lowering CFG scale and since Forge doesn't have any options to set CFG for Hires. fix separately, I've also added slider for overriding CFG scale for Hires fix.

driqeks commented 6 months ago

Thanks! but this is confusing, I don't understand what I need to do now to disable PAG during highres-fix? does an override of the PAG scale set to 1 mean its disabled?

pamparamm commented 6 months ago

To disable PAG during hires pass, set PAG scale in override section to 0. It's written in readme under webui section