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


边栏推荐
猜你喜欢

详解AST抽象语法树

Benchmarking Lane-changing Decision-making for Deep Reinforcement Learning

1161 最大层内元素和——Leetcode天天刷【BFS】(2022.7.31)

安装anaconda并创建虚拟环境

虚拟机vmware设置nat模式上网

线上一次JVM FullGC搞得整晚都没睡,彻底崩溃

友宏医疗与Actxa签署Pre-M Diabetes TM 战略合作协议

node版本切换工具NVM以及npm源管理器nrm

小马智行起诉擎天智卡:索赔6000万 彭军称要斗争到底

ECCV2022 | 用于视频问题回答的视频图Transformer
随机推荐
面试突击:什么是粘包和半包?怎么解决?
百利药业IPO过会:扣非后年亏1.5亿 奥博资本是股东
Climbing Stairs (7/30)
Radondb mysql installation problems
LeetCode 622. Designing Circular Queues
622 设计循环队列——Leetcode天天刷【循环队列,数组模拟,双指针】(2022.8.2)
relocation R_X86_64_PC32 against,/usr/bin/ld: final link failed: Bad value
C中的数据存储
从腾讯阿里等大厂出来创业搞 Web3、元宇宙的人在搞什么
Kettle 读取 Excel 数据输出到 Oracle 详解
群辉查看硬盘存储占用的方式
The addition and subtraction of the score of the force deduction brush question (a daily question 7/27)
阿里巴巴政委体系-第六章、阿里政委体系运作
软件测试回归案例,什么是回归测试?
docker mysql 容器中执行mysql脚本文件并解决乱码
标准C语言学习总结11
CC2530_ZigBee+华为云IOT:设计一套属于自己的冷链采集系统
Handler source code analysis
Handler 源码解析
揭秘5名运维如何轻松管理数亿级流量系统

