mirror of
https://github.com/TencentARC/GFPGAN.git
synced 2025-05-27 20:50:09 -07:00
add inputs folder
This commit is contained in:
parent
88fd720a48
commit
14e04eaa07
@ -67,9 +67,10 @@ if __name__ == '__main__':
|
||||
|
||||
parser.add_argument('--upscale_factor', type=int, default=1)
|
||||
parser.add_argument('--model_path', type=str, default='experiments/pretrained_models/GFPGANv1.pth')
|
||||
parser.add_argument('--test_path', type=str, default='inputs')
|
||||
parser.add_argument('--test_path', type=str, default='inputs/whole_imgs')
|
||||
parser.add_argument('--suffix', type=str, default=None, help='Suffix of the restored faces')
|
||||
parser.add_argument('--only_center_face', action='store_true')
|
||||
parser.add_argument('--aligned', action='store_true')
|
||||
|
||||
args = parser.parse_args()
|
||||
if args.test_path.endswith('/'):
|
||||
@ -107,6 +108,8 @@ if __name__ == '__main__':
|
||||
face_helper,
|
||||
img_path,
|
||||
save_root,
|
||||
has_aligned=False,
|
||||
has_aligned=args.aligned,
|
||||
only_center_face=args.only_center_face,
|
||||
suffix=args.suffix)
|
||||
|
||||
print('Results are in the <results> folder.')
|
||||
|
BIN
inputs/cropped_faces/Adele_crop.png
Normal file
BIN
inputs/cropped_faces/Adele_crop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 296 KiB |
BIN
inputs/cropped_faces/Julia_Roberts_crop.png
Normal file
BIN
inputs/cropped_faces/Julia_Roberts_crop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 301 KiB |
BIN
inputs/cropped_faces/Justin_Timberlake_crop.png
Normal file
BIN
inputs/cropped_faces/Justin_Timberlake_crop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 305 KiB |
BIN
inputs/cropped_faces/Paris_Hilton_crop.png
Normal file
BIN
inputs/cropped_faces/Paris_Hilton_crop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 483 KiB |
BIN
inputs/whole_imgs/00.jpg
Normal file
BIN
inputs/whole_imgs/00.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.3 MiB |
BIN
inputs/whole_imgs/10045.png
Normal file
BIN
inputs/whole_imgs/10045.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 MiB |
Loading…
x
Reference in New Issue
Block a user