使用CodeFormer实现旧照片修复


参考这里:
https://www.freedidi.com/7749.html
使用以下命令:


git clone https://github.com/sczhou/CodeFormer
cd CodeFormer
pip install -r requirements.txt -q
pip install -q gradio
python basicsr/setup.py develop

我在 centos8上面安装碰到的坑整理一下。

必须使用 python3.8 才成功。
结合 chatgpt,终于成功了。





















































































评论

此博客中的热门博文

在南京见到的农民工午饭情景

购买了iacces for iPad

在 Mac M1 CPU 上编译ffmpeg,并支持 opencl和videotoolbox