Giter Club home page Giter Club logo

jigsawhsi's Introduction

PWC

PWC

PWC

JigsawHSI

Application of the Jigsaw network to Hyperspectral Image (HSI) classification.

Requisites

You need to donwload manually the datasets from: https://www.ehu.eus/ccwintco/index.php/Hyperspectral_Remote_Sensing_Scenes Copy the following files to your ./data directory:

  • Indian Pines (Corrected Indian Pines and Indian Pines groundtruth)
  • Pavia University (Pavia University and Pavia University groundtruth)
  • Salinas scene (Corrected Salinas and Salinas groundtruth)

Create an Anaconda environment with Python 3.8 and the libraries from conda_requisites.txt

  • You can run: "conda create --name <new_env> --file conda_requisites.txt", where <new_env> is the name of your new environment's name

The program makes use of GPU resources to train and use neural networks, therefore, you need a CUDA-compatible NVIDA GPU.

How to run

You need to run Jupyter in your local machine:

  • Clone this repository to your computer
  • Run anaconda and select your <new_env> environment
  • Change directories to the cloned repository
  • Run Jupyter in your local machine
  • Follow the instructions to open Jupyter in your browser and connect to it
  • Open the JigsawHSI.ipyb notebook and run the cells

How to make changes

There are two main ways to run variants of the JigsawHSI:

  • Edit config.ini
  • Select your preferred configuration from config.ini by changing the line "dataset = 'PU_100'"
  • Edit the code to your heart's content!

The paper

You can read the early release of the paper in ArXiv or in this repository: JigsawHSI.pdf

Acknowledgements

Thanks to Gopal Krishna, for making the HyperSN code available in github (https://github.com/gokriznastic/HybridSN).

jigsawhsi's People

Contributors

jmoraga-mines avatar

Stargazers

Sagar Dalai avatar  avatar DEBARGHYA CHAKRAVARTY avatar  avatar  avatar Pluto avatar Chenyu Qu avatar  avatar Linexus avatar MohammadHossein Ghiasvand avatar  avatar  avatar Theodor Emanuelsson avatar  avatar Luo Li avatar Chaitali Bhattacharyya avatar  avatar Simon Wüllhorst avatar

Watchers

James Cloos avatar  avatar

jigsawhsi's Issues

Weights of the models

Hey,

Congrats on the results you achieved with your models.
Have you considered uploading the weights of your best models?
I would be very interested to experiment with them.

Regards,
Lennert

Activation function of the dense layers

Hi,
Currently, I'm playing around with your JigsawHSI. I've noticed that you aren't defining any activation function for the dense layer. In the case of Keras, this means that the identity or linear activation function will be used. This is very atypical for hidden layers. However, it seems to work, and it works with my data as well. Was there any specific reason for this decision? I was unable to find any mention of this in your papers.

greetings
Simon

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.