Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix unwanted color change in processed images #260

Closed
wants to merge 1 commit into from

Conversation

lstein
Copy link

@lstein lstein commented Sep 9, 2022

GFPGAN is changing the color of processed images by making them darker.
This PR fixes the problem - it is just two lines.
See invoke-ai/InvokeAI#169 for an illustrated description of the problem.

@dearkafka
Copy link

yep, as reported in #161

@lstein
Copy link
Author

lstein commented Sep 11, 2022

It doesn't look like this repository is maintained? Last commit was seven months ago.

@xinntao
Copy link
Member

xinntao commented Sep 12, 2022

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.

@lstein lstein closed this Apr 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants