Giter Club home page Giter Club logo

dcrn-2021's Introduction

Dual Channel Residual Network for Hyperspectral Image Classification with Noisy Labels

A python deep learning model which is super useful in dealing with hyperspectral image classification with noisy labels.

Description

The loss function gets its code from Link

Links to relevant comparison methods are shown below.

Requirement

This code is compatible with Python 3.7.6.

It is based on PyTorch 1.5.1 and torchvision 0.6.1

If a GPU is detected, CUDA 10.0+ is used to boost training.

Usage

Run with default settings

Default settings are capsuled in main.py already. If tested with default parameters, just run main.py like

python3 main.py

Run with alternative settings

Currently, we only support a few adjustable hyper-parameters:

  • batch_size: batch size, default to be 16
  • max_iter: max training epochs, default to be 100
  • iters: repetition experments' number, default to be 10
  • lr: learning rate, default to be 0.001.

Example to run with personal settings:

python3 main.py --batch_size 32 --max_iter 200

Exemplar dataset folder

The code in SDP is for paper "Spatial Density Peak Clustering of Hyperspectral Images with Noise Labels".

An example dataset folder has the following structure:

datasets
├── KSC
│   ├── KSC.mat
│   ├── KSC_gt.mat
├── salinas
│   ├── salinas_corrected.mat
│   └── salinas_gt.mat
└── paviaU
    ├── paviaU_gt.mat
    └── paviaU.mat

Citing this work

dcrn-2021's People

Contributors

li-zk avatar

Watchers

James Cloos 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.