ljleb / sd-webui-freeu

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

What is the difference between version1 and version2? #41

Closed ramge132 closed 12 months ago

ramge132 commented 12 months ago

At some point, version 2 became available, what's the difference?

ljleb commented 12 months ago

In version 2 the effective backbone scale is more dynamic. In each intermediate unet latent, the distance between any feature vector and the mean is used to determine how much the backbone scale should be reduced. You can check the updated paper for a more precise explanation.

ljleb commented 12 months ago

The recommended presets are not the same exactly for v1 vs v2. I'm waiting for the official code to receive an update before updating the code here.