Git Product home page Git Product logo

fully-convolutional-networks's Introduction

Fully Convolutional Networks for Portrait Matting


Basic Knowledges

Referenced Papers

Referenced Repositories

Data Sets

Model

  • conv1_1~conv5_3: VGG-19
  • pool5~conv_t3: Convolution (replace dense network) and Deconvolution

Directory Structure

.Fully-Convolutional-Networks/
├── .Data_zoo/
│   └── .MIT_SceneParsing/
│       ├── ADEChallengeData2016.zip
│       ├── MITSceneParsing.pickle
│       ├── train_data.npz (show up after first train)
│       ├── val_data.npz (show up after first train)
│       └── .ADEChallengeData2016/
│           ├── sceneCategories.txt
│           ├── .images/
│           │   ├── .training/
│           │   └── .validation/
│           │
│           └── .annotations/
│               ├── .training/
│               └── .validation/
│
├── .Model_zoo/
│   └── imagenet-vgg-verydeep-19.mat
│
├── .logs/
│   ├── checkpoint
│   ├── model.ckpt-100000.data-00000-of-00001
│   ├── model.ckpt-100000.meta
│   └── model.ckpt-100000.index
│
├── fcn.py (main program)
├── augment.py
├── batch_datset_reader.py
├── reader.py
├── tensorflow_utils.py
└── README.md

  • For each data, the filename in image/, annotation/ folder must be same.

Data Augmentations

  • Flip: 50% horizontally
  • Rotation: -90 ~ +90
  • Scale: 0.5 ~ 1.5
  • Shift: -50% ~ +50% horizontally & vertically

Requirements

  • tensorflow-gpu == 1.2.1

Quick Usage

  • Train
    • python3.5 FCN.py -m train
  • Visualize
    • python3.5 FCN.py -m visualize
  • Test
    • python3.5 FCN.py -m test -tl <test_list>
  • Mat video
    • ./mat.sh <video_name>
  • To see full usage
    • python3.5 FCN.py --help

fully-convolutional-networks's People

Contributors

qhan1028 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.