GFPGAN icon indicating copy to clipboard operation
GFPGAN copied to clipboard

Gray setting ?

Open gravitydeep opened this issue 2 years ago • 3 comments

Linux 20.04 rtx 3060

Hello is that someone to explain me clearly how to configure the file .yml to colorize photos that are in black and white (gray) and then what is the command to launch because I am a beginner and I do not understand at all except the command that is on the rest to improve the quality, can you give me examples please thank you

gravitydeep avatar Jun 10 '22 18:06 gravitydeep

  • Maybe, you should use GFPGANv1.pth. Please see https://github.com/TencentARC/GFPGAN#european_castle-model-zoo.
  • Or you can use RestoreFormer. Here is an example command: python inference_gfpgan.py -i inputs/my_faces -o results/my_faces -v RestoreFormer -s 2 --suffix fixedRF
  • Picture example of RestoreFormer : Paris_Hilton_crop_00

  • For full picture, you should use GFGAN with some colorization libs, such as DeOldify, colorization, colornet
  • Picture example of GFGAN V1.4 + colorization: Paris_siggraph17

AlionSSS avatar Sep 02 '23 03:09 AlionSSS

For full picture, you should use GFGAN with some colorization libs, such as DeOldify, colorization, colornet

Is this a separate step after the GFPGAN processing @AlionSSS ? Wondering if there's any easy way to use v1 for black and white images and v1.4 for regular images.

luchaoqi avatar Apr 12 '24 23:04 luchaoqi

For full picture, you should use GFGAN with some colorization libs, such as DeOldify, colorization, colornet

Is this a separate step after the GFPGAN processing @AlionSSS ? Wondering if there's any easy way to use v1 for black and white images and v1.4 for regular images.

Yes

AlionSSS avatar Apr 13 '24 15:04 AlionSSS