当前位置:网站首页>Detailed demonstration pytorch framework implementations old photo repair (GPU)
Detailed demonstration pytorch framework implementations old photo repair (GPU)
2022-08-03 19:41:00 【AI Algorithm Alliance】
I. Environmental description
| Environment | Version |
| System | windows10 |
| graphics card | RTX3060 |
| CUDA | 11.1.1 |
| cuDNN | 8.1.1 |
| Python | 3.8.8 |
| torch | 1.9.0+cu111 |
| torchvision | 0.10.0+cu111 |
| torchaudio | 0.9.0 |
cuda installation reference: tensorflow-gpu2.4.1 detailed steps of installation and configuration
Algorithm model download address: link: https://pan.baidu.com/s/1uGNXd5g2dKjb4zgckxiLdA
Extraction code: vqv6
Second, install dependent modules
1.Create a new virtual environment.
2. Install torch, torchvision, torchaudio modules.
pip3 install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio===0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
3. Install dependent libraries.
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple4. Store the photos to be repaired in the ./Bringing-Old-Photos-Back-to-Life/input folder
and execute the following command:
python run.py --input_folder C:\Users\Administrator\Desktop\Bringing-Old-Photos-Back-to-Life\input --output_folder C:\Users\Administrator\Desktop\Bringing-Old-Photos-Back-to-Life\output --GPU 0Execution result: 
Generate repaired photo path:

Effect comparison:


边栏推荐
猜你喜欢
随机推荐
国产虚拟化云宏CNware WinStack安装体验-5 开启集群HA
傅里叶变换(深入浅出)
CentOS 7 安装mysql
Power button brush the topic of merging two orderly array
云图说丨初识华为云微服务引擎CSE
Force is brushed buckle problem for the sum of two Numbers
【统计机器学习】线性回归模型
ctfshow php features
Kettle 读取 Excel 数据输出到 Oracle 详解
多模态 参考资料汇总
flex布局
JMeter笔记5 |Badboy使用和录制
docker mysql 容器中执行mysql脚本文件并解决乱码
简易电子琴设计(c语言)
net-snmp私有mib动态加载到snmpd
JS 内置构造函数 扩展 prototype 继承 借用构造函数 组合式 原型式creat 寄生式 寄生组合式 call apply instanceof
ADS 2023 Download Link
X86函数调用模型分析
622 设计循环队列——Leetcode天天刷【循环队列,数组模拟,双指针】(2022.8.2)
Climbing Stairs (7/30)











