mirror of
https://github.com/TencentARC/GFPGAN.git
synced 2026-02-15 05:44:38 +00:00
How do you get a coloured image from a greyscale one? #63
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 @mdigiorgio on GitHub (Sep 4, 2021).
Hello,
I've tried to run inference using the pre-trained model you provide on greyscale images and was expecting something along the lines the result attached on README, but what I get is just an enhancement (a good one) of quality of the image. How did you get the model to transform that greyscale portrait into a coloured one?
Thanks for your help and really great work!
@berry120 commented on GitHub (Sep 8, 2021):
Just to check - are you using the
GFPGANv1.pthmodel or theGFPGANCleanv1-NoCE-C2.pth? The readme instructions use the latter, which has no colorisation (but also doesn't require CUDA.)@mdigiorgio commented on GitHub (Sep 8, 2021):
Hi @berry120 ,
I see, thanks a lot for the information. I'll try with the other model then :).
@celikmustafa89 commented on GitHub (Dec 13, 2021):
how about the whole image restoration. latter one only colorize the face part of the image, rest is still grayscale.
how can I colorize the whole image?