All Projects → Zheng222 → Imdn

Zheng222 / Imdn

Lightweight Image Super-Resolution with Information Multi-distillation Network (ACM MM 2019, Winner Award of ICCVW AIM 2019 Constrained SR Track1&Track2)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Imdn

Instascrape
Powerful and flexible Instagram scraping library for Python, providing easy-to-use and expressive tools for accessing data programmatically
Stars: ✭ 202 (-11.79%)
Mutual labels:  lightweight
Taskr
A fast, concurrency-focused task automation tool.
Stars: ✭ 2,421 (+957.21%)
Mutual labels:  lightweight
Libonnx
A lightweight, portable pure C99 onnx inference engine for embedded devices with hardware acceleration support.
Stars: ✭ 217 (-5.24%)
Mutual labels:  lightweight
Lightpick
(deprecated) Check out the new date picker Litepicker
Stars: ✭ 204 (-10.92%)
Mutual labels:  lightweight
Tiny Dsod
Tiny-DSOD: Lightweight Object Detection for Resource-Restricted Usage
Stars: ✭ 207 (-9.61%)
Mutual labels:  lightweight
Exchangis
Exchangis is a lightweight,highly extensible data exchange platform that supports data transmission between structured and unstructured heterogeneous data sources
Stars: ✭ 212 (-7.42%)
Mutual labels:  lightweight
React Indiana Drag Scroll
React component which implements scrolling via holding the mouse button or touch
Stars: ✭ 190 (-17.03%)
Mutual labels:  lightweight
Snackbar
A tiny browser library for showing a brief message at the bottom of the screen (1kB gzipped).
Stars: ✭ 224 (-2.18%)
Mutual labels:  lightweight
Xcolor
Lightweight color picker for X11
Stars: ✭ 209 (-8.73%)
Mutual labels:  lightweight
Dietpi
Lightweight justice for your single-board computer!
Stars: ✭ 2,871 (+1153.71%)
Mutual labels:  lightweight
Icanhazshortcut
simple shortcut manager for macOS
Stars: ✭ 204 (-10.92%)
Mutual labels:  lightweight
Enet
⚡️ ENet reliable UDP networking library
Stars: ✭ 202 (-11.79%)
Mutual labels:  lightweight
Htmr
Simple and lightweight (< 2kB) HTML string to React element conversion library
Stars: ✭ 214 (-6.55%)
Mutual labels:  lightweight
Wolff
🐺 Lightweight and easy to use framework for building web apps.
Stars: ✭ 203 (-11.35%)
Mutual labels:  lightweight
Textosaurus
Cross-platform text editor based on Qt and Scintilla.
Stars: ✭ 224 (-2.18%)
Mutual labels:  lightweight
Cms
GleezCMS - A Light, Simple, Flexible Content Management System
Stars: ✭ 200 (-12.66%)
Mutual labels:  lightweight
Jsontreeviewer
json formatter/viewer/pretty-printer (with jsonTree javascript-library)
Stars: ✭ 211 (-7.86%)
Mutual labels:  lightweight
Mu
A tweet-sized PHP micro-router
Stars: ✭ 229 (+0%)
Mutual labels:  lightweight
Flexml
🚀基于Litho的Android高性能动态业务容器。
Stars: ✭ 225 (-1.75%)
Mutual labels:  lightweight
Lfd A Light And Fast Detector
LFD is a big update upon LFFD. Generally, LFD is a multi-class object detector characterized by lightweight, low inference latency and superior precision. It is for real-world appilcations.
Stars: ✭ 210 (-8.3%)
Mutual labels:  lightweight

IMDN

Lightweight Image Super-Resolution with Information Multi-distillation Network (ACM MM 2019)

[arXiv] [Poster] [ACM DL]

ICCV 2019 Workshop AIM report

The simplified version of IMDN won the first place at Contrained Super-Resolution Challenge (Track1 & Track2). The test code is available at Google Drive

AI in RTC 2019-rainbow

The ultra lightweight version of IMDN won the first place at Super Resolution Algorithm Performance Comparison Challenge. (https://github.com/Zheng222/IMDN/blob/53f1dac25e8cd8e11ad65484eadf0d1e31d602fa/model/architecture.py#L79)

AI in RTE 2020-rainbow

The down-up version of IMDN won the second place at Super Resolution Algorithm Performance Comparison Challenge. (https://github.com/Zheng222/IMDN/blob/53f1dac25e8cd8e11ad65484eadf0d1e31d602fa/model/architecture.py#L98)

Hightlights

  1. Our information multi-distillation block (IMDB) with contrast-aware attention (CCA) layer.

  2. The adaptive cropping strategy (ACS) to achieve the processing images of any arbitrary size (implementing any upscaling factors using one model).

  3. The exploration of factors affecting actual inference time.

Testing

Pytorch 1.1

  • Runing testing:
# Set5 x2 IMDN
python test_IMDN.py --test_hr_folder Test_Datasets/Set5/ --test_lr_folder Test_Datasets/Set5_LR/x2/ --output_folder results/Set5/x2 --checkpoint checkpoints/IMDN_x2.pth --upscale_factor 2
# RealSR IMDN_AS
python test_IMDN_AS.py --test_hr_folder Test_Datasets/RealSR/ValidationGT --test_lr_folder Test_Datasets/RealSR/ValidationLR/ --output_folder results/RealSR --checkpoint checkpoints/IMDN_AS.pth

  • Calculating IMDN_RTC's FLOPs and parameters, input size is 240*360
python calc_FLOPs.py

Training

python scripts/png2npy.py --pathFrom /path/to/DIV2K/ --pathTo /path/to/DIV2K_decoded/
  • Run training x2, x3, x4 model
python train_IMDN.py --root /path/to/DIV2K_decoded/ --scale 2 --pretrained checkpoints/IMDN_x2.pth
python train_IMDN.py --root /path/to/DIV2K_decoded/ --scale 3 --pretrained checkpoints/IMDN_x3.pth
python train_IMDN.py --root /path/to/DIV2K_decoded/ --scale 4 --pretrained checkpoints/IMDN_x4.pth

Results

百度网盘提取码: 8yqj or Google drive

The following PSNR/SSIMs are evaluated on Matlab R2017a and the code can be referred to Evaluate_PSNR_SSIM.m.

Pressure Test


Pressure test for ×4 SR model.

*Note: Using torch.cuda.Event() to record inference times.

PSNR & SSIM


Average PSNR/SSIM on datasets Set5, Set14, BSD100, Urban100, and Manga109.

Memory consumption


Memory Consumption (MB) and average inference time (second).

Model parameters


Trade-off between performance and number of parameters on Set5 ×4 dataset.

Running time


Trade-off between performance and running time on Set5 ×4 dataset. VDSR, DRCN, and LapSRN were implemented by MatConvNet, while DRRN, and IDN employed Caffe package. The rest EDSR-baseline, CARN, and our IMDN utilized PyTorch.

Adaptive Cropping


The diagrammatic sketch of adaptive cropping strategy (ACS). The cropped image patches in the green dotted boxes.

Visualization of feature maps


Visualization of output feature maps of the 6-th progressive refinement module (PRM).

Citation

If you find IMDN useful in your research, please consider citing:

@inproceedings{Hui-IMDN-2019,
  title={Lightweight Image Super-Resolution with Information Multi-distillation Network},
  author={Hui, Zheng and Gao, Xinbo and Yang, Yunchu and Wang, Xiumei},
  booktitle={Proceedings of the 27th ACM International Conference on Multimedia (ACM MM)},
  pages={2024--2032},
  year={2019}
}

@inproceedings{AIM19constrainedSR,
  title={AIM 2019 Challenge on Constrained Super-Resolution: Methods and Results},
  author={Kai Zhang and Shuhang Gu and Radu Timofte and others},
  booktitle={The IEEE International Conference on Computer Vision (ICCV) Workshops},
  year={2019}
}

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].