mirror of
https://github.com/TencentARC/GFPGAN.git
synced 2025-05-31 22:50:20 -07:00
fix bug: upscale_factor
This commit is contained in:
parent
c466b9bfdd
commit
373bf723eb
@ -113,7 +113,7 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
# initialize face helper
|
# initialize face helper
|
||||||
face_helper = FaceRestoreHelper(
|
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, '*')))
|
img_list = sorted(glob.glob(os.path.join(args.test_path, '*')))
|
||||||
for img_path in img_list:
|
for img_path in img_list:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user