set face restore upscale to 1; realesrgan till to 512
This commit is contained in:
parent
ed798bb47c
commit
dd1d45aa79
@ -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,
|
||||
|
@ -70,7 +70,7 @@ class RealESRGANUpscaler(BasePlugin):
|
||||
model_path=model_path,
|
||||
model=model_info["model"](),
|
||||
half=True if "cuda" in str(device) else False,
|
||||
tile=640,
|
||||
tile=512,
|
||||
tile_pad=10,
|
||||
pre_pad=10,
|
||||
device=device,
|
||||
|
@ -24,7 +24,7 @@ class RestoreFormerPlugin(BasePlugin):
|
||||
|
||||
self.face_enhancer = MyGFPGANer(
|
||||
model_path=model_path,
|
||||
upscale=2,
|
||||
upscale=1,
|
||||
arch="RestoreFormer",
|
||||
channel_multiplier=2,
|
||||
device=device,
|
||||
|
Loading…
Reference in New Issue
Block a user