smfanet

[ECCV 2024] SMFANet: A Lightweight Self-Modulation Feature Aggregation Network for Efficient Image Super-Resolution

https://github.com/zheng-mj/smfanet

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: scholar.google
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.6%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

[ECCV 2024] SMFANet: A Lightweight Self-Modulation Feature Aggregation Network for Efficient Image Super-Resolution

Basic Info
  • Host: GitHub
  • Owner: Zheng-MJ
  • License: apache-2.0
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 166 MB
Statistics
  • Stars: 137
  • Watchers: 1
  • Forks: 7
  • Open Issues: 7
  • Releases: 0
Created about 2 years ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md

SMFANet: A Lightweight Self-Modulation Feature Aggregation Network for Efficient Image Super-Resolution

Hugging Face Models Hugging Face Demo visitors GitHub Stars

[Paper]   [Supp]  

Mingjun Zheng, Long Sun, Jiangxin Dong, and Jinshan Pan
IMAG Lab, Nanjing University of Science and Technology


**Network architecture of the proposed SMFANet. The proposed SMFANet consists of a shallow feature extraction module, feature modulation blocks, and a lightweight image reconstruction module. Feature modulation block contains one self-modulation feature aggregation (SMFA) module and one partial convolution-based feed-forward network (PCFN).


News

- [2024-06-25] Our SMFANet places 2nd and 3rd in the Parameters and FLOPs sub-track of the NTIRE2024 ESR.

Requirements

  • Python 3.8, PyTorch >= 1.8
  • BasicSR 1.4.2
  • Platforms: Ubuntu 18.04, cuda-11

Installation

```

Clone the repo

git clone https://github.com/Zheng-MJ/SMFANet.git

Install dependent packages

cd SMFANet conda create --name smfan python=3.8 conda activate smfan pip install -r requirements.txt

Install BasicSR

python setup.py develop ``` You can also refer to this INSTALL.md for installation

Data Preparation

Please refer to datasets/REDAME.md for data preparation.

Training

Run the following commands for training:

```

train SMFANet for x4 effieicnt SR

python basicsr/train.py -opt options/train/SMFANet/SMFANetDIV2K100w_x4SR.yml

train SMFANet+ for x4 effieicnt SR

python basicsr/train.py -opt options/train/SMFANet/SMFANetplusDIV2K100wx4SR.yml ```

Testing

  • Download the testing dataset.
  • Run the following commands: # test SMFANet for x4 efficient SR python basicsr/test.py -opt options/test/SMFANet_DF2K_x4SR.yml
  • The test results will be in './results'.

Pretrained Model & Visual Results

Google Drive | Huggingface

TensorRT Optimization

Hugging Face Demo

  • The Hugging Face Demo is available here.

Plotting Script

  • The script for feature visualization and chart plotting is available at plt/README.md.

Experimental Results

  • Comparison with CNN-based lightweight SR methods

  • Comparison with ViT-based lightweight SR methods

  • Memory and running time comparisons on x4 SR

  • Visual comparisons for x4 SR on the Urban100 dataset

  • Comparison of local attribution maps (LAMs) and diffusion indices (DIs)

  • The power spectral density (PSD) visualizations of feature

Citation

If this work is helpful for your research, please consider citing the following BibTeX entry.

@inproceedings{smfanet, title={SMFANet: A Lightweight Self-Modulation Feature Aggregation Network for Efficient Image Super-Resolution}, author={Zheng, Mingjun and Sun, Long and Dong, Jiangxin and Pan, Jinshan}, booktitle={ECCV}, year={2024} }

Acknowledgement

This code is based on BasicSR toolbox. Thanks for the awesome work.

Contact

If you have any questions, please feel free to reach me out at mingjunzheng@njust.edu.cn

Owner

  • Name: zheng
  • Login: Zheng-MJ
  • Kind: user

GitHub Events

Total
  • Issues event: 20
  • Watch event: 76
  • Issue comment event: 33
  • Push event: 3
  • Fork event: 4
Last Year
  • Issues event: 20
  • Watch event: 76
  • Issue comment event: 33
  • Push event: 3
  • Fork event: 4

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 8
  • Total pull requests: 0
  • Average time to close issues: 16 days
  • Average time to close pull requests: N/A
  • Total issue authors: 7
  • Total pull request authors: 0
  • Average comments per issue: 1.5
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 8
  • Pull requests: 0
  • Average time to close issues: 16 days
  • Average time to close pull requests: N/A
  • Issue authors: 7
  • Pull request authors: 0
  • Average comments per issue: 1.5
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • wang-ya-wen (2)
  • shenyongkun (1)
  • liuxiaoya396 (1)
  • zfx666666 (1)
  • linanfang115 (1)
  • FreeGeans (1)
  • hahalyll (1)
  • cjzhzh (1)
  • zmmdeid (1)
  • sxdyyds (1)
  • RosezzzCurry (1)
  • DachunKai (1)
Pull Request Authors
  • sunny2109 (1)
  • Blue2Giant (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

basicsr.egg-info/requires.txt pypi
  • Pillow *
  • addict *
  • future *
  • lmdb *
  • numpy >=1.17
  • opencv-python *
  • pyyaml *
  • requests *
  • scikit-image *
  • scipy *
  • tb-nightly *
  • torch >=1.7
  • torchvision *
  • tqdm *
  • yapf *
docs/requirements.txt pypi
  • Pillow *
  • addict *
  • future *
  • lmdb *
  • numpy *
  • opencv-python *
  • pyyaml *
  • recommonmark *
  • requests *
  • scikit-image *
  • scipy *
  • sphinx *
  • sphinx_intl *
  • sphinx_markdown_tables *
  • sphinx_rtd_theme *
  • tb-nightly *
  • torch >=1.7
  • torchvision *
  • tqdm *
  • yapf *
requirements.txt pypi
  • Pillow *
  • addict *
  • future *
  • lmdb *
  • numpy >=1.17
  • opencv-python *
  • pyyaml *
  • requests *
  • scikit-image *
  • scipy *
  • tb-nightly *
  • torch >=1.7
  • torchvision *
  • tqdm *
  • yapf *
setup.py pypi