GFPGAN
GFPGAN copied to clipboard
fix unwanted color change in processed images
GFPGAN is changing the color of processed images by making them darker. This PR fixes the problem - it is just two lines. See https://github.com/lstein/stable-diffusion/issues/169 for an illustrated description of the problem.
yep, as reported in #161
It doesn't look like this repository is maintained? Last commit was seven months ago.
Hi @lstein
This fix is not correct, as the core network takes the RGB as input.
The 'darker' issue may come from other causes.
Also, I've tested with the images in the 'inputs' folder, this fix will change the colors.