Spaces:
Running
Running
File size: 612 Bytes
2782137 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
'''
@paper: GAN Prior Embedded Network for Blind Face Restoration in the Wild (CVPR2021)
@author: yangxy ([email protected])
'''
import os.path as osp
import sys
def add_path(path):
if path not in sys.path:
sys.path.insert(0, path)
this_dir = osp.dirname(__file__)
path = osp.join(this_dir, 'face_detect')
add_path(path)
path = osp.join(this_dir, 'face_parse')
add_path(path)
path = osp.join(this_dir, 'face_model')
add_path(path)
path = osp.join(this_dir, 'sr_model')
add_path(path)
path = osp.join(this_dir, 'loss')
add_path(path)
path = osp.join(this_dir, 'data_loader')
add_path(path) |