Skip to content

MinatoRyu007/Swin-HSI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spectral Swin Transformer Network for Hyperspectral Image Classification

Baisen Liu ,Yuanjia Liu ,Wulin Zhang ,Yiran Tian and Weili Kong

Model structure diagram

Usage

  1. Install Python 3.8 and Tensorflow.
  2. Download this code and change the dataset loading directory accordingly. Please change the location of the loaded dataset in the code, as well as the last save address for each evaluation method, replacing it with the local directory. (1. 安装 Python 3.8 和 Tensorflow。
  3. 下载此代码并相应更改数据集加载目录。请更改代码中加载数据集的位置,以及每种评估方法的最后保存地址,将其替换为本地目录)
  4. This code also requires a Python Package: tensorflow-gpu 2.9.0+, scikit-learn 1.2.2+, numpy 1.23.5+, matplotlib 3.7.1+, scipy 1.9.1+, spectral 0.23.1+.

Thanks

1.https://github.com/gokriznastic/HybridSN |

2.https://github.com/microsoft/Swin-Transformer

Citation


@Article{rs15153721,
AUTHOR = {Liu, Baisen and Liu, Yuanjia and Zhang, Wulin and Tian, Yiran and Kong, Weili},
TITLE = {Spectral Swin Transformer Network for Hyperspectral Image Classification},
JOURNAL = {Remote Sensing},
VOLUME = {15},
YEAR = {2023},
NUMBER = {15},
ARTICLE-NUMBER = {3721},
URL = {https://www.mdpi.com/2072-4292/15/15/3721},
ISSN = {2072-4292},
DOI = {10.3390/rs15153721}
}


Prerequisites

Relevant Projects

-ICLR 2023 Tiny Paper | DBLP | Github @article{liu2023fusing, title={Fusing 3D-CNN and lightweight Swin Transformer networks for HSI}, author={Liu, Baisen and Liu, Yuanjia and Zhang, Wulin and Tian, Yiran}, year={2023} }

License

Copyright (c) 2022 Yuanjia Liu. Released under the MIT License. See LICENSE for details.