GithubHelp home page GithubHelp logo

hyperspectral-fcn's Introduction

HyperSpectral FCN

This is an implementation of FCN and Attention layers to recognize HyperSpectral images.

Prerequisites

  • Python 2.7
    • Numpy
    • Caffe
    • Scipy
  • An Nvidia GPU (Not required but recommended)
  • A Training and Validation dataset
  • VGG model trained weights

Setup

Anaconda is recommended for Python and its prerequisites. This implementation uses Python 2.7 so be sure to install the right one. You can install Anaconda from here.

The models are currently made to train from the VOC 2012 dataset and SBD dataset. Put these datasets in data/VOC and data/sbdd respectively.

You can get the trained weights for the VGG model on the Caffe Model Zoo or right here. Put the .caffemodel file in data/ilsvrc-nets.

Training

To train this model, run solve.py in fcn32s, then in fcn16s, and finally in fcn8s. Alternatively, run solve.py in fcn8s-atonce.

You can change what model the 16s and 8s models run off of in solve.py by replacing:

weights = '../fcn16s/snapshot/train_iter_8000.caffemodel'

with the model you want to train with:

weights = '../path/to/your/model.caffemodel'

Todo

  • Make module to import HyperSpectral images
  • Add the Attention Layer
  • Optional CPU/GPU
  • Visualization

hyperspectral-fcn's People

Watchers

James Cloos avatar

Forkers

hsiyjnd

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.