Home

Awesome

Hyper-DSNet

Source Codes and Datasets for Hyperspectral Pansharpening in Deep Learning

Reference

Please cite the related paper:

@ARTICLE{zhuo2022jstars,
  author={Zhuo, Yu-Wei and Zhang, Tian-Jing and Hu, Jin-Fan and Dou, Hong-Xia and Huang, Ting-Zhu and Deng, Liang-Jian},
  journal={IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing}, 
  title={A Deep-Shallow Fusion Network with Multi-Detail Extractor and Spectral Attention for Hyperspectral Pansharpening}, 
  year={2022},
  volume={},
  number={},
  pages={},
  doi={10.1109/JSTARS.2022.3202866}
}

Dependencies and Installation

Dataset

Code

Get Started

  1. For training, you need to set the file_path in the main function, adopt to your train set, validate set, and test set as well. Our code trains the .h5 file, you may change it through changing the code in data function.
  2. After prepareing the dataset, you can modify the model and experiment hyperparameters as needed, such as epoch, learning rate, convergence function, etc.
  3. At the same time, you also need to set the path where the model and log are saved.
  4. Then you can start training, the code will automatically save the trained model in .pth format.
  5. As for testing, you also need to set the path to open and load the data and trained .pth file, and get the test result in .mat format.

Method

Overall

Visual

visual2

Quantitative

Contact

We are glad to hear from you. If you have any questions, please feel free to contact Yuuweii@yeah.net.