set face restore upscale to 1; realesrgan till to 512

This commit is contained in:
Qing
2023-04-03 13:19:26 +08:00
parent ed798bb47c
commit dd1d45aa79
3 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ class GFPGANPlugin(BasePlugin):
# Use GFPGAN for face enhancement
self.face_enhancer = MyGFPGANer(
model_path=model_path,
upscale=2,
upscale=1,
arch="clean",
channel_multiplier=2,
device=device,