项目介绍

JiahuiYu/wdsr_ntire2018 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,目前获得 597 个 Star、119 次 Fork。

仓库全名
JiahuiYu/wdsr_ntire2018
Star 数
597
Fork 数
119
未关闭 Issue
1

README 摘要

Wide Activation for Efficient and Accurate Image Super-Resolution Tech Report | Approach | Results | TensorFlow | Other Implementations | Bibtex Update (Apr, 2020): We have released a reloaded version with full training scripts in PyTorch and pre-trained models. Update (Oct, 2018): We have re-implemented WDSR on TensorFlow for end-to-end training and testing. Pre-trained models are released. The runtime speed of…

完整内容见 GitHub 原始 README 或本页 。

常见问题

wdsr_ntire2018 用什么语言开发?

主要使用 Python 编写,目前有 597 个 Star。

如何获取 wdsr_ntire2018 的源码?

可以直接克隆仓库:git clone https://github.com/JiahuiYu/wdsr_ntire2018.git,默认分支为 master;安装与运行步骤见仓库 README。

wdsr_ntire2018 最近还在维护吗?

仓库最近一次更新为 2020年4月27日,当前有 1 个未关闭 Issue;Star 数为 597,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Code of our winning entry to NTIRE super-resolution challenge, CVPR 2018

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
860
价值分
396
活跃状态
活跃

README

Wide Activation for Efficient and Accurate Image Super-Resolution

Tech Report | Approach | Results | TensorFlow | Other Implementations | Bibtex

Update (Apr, 2020): We have released a reloaded version with full training scripts in PyTorch and pre-trained models.

Update (Oct, 2018): We have re-implemented WDSR on TensorFlow for end-to-end training and testing. Pre-trained models are released. The runtime speed of weight normalization on tensorflow is also optimized.

Run

  1. Requirements:
    • Install PyTorch (tested on release 0.4.0 and 0.4.1).
    • Clone EDSR-Pytorch as backbone training framework.
  2. Training and Validation:
    • Copy wdsr_a.py, wdsr_b.py into EDSR-PyTorch/src/model/.
    • Modify EDSR-PyTorch/src/option.py and EDSR-PyTorch/src/demo.sh to support --n_feats, --block_feats, --[r,g,b]_mean option (please find reference in issue #7, #8).
    • Launch training with EDSR-Pytorch as backbone training framework.
  3. Still have questions?
    • If you still have questions, please first search over closed issues. If the problem is not solved, please open a new issue.

Overall Performance

Network Parameters DIV2K (val) PSNR
EDSR Baseline 1,372,318 34.61
WDSR Baseline 1,190,100 34.77

We measured PSNR using DIV2K 0801 ~ 0900 (trained on 0000 ~ 0800) on RGB channels without self-ensemble. Both baseline models have 16 residual blocks.

More results:

Number of Residual Blocks13
SR NetworkEDSRWDSR-AWDSR-BEDSRWDSR-AWDSR-B
Parameters0.26M0.08M0.08M0.41M0.23M0.23M
DIV2K (val) PSNR33.21033.32333.43434.04334.16334.205
Number of Residual Blocks58
SR NetworkEDSRWDSR-AWDSR-BEDSRWDSR-AWDSR-B
Parameters0.56M0.37M0.37M0.78M0.60M0.60M
DIV2K (val) PSNR34.28434.38834.40934.45734.54134.536

Comparisons of EDSR and our proposed WDSR-A, WDSR-B using identical settings to EDSR baseline model for image bicubic x2 super-resolution on DIV2K dataset.

WDSR Network Architecture

Left: vanilla residual block in EDSR. Middle: wide activation. Right: wider activation with linear low-rank convolution. The proposed wide activation WDSR-A, WDSR-B have similar merits with MobileNet V2 but different architectures and much better PSNR.

Weight Normalization vs. Batch Normalization and No Normalization

Training loss and validation PSNR with weight normalization, batch normalization or no normalization. Training with weight normalization has faster convergence and better accuracy.

Other Implementations

Citing

Please consider cite WDSR for image super-resolution and compression if you find it helpful.

@article{yu2018wide,
  title={Wide Activation for Efficient and Accurate Image Super-Resolution},
  author={Yu, Jiahui and Fan, Yuchen and Yang, Jianchao and Xu, Ning and Wang, Xinchao and Huang, Thomas S},
  journal={arXiv preprint arXiv:1808.08718},
  year={2018}
}

@inproceedings{fan2018wide,
  title={Wide-activated Deep Residual Networks based Restoration for BPG-compressed Images},
  author={Fan, Yuchen and Yu, Jiahui and Huang, Thomas S},
  booktitle={Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops},
  pages={2621--2624},
  year={2018}
}

评论

暂无评论