From 2ba4d8eaed310b8143ec9f0ebe0789b777a429ae Mon Sep 17 00:00:00 2001 From: Silversith Date: Wed, 19 Apr 2023 11:43:04 +0200 Subject: [PATCH] Update __init__.py --- custom_nodes/facerestore/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_nodes/facerestore/__init__.py b/custom_nodes/facerestore/__init__.py index 3890cfc81..6557306aa 100644 --- a/custom_nodes/facerestore/__init__.py +++ b/custom_nodes/facerestore/__init__.py @@ -120,7 +120,7 @@ class FaceRestoreWithModel: device = model_management.get_torch_device() upscale_model.to(device) if self.face_helper is None: - self.face_helper = FaceRestoreHelper(1, face_size=768, crop_ratio=(1, 1), det_model=facedetection, save_ext='png', use_parse=True, device=device) + self.face_helper = FaceRestoreHelper(1, face_size=512, crop_ratio=(1, 1), det_model=facedetection, save_ext='png', use_parse=True, device=device) image_np = 255. * image_itm.cpu().numpy().squeeze()