Code Monkey home page Code Monkey logo

fcnt's Introduction

FCNT

Texture segmentation with Fully Convolutional Networks

Implementation of the supervised experiment (Experiment B) from the following paper:

Texture segmentation with Fully Convolutional Networks
Vincent Andrearczyk and Paul F. Whelan
arXiv:1703.05230

The Caffe FCN implementation on Shelhamer's GitHub repository must be installed: https://github.com/shelhamer/fcn.berkeleyvision.org Note that the fcn8s caffemodel should be downloaded and that the master directory should be added to the PYTHONPATH The path to cv2.so can be changed in fcnT/solve.py (sys.path.append('/usr/local/lib/python2.7/site-packages')), for instance for other python versions.

The folders and files in this repository must be added to the master FCN repository (root-fcn) as follows. The 'prague_normal' folder must be copied into the 'root-fcn/data' directory. The folder with jpg images must be downloaded and untared from the url provided in 'root-fcn/prague_normal/jpegimages-url'. The 'fcnT' folder and the python files ('prague_helper.py' and 'prague_layers.py') must be copied into the root directory (root-fcn/)

Once everything is installed and copied, you can run solve.py from the 'root-fcn/fcnT' directory as follows:

usage: solve.py [-h] [--data data] [--n_iter n_iter]

Supervised texture segmentation of the Prague normal dataset.

optional arguments:
  -h, --help       show this help message and exit
  --data data      number of the test image in the Prague normal texture
                   segmentation dataset (1..20). Default 1
  --n_iter n_iter  number of training iterations. Default 500

The results are saved in 'root-fcn/fcnT/results'

fcnt's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

mythke

fcnt's Issues

Multiple images for training

Greetings, @v-andrearczyk.

I managed to set my own image and label for training, but did not find a way to train on multiple images to make net segment regions better. Could you please share the way to do so or tell if it is not possible?

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.