当前位置:网站首页>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:


边栏推荐
猜你喜欢
随机推荐
Redis 内存满了怎么办?这样置才正确!
阿里二面:多线程间的通信方式有几种?举例说明
边缘盒子+时序数据库,美的数字化平台 iBuilding 背后的技术选型
【leetcode】剑指 Offer II 008. 和大于等于 target 的最短子数组(滑动窗口,双指针)
力扣刷题之分数加减运算(每日一题7/27)
LeetCode 622. 设计循环队列
虚拟机vmware设置桥接模式上网
百利药业IPO过会:扣非后年亏1.5亿 奥博资本是股东
软件测试技术之如何编写测试用例(3)
「游戏建模干货」建模大师几步操作,学习经典,赶紧脑补一下吧
if/else或switch替换为Enum
【leetcode】剑指 Offer II 007. 数组中和为 0 的三个数(双指针)
LOL英雄联盟卡顿掉帧问题解决办法 2022年8月1日
关于2022年度深圳市技术攻关重大项目的申报通知
redis常用命令,HSET,XADD,XREAD,DEL等
【leetcode】剑指 Offer II 009. 乘积小于 K 的子数组(滑动窗口、双指针)
Handler source code analysis
友宏医疗与Actxa签署Pre-M Diabetes TM 战略合作协议
go语言实现导出string字符串到文件中
Calculation of the array serial number of Likou brush questions (one question per day 7/28)











