Fully Convolutional Networks
Project description
This is Chainer implementation of fcn.berkeleyvision.org.
Features
License
Copyright (C) 2016 Kentaro Wada
Released under the MIT license
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
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
Original Image: https://www.flickr.com/photos/faceme/26471792680/
Training
cd examples/pascal
./download_dataset.py
./train_fcn32s.py
Currently we support only training FCN32s. The learning curve looks like below:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fcn-5.7.0.tar.gz
(1.2 MB
view hashes)