Skip to content

hanlinwu/SADN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learning Dynamic Scale Awareness and Global Implicit Functions for Continuous-Scale Super-Resolution of Remote Sensing Images

by Hanlin Wu, Ning Ni, and Libao Zhang, details are in paper.

Usage

Clone the repository:

https://github.com/hanlinwu/SADN.git

Requirements:

  • pytorch==1.10.0
  • pytorch-lightning==1.5.5
  • numpy
  • opencv-python
  • easydict
  • tqdm

Train:

  1. Download training datset from this url.
  2. Change the train.datapath and valid.data_path in config/your_config_file.yaml
  3. Do training:
    python train.py --config config/your_config_file.yaml
    

Test:

  1. Download benchmark datasets Set14,B100,Urban100,Manga109, and put them on path: load/benchmark/datset_name

  2. test without self-ensemble

    python test.py --checkpoint your_checkpoint_path --datasets Set14,B100,Urban100 --scales 2,3,4
    
  3. test with self-ensemble

    python test.py --checkpoint your_checkpoint_path --datasets Set14,B100,Urban100 --scales 2,3,4 --self_ensemble
    

About

Scale-aware Super-resolution Network

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages