当前位置:网站首页>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/simple
4. 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 0
Execution result: 
Generate repaired photo path:
Effect comparison:


边栏推荐
- JS 内置构造函数 扩展 prototype 继承 借用构造函数 组合式 原型式creat 寄生式 寄生组合式 call apply instanceof
- 盲僧发现了华点——教你如何使用API接口获取数据
- Handler source code analysis
- 国产虚拟化云宏CNware WinStack安装体验-5 开启集群HA
- 简易电子琴设计(c语言)
- 【木马免杀】
- Jingdong cloud released a new generation of distributed database StarDB 5.0
- LeetCode 622. 设计循环队列
- 2022 CCF中国开源大会会议通知(第三轮)
- ADS 2023 下载链接
猜你喜欢
The ecological environmental protection management system based on mobile GIS
基于DMS的数仓智能运维服务,知多少?
深入理解JVM-内存结构
花 30 美金请 AI 画家弄了个 logo,网友:画得非常好,下次别画了!
高效目标检测:动态候选较大程度提升检测精度(附论文下载)
阿里巴巴政委体系-第七章、阿里政委培育
LeetCode 622. Designing Circular Queues
【leetcode】剑指 Offer II 008. 和大于等于 target 的最短子数组(滑动窗口,双指针)
余弦距离介绍
开发即时通讯到底需要什么样的技术,需要多久的时间
随机推荐
软件测试回归案例,什么是回归测试?
epoll + 线程池 + 前后置服务器分离
Word另存为PDF后无导航栏解决办法
设备树基本原理与操作方法
怎么将自己新文章自动推送给自己的粉丝(巨简单,学不会来打我)
flex布局
安装anaconda并创建虚拟环境
Postgresql-xl global snapshot and GTM code walking (branch line)
docker mysql 容器中执行mysql脚本文件并解决乱码
友宏医疗与Actxa签署Pre-M Diabetes TM 战略合作协议
List类的超详细解析!(超2w+字)
Matlab论文插图绘制模板第42期—气泡矩阵图(相关系数矩阵图)
ctfshow php特性
pytorch框架实现老照片修复功能详细演示(GPU版)
力扣刷题之有效的正方形(每日一题7/29)
盘点在线帮助中心对企业能够起到的作用
Postgresql源码(64)查询执行——子模块Executor(2)执行前的数据结构和执行过程
基于DMS的数仓智能运维服务,知多少?
X86 function call model analysis
Teach you to locate online MySQL slow query problem hand by hand, package teaching package meeting