GithubHelp home page GithubHelp logo

uncertainty-aware-hsic's Introduction

Uncertainty-aware Graph-based Hyperspectral Image Classification

This repository presents the experiments of the paper:

Uncertainty-aware Graph-based Hyperspectral Image Classification
Linlin Yu, Yifei Lou, Feng Chen
International Conference on Learning Representations (ICLR), 2024.

[paper]

Requirements

To install requirements:

conda env create -f environment.yaml
conda activate uhsic

Data Preprocessing & Running Experiments

The experiments include three datasets: PaviaU, KSC and Houston2013.

  1. Download the raw files including the feature and classification ground-truth matrix and save them under the folder raw_data/{dataset}/๏ผ›
  2. Run an unsupervised unmixing model and get the endmember matrix as the prior knowledge for the proposed architecture; In our paper, we use the '[Blind Hyperspectral Unmixing Based on Graph Total Variation Regularization (https://ieeexplore.ieee.org/document/9200736)]' to generate the predicted abundance matrix and endmember matrix, and note that we need to run a permutation algorithm to match the endmember matrix with the material label (we provide sample code in the data/find_perm). The generated matrix should be saved under the folder data/{dataset}/unmxing/; Then we need to
  3. Run data/data_preprocess.py, which will generate a folder under data/{dataset}/raw for required matrices;
  4. For 'GKDE' based models, first run alpha_prior_generation.py and probability_teacher_generation.py, which will generate and save GKDE teacher and probability teacher tensors under folder teacher;
  5. For experiments related to misclassification detection, please execute the Python files that end with clearngraph. For out-of-distribution (OOD) detection experiments, run the Python files ending with oodgraph. For experiments involving softmax graph convolutional networks (GCN), execute the Python files that begin with classification. For experiments on enhanced GCN (EGCN) models based on Gaussian Kernel Density Estimation (GKDE), run Python files starting with GKDE. Lastly, for experiments related to 'GPN' based models, please run Python files beginning with GPN.

Cite

Please cite our paper if you use the model or this code in your own work:

@inproceedings{
yu2024uncertaintyaware,
title={Uncertainty-aware Graph-based Hyperspectral Image Classification},
author={Linlin Yu and Yifei Lou and Feng Chen},
booktitle={The Twelfth International Conference on Learning Representations},
year={2024},
url={https://openreview.net/forum?id=8dN7gApKm3}
}

uncertainty-aware-hsic's People

Contributors

linlin-yu avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.