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


边栏推荐
猜你喜欢
随机推荐
基于移动GIS的环保生态管理系统
Unity gets the actual coordinates of the ui on the screen under the canvas
CC2530_ZigBee+华为云IOT:设计一套属于自己的冷链采集系统
设备树基本原理与操作方法
友宏医疗与Actxa签署Pre-M Diabetes TM 战略合作协议
【STM32】标准库-自定义BootLoader
Postgresql中的pg_memory_barrier_impl和C的volatile
阿里巴巴政委体系-第九章、阿里政委启示录
阿里二面:多线程间的通信方式有几种?举例说明
JMeter笔记5 |Badboy使用和录制
【leetcode】剑指 Offer II 007. 数组中和为 0 的三个数(双指针)
关于2022年度深圳市技术攻关重大项目的申报通知
安装anaconda并创建虚拟环境
1161 最大层内元素和——Leetcode天天刷【BFS】(2022.7.31)
2022 CCF中国开源大会会议通知(第三轮)
阿里巴巴政委体系-第八章、阿里政委工作方法论
虚拟机vmware设置nat模式上网
Postgresql-xl全局快照与GTM代码走读(支线)
node版本切换工具NVM以及npm源管理器nrm
单调栈及其应用











