Giter Site home page Giter Site logo

two-branch-cnn-multisource-rs-classification's Introduction

Two-branch-CNN-Multisource-RS-classification

This example implements the paper Multisource Remote Sensing Data Classification Based on Convolutional Neural Network

A two-branch CNN architecture for feasture fusion with HSI and other remote scensing imagery. Reach a quite high classification accuracy. Evaluated on the dataset of Houston, Trento, Salinas and Pavia.

Prerequisites

  • System Ubuntu 14.04 or upper
  • Python 2.7 or 3.6
  • Packages
pip install -r requirements.txt

Usage

dataset utilization

Please modify lines in data_util.py for the dataset details.

Training

  1. Train HSI
python main.py --train hsi --epochs 20 --modelname ./logs/weights/hsi.h5
  1. Train LiDAR/VIS
python main.py --train lidar --epochs 20 --modelname ./logs/weights/lidar.h5
  1. Train two branches
python main.py --train finetune --epochs 20 --modelname ./logs/weights/model.h5

Results

All the results are cited from original paper. More details can be found in the paper.

dataset Kappa OA
Houston 0.8698 87.98%
Trento 0.9681 97.92%
Pavia 0.9883 99.13%
Salinas 0.9745 97.72%

Citation

If you need use this code for your research, please cite our papers.

@article{xu2017multisource,
  title={Multisource Remote Sensing Data Classification Based on Convolutional Neural Network},
  author={Xu, Xiaodong and Li, Wei and Ran, Qiong and Du, Qian and Gao, Lianru and Zhang, Bing},
  journal={IEEE Transactions on Geoscience and Remote Sensing},
  year={2017},
  publisher={IEEE}
}

TODO

  1. PyTorch version.
  2. more flexiable dataset utilization

two-branch-cnn-multisource-rs-classification's People

Contributors

hsuxu 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.