1 Star 2 Fork 1

binghai/GPEN

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
__init_paths.py 448 Bytes
一键复制 编辑 原始数据 按行查看 历史
柏灌 提交于 2021-10-22 13:42 . add sr model
'''
@paper: GAN Prior Embedded Network for Blind Face Restoration in the Wild (CVPR2021)
@author: yangxy (yangtao9009@gmail.com)
'''
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, 'retinaface')
add_path(path)
path = osp.join(this_dir, 'face_model')
add_path(path)
path = osp.join(this_dir, 'sr_model')
add_path(path)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/binghai228/GPEN.git
git@gitee.com:binghai228/GPEN.git
binghai228
GPEN
GPEN
main

搜索帮助