Coder Social home page Coder Social logo

fcn's Introduction

fcn - Fully Convolutional Networks

image

image

This is Chainer implementation of fcn.berkeleyvision.org.

Features

  • Provide FCN8s model for Chainer. [v1.0.0]
  • Copy caffemodel to chainermodel. [v1.0.0]
  • Forwarding with Chainer for pascal dataset. [v1.0.0]
  • Training with Chainer for pascal dataset. [v2.0.0]
  • Training for APC2015 dataset. [v3.0.0]

License

Copyright (C) 2016 Kentaro Wada
Released under the MIT license
http://opensource.org/licenses/mit-license.php

Installation

# Ubuntu: install required libraries via apt
sudo apt-get install liblapack-dev   # for numpy
sudo apt-get install libhdf5-dev     # for h5py
# macOS: install required libraries via brew
brew install gfortran  # for numpy
brew install hdf5      # for h5py

pip install fcn

For Inference

Inference is done as below:

# Download sample image
wget https://farm2.staticflickr.com/1522/26471792680_a485afb024_z_d.jpg -O sample.jpg

# forwaring of the networks
fcn_infer.py --img-files sample.jpg --gpu -1  # cpu mode
fcn_infer.py --img-files sample.jpg  # gpu mode

image

Original Image: https://www.flickr.com/photos/faceme/26471792680/

For Developing

git clone https://github.com/wkentaro/fcn.git
cd fcn

python setup.py develop

Training

cd examples/pascal
./download_dataset.py

./train_fcn32s.py

Currently we support only training FCN32s. The learning curve looks like below:

image

Inference with FCN32s + 60000 iterations outputs below result:

image

fcn's People

Contributors

knorth55 avatar wkentaro avatar yuyu2172 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.