""" Modified from https://github.com/TencentARC/GFPGAN """