ljleb / sd-webui-freeu

a1111 implementation of https://github.com/ChenyangSi/FreeU
MIT License
307 stars 16 forks source link

Update default parameters to SD1.4 recommendations #3

Closed lewdogk closed 1 year ago

ljleb commented 1 year ago

You think the bounds are good (0 to 2) or we should change them as well?

lewdogk commented 1 year ago

It's probably best to give them a wide range to experiment with since this is very new stuff.

ljleb commented 1 year ago

Okay I'll merge and update the bounds to go from -1 to 3. we can always change the titles of the sliders later to be able to change the bounds.

Miczu commented 1 year ago

Now I'm interested to see what happens with negative values...

Nyxeka commented 1 year ago

make sure to check for --no-half before doing .to(32) and .to(16)

ljleb commented 1 year ago

The fft needs to work in fp32. I just pushed a fix that reverts to the original precision after the fft

Miczu commented 1 year ago

image Looks like once I loaded original version, the old values persists. Probably can fix it by deleting it from config... Update/reinstall didn't do it.

Miczu commented 1 year ago

"customscript/main.py/txt2img/Enable/visible": true, "customscript/main.py/txt2img/Enable/value": false, Probably needs better name for checkbox.

Miczu commented 1 year ago

Deleting those line from ui-config fixed it.

ljleb commented 1 year ago

Yeah you can delete the lines. We can also rename the sliders later if we end up shrinking the sliders range.