


GPFGAN has a tendency to give human skin a strange ultrasmooth look, so if you notice that happening, try CodeFormer instead. While both are capable tools, GPFGAN is generally better at restoring a face's structure (eyes in particular), but CodeFormer is better at fixing skin textures. You may have to go through some trial and error to get the best possible result. This can improve or degrade the final image depending on the situation. The more you increase the weight, the more CodeFormer will try to correct. If you're using CodeFormer, you can also adjust the "weight" of its effect, which is sort of like controlling its level of strength (while the visibility slider is sort of like adjusting its correction layer's transparency). Each applies a layer of facial correction during the upscaling process to fix those spooky eyes and bizarre wrinkles. Either case is when you'd want to nudge the GPFGAN or CodeFormer visibility sliders. You've no doubt seen some of Stable Diffusion's rather horrific renditions of human faces, too. If there's a person's face the image you're blowing up, it can easily become distorted beyond recognition.

Restore Distorted Faces With GPFGAN or CodeFormer
