# EDSR-PyTorch
**Repository Path**: littlenight/EDSR-PyTorch
## Basic Information
- **Project Name**: EDSR-PyTorch
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-08-10
- **Last Updated**: 2024-08-22
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# EDSR-PyTorch
### Overview
This repository contains an op-for-op PyTorch reimplementation of [Enhanced Deep Residual Networks for Single Image Super-Resolution](https://arxiv.org/abs/1707.02921).
### Table of contents
- [EDSR-PyTorch](#edsr-pytorch)
- [Overview](#overview)
- [Table of contents](#table-of-contents)
- [About Enhanced Deep Residual Networks for Single Image Super-Resolution](#about-enhanced-deep-residual-networks-for-single-image-super-resolution)
- [Download weights](#download-weights)
- [Download datasets](#download-datasets)
- [Test](#test)
- [Train](#train)
- [Result](#result)
- [Credit](#credit)
- [Enhanced Deep Residual Networks for Single Image Super-Resolution](#enhanced-deep-residual-networks-for-single-image-super-resolution)
## About Enhanced Deep Residual Networks for Single Image Super-Resolution
If you're new to EDSR, here's an abstract straight from the paper:
Recent research on super-resolution has progressed with the development of deep convolutional neural networks
(DCNN). In particular, residual learning techniques exhibit improved performance. In this paper, we develop an enhanced deep super-resolution
network (EDSR) with performance exceeding those of current state-of-the-art SR methods. The significant performance improvement of our model is due to
optimization by removing unnecessary modules in conventional residual networks. The performance is further improved by expanding the model size while
we stabilize the training procedure. We also propose a new multi-scale deep super-resolution system (MDSR) and training method, which can reconstruct
high-resolution images of different upscaling factors in a single model. The proposed methods show superior performance over the state-of-the-art
methods on benchmark datasets and prove its excellence by winning the NTIRE2017 Super-Resolution Challenge.
## Download weights
- [Google Driver](https://drive.google.com/drive/folders/17ju2HN7Y6pyPK2CC_AqnAfTOe9_3hCQ8?usp=sharing)
- [Baidu Driver](https://pan.baidu.com/s/1yNs4rqIb004-NKEdKBJtYg?pwd=llot)
## Download datasets
Contains DIV2K, DIV8K, Flickr2K, OST, T91, Set5, Set14, BSDS100 and BSDS200, etc.
- [Google Driver](https://drive.google.com/drive/folders/1A6lzGeQrFMxPqJehK9s37ce-tPDj20mD?usp=sharing)
- [Baidu Driver](https://pan.baidu.com/s/1o-8Ty_7q6DiS3ykLU09IVg?pwd=llot)
## Test
Modify the contents of the file as follows.
- line 29: `upscale_factor` change to the magnification you need to enlarge.
- line 31: `mode` change Set to valid mode.
- line 69: `model_path` change weight address after training.
## Train
Modify the contents of the file as follows.
- line 29: `upscale_factor` change to the magnification you need to enlarge.
- line 31: `mode` change Set to train mode.
If you want to load weights that you've trained before, modify the contents of the file as follows.
- line 47: `start_epoch` change number of training iterations in the previous round.
- line 48: `resume` the weight address that needs to be loaded.
## Result
Source of original paper results: https://arxiv.org/pdf/1707.02921.pdf
In the following table, the value in `()` indicates the result of the project, and `-` indicates no test.
| Dataset | Scale | PSNR |
|:-------:|:-----:|:----------------:|
| DIV2K | 2 | 38.10(**37.75**) |
| DIV2K | 3 | 34.65(**34.02**) |
| DIV2K | 4 | 32.46(**31.83**) |
Low Resolution / Super Resolution / High Resolution
### Credit
#### Enhanced Deep Residual Networks for Single Image Super-Resolution
_Lim, Bee and Son, Sanghyun and Kim, Heewon and Nah, Seungjun and Lee, Kyoung Mu_
**Abstract**
Recent research on super-resolution has progressed with the development of deep convolutional neural networks
(DCNN). In particular, residual learning techniques exhibit improved performance. In this paper, we develop an enhanced deep super-resolution
network (EDSR) with performance exceeding those of current state-of-the-art SR methods. The significant performance improvement of our model is due to
optimization by removing unnecessary modules in conventional residual networks. The performance is further improved by expanding the model size while
we stabilize the training procedure. We also propose a new multi-scale deep super-resolution system (MDSR) and training method, which can reconstruct
high-resolution images of different upscaling factors in a single model. The proposed methods show superior performance over the state-of-the-art
methods on benchmark datasets and prove its excellence by winning the NTIRE2017 Super-Resolution Challenge.
[[Paper]](https://arxiv.org/pdf/1707.02921)
```
@InProceedings{Lim_2017_CVPR_Workshops,
author = {Lim, Bee and Son, Sanghyun and Kim, Heewon and Nah, Seungjun and Lee, Kyoung Mu},
title = {Enhanced Deep Residual Networks for Single Image Super-Resolution},
booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR) Workshops},
month = {July},
year = {2017}
}
```