mirror of
https://github.com/TencentARC/GFPGAN.git
synced 2026-10-17 04:40:55 +08:00
fix bug: upscale_factor
This commit is contained in:
@@ -113,7 +113,7 @@ if __name__ == '__main__':
|
||||
|
||||
# initialize face helper
|
||||
face_helper = FaceRestoreHelper(
|
||||
upscale_factor=1, face_size=512, crop_ratio=(1, 1), det_model='retinaface_resnet50', save_ext='png')
|
||||
args.upscale_factor, face_size=512, crop_ratio=(1, 1), det_model='retinaface_resnet50', save_ext='png')
|
||||
|
||||
img_list = sorted(glob.glob(os.path.join(args.test_path, '*')))
|
||||
for img_path in img_list:
|
||||
|
||||
Reference in New Issue
Block a user