1 Star 2 Fork 2

jeremiah_hu/Bringing-Old-Photos-Back-to-Life

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
download-weights 847 Bytes
一键复制 编辑 原始数据 按行查看 历史
Chenxi 提交于 2021-09-17 10:54 . reformatted
#!/bin/sh
cd Face_Enhancement/models/networks
git clone https://github.com/vacancy/Synchronized-BatchNorm-PyTorch
cp -rf Synchronized-BatchNorm-PyTorch/sync_batchnorm .
cd ../../../
cd Global/detection_models
git clone https://github.com/vacancy/Synchronized-BatchNorm-PyTorch
cp -rf Synchronized-BatchNorm-PyTorch/sync_batchnorm .
cd ../../
# download the landmark detection model
cd Face_Detection/
wget http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2
bzip2 -d shape_predictor_68_face_landmarks.dat.bz2
cd ../
# download the pretrained model
cd Face_Enhancement/
wget https://facevc.blob.core.windows.net/zhanbo/old_photo/pretrain/Face_Enhancement/checkpoints.zip
unzip checkpoints.zip
cd ../
cd Global/
wget https://facevc.blob.core.windows.net/zhanbo/old_photo/pretrain/Global/checkpoints.zip
unzip checkpoints.zip
cd ../
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/hu_fei111/bringing-old-photos-back-to-life.git
git@gitee.com:hu_fei111/bringing-old-photos-back-to-life.git
hu_fei111
bringing-old-photos-back-to-life
Bringing-Old-Photos-Back-to-Life
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385