项目作者: laugh12321

项目描述 :
Hyperspectral Unmixing via Dual Attention Convolutional Neural Networks
高级语言: Python
项目地址: git://github.com/laugh12321/DACN.git
创建时间: 2021-01-20T07:27:39Z
项目社区:https://github.com/laugh12321/DACN

开源协议:MIT License

下载




DACN

Hyperspectral Unmixing via Dual Attention Convolutional Neural Networks

Pengbo Zhang

Graduation Thesis of Henan Polytechnic University.

Introduction

In this article, we design an end-to-end hyperspectral unmixing method based on dual attention convolutional neural network (DACN), which adds two types of attention modules on the basis of feature extraction by CNN, and models the semantic information on spectral-spatial dimensions to adaptively fuse local and global features. Furthermore, Layer normalization and Maxpooling are used on DACN to avoid over fitting. The evaluation of the complete performance is carried out on two hyperspectral datasets: Jasper Ridge and Urban. Compared with that of the existing method, our method can extract spectral-spatial feature information more effectively, and the precision is improved significantly.

Requirement

  • Python 3.8
  • TensorFlow 2.3.0

Recommend use conda create a virtual environment and to install dependencies using:

  1. pip install -r requirements.txt

Usage

After setting the parameters in config/config.json, enter the following command in the terminal:

  1. python run.py


Fig 1. Quantitative analysis of learning rate for the DACN method in the Jasper Ridge datasets.

More Details:

Use python run.py -h to get more parameters setting details.

Datasets

We provide two processed datasets: Jasper Ridge(jasper), Urban(urban) in datasets.

  • data.npy: hyperspectral data file.

  • data_gt.npy: ground truth file.

  • data_m.npy: endmembers file.

Result

Training Loss








Fig 2. training loss of the Jasper Ridge datasets by different methods.


Fig 3. training loss of the Urban datasets by different methods.

Unmixing Result



Fig 4. rmsAAD values of the Jasper Ridge and Urban datasets by different methods.


Fig 5. Ground-truth and estimated abundances obtained for each endmember material in the Urban datasets by different methods.

Citation

If you find DACN useful in your research, please consider citing.

Misc.

Code has been tested under:

  • Windows 10 with 32GB memory, a RTX2060 6G GPU and AMD R7-4800H CPU.