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


边栏推荐
猜你喜欢
随机推荐
epoll + 线程池 + 前后置服务器分离
高效目标检测:动态候选较大程度提升检测精度(附论文下载)
MySQL 主从,6 分钟带你掌握!
glide set gif start stop
力扣刷题之求两数之和
Redis 内存满了怎么办?这样置才正确!
软件测试回归案例,什么是回归测试?
不要再用if-else
Kettle 读取 Excel 数据输出到 Oracle 详解
Postgresql中的pg_memory_barrier_impl和C的volatile
傅里叶变换(深入浅出)
开发即时通讯到底需要什么样的技术,需要多久的时间
net-snmp编译报错:/usr/bin/ld: cannot find crti.o: No such file or directory
力扣刷题之有效的正方形(每日一题7/29)
力扣刷题之合并两个有序数组
matplotlib画polygon, circle
「游戏建模干货」建模大师几步操作,学习经典,赶紧脑补一下吧
C中的数据存储
基于DMS的数仓智能运维服务,知多少?
Radondb mysql installation problems










