# ESPCN-Pytorch **Repository Path**: Double-POI/ESPCN-Pytorch ## Basic Information - **Project Name**: ESPCN-Pytorch - **Description**: fork from https://github.com/juingzhou/ESPCN-Pytorch - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2020-03-05 - **Last Updated**: 2022-05-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ESPCN This repository is implementation of the ["Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Network"](https://arxiv.org/abs/1609.05158).
## Requirements - PyTorch 1.1.0 - Numpy 1.15.4 - Pillow 6.0.0 - h5py 2.8.0 - tqdm 4.30.0 ## Train The 91-image, Set5 dataset converted to HDF5 can be downloaded from the links below. | Dataset | Scale | Type | Link | |---------|-------|------|------| | 91-image | 3 | Train | [Link](https://pan.baidu.com/s/1WfyVfTki3UNZlNDJv_nUfw) code: r3u7 | | Set5 | 3 | Eval | [Link](/BLAH_BLAH/) | Otherwise, you can use `prepare.py` to create custom dataset. ```bash bash run.sh ``` ## Test Pre-trained weights can be downloaded from the links below. | Model | Scale | Link | |-------|-------|------| | ESPCN (91) | 3 | [Link](/BLAH_BLAH/outputs/x3/best.pth) | The results are stored in the same path as the query image. ```bash bash run.sh ``` ## Results PSNR was calculated on the Y channel. ### Set5 | Eval. Mat | Scale | Paper (91) | Ours (91) | |-----------|-------|-------|-----------------| | PSNR | 3 | 32.55 | 32.88 |
Original
BICUBIC x3
ESPCN x3 (23.84 dB)
Original
BICUBIC x3
ESPCN x3 (25.32 dB)