开源项目:https://github.com/microsoft/Bringing-Old-Photos-Back-to-Life
1、执行以下代码安装依赖。
pip install -r requirements.txt2、没有划痕修复命令。
python run.py --input_folder E:\github\Bringing-Old-Photos-Back-to-Life\photos\old --output_folder E:\github\Bringing-Old-Photos-Back-to-Life\photos\new --GPU -1 --HR3、有划痕修复命令。
python run.py --input_folder E:\github\Bringing-Old-Photos-Back-to-Life\photos\old --output_folder E:\github\Bringing-Old-Photos-Back-to-Life\photos\new --with_scratch --GPU -1 --HR1、no module named cv2。
执行以下代码安装依赖:pip install -r requirements.txt