当前位置:网站首页>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:
边栏推荐
- 如何理解即时通讯开发移动网络的“弱”和“慢”
- 从腾讯阿里等大厂出来创业搞 Web3、元宇宙的人在搞什么
- 七夕之前,终于整出了带AI的美丽秘笈
- 阿里巴巴政委体系-第八章、阿里政委工作方法论
- 软件测试技术之如何编写测试用例(3)
- 演讲议题及嘉宾重磅揭晓,TDengine 开发者大会推动数据技术“破局”
- Teach you to locate online MySQL slow query problem hand by hand, package teaching package meeting
- Postgresql-xl global snapshot and GTM code walking (branch line)
- 利用net-snmp的库实现snmpget,snmpset
- pg_memory_barrier_impl in Postgresql and C's volatile
猜你喜欢
随机推荐
高效目标检测:动态候选较大程度提升检测精度(附论文下载)
深入理解JVM-内存结构
阿里巴巴政委体系-第五章、阿里政委体系建设
百利药业IPO过会:扣非后年亏1.5亿 奥博资本是股东
ERROR: You don‘t have the SNMP perl module installed.
Radondb mysql installation problems
LeetCode 952. 按公因数计算最大组件大小
Compose原理-compose中是如何实现事件分法的
ECCV 2022 Oral | 满分论文!视频实例分割新SOTA: IDOL
2022 CCF中国开源大会会议通知(第三轮)
力扣刷题之有效的正方形(每日一题7/29)
CC2530_ZigBee+华为云IOT:设计一套属于自己的冷链采集系统
Benchmarking Lane-changing Decision-making for Deep Reinforcement Learning
阿里二面:多线程间的通信方式有几种?举例说明
力扣刷题之爬楼梯(7/30)
力扣刷题之合并两个有序数组
【leetcode】剑指 Offer II 007. 数组中和为 0 的三个数(双指针)
面试突击:什么是粘包和半包?怎么解决?
1161 最大层内元素和——Leetcode天天刷【BFS】(2022.7.31)
X86 function call model analysis