mirror of
https://github.com/TencentARC/GFPGAN.git
synced 2026-02-16 14:24:37 +00:00
[Question] How do I make GFPGAN colorize images on huggingface? #299
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nixtoshi on GitHub (Jan 15, 2023).
I've noticed that I don't get colorization on the main sites to demo GFPGAN, is there a way to enable this from https://huggingface.co/spaces/Xintao/GFPGAN ?
Or how would I go about doing this, I'm guessing I'd have to run it in my own server with certain settings or on google colab with custom settings because by default I'm not getting colorization or having that option.
Tried all the versions and the RestoreFormer with these 2 images black and white images:
https://cdn.discordapp.com/attachments/472083679104073738/1064165133502394369/night_vision_example_black_and_white.jpg
https://cdn.discordapp.com/attachments/472083679104073738/1064165133284278422/night_vision_example_black_and_white_copy.jpg
@AlionSSS commented on GitHub (Sep 2, 2023):
Like this?

or this?

There is a solution. https://github.com/TencentARC/GFPGAN/issues/201#issuecomment-1703679814
@nixtoshi commented on GitHub (Sep 3, 2023):
Thanks for the reply! I used DeepAI for this: https://deepai.org/machine-learning-model/colorizer