|
@@ -83,7 +83,7 @@ def main():
|
|
if args.face_enhance: # Use GFPGAN for face enhancement
|
|
if args.face_enhance: # Use GFPGAN for face enhancement
|
|
from gfpgan import GFPGANer
|
|
from gfpgan import GFPGANer
|
|
face_enhancer = GFPGANer(
|
|
face_enhancer = GFPGANer(
|
|
- model_path='https://github.com/TencentARC/GFPGAN/releases/download/v0.2.0/GFPGANCleanv1-NoCE-C2.pth',
|
|
|
|
|
|
+ model_path='https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.3.pth',
|
|
upscale=args.outscale,
|
|
upscale=args.outscale,
|
|
arch='clean',
|
|
arch='clean',
|
|
channel_multiplier=2,
|
|
channel_multiplier=2,
|