Skip to content

cl0ver012/Deep-Image-Matting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

71a7d3a · Aug 20, 2019
Jun 14, 2019
Jan 6, 2019
May 22, 2018
Jun 14, 2019
May 25, 2018
May 9, 2018
Apr 29, 2018
Aug 20, 2019
May 11, 2018
Jan 6, 2019
Jun 14, 2019
Jan 6, 2019
Jun 9, 2018
May 18, 2018
May 23, 2018
May 14, 2018
May 26, 2018
May 16, 2018
Jun 14, 2019
Mar 24, 2019
May 26, 2018
May 26, 2018
Jan 7, 2019
Jan 6, 2019
Jan 9, 2019
May 28, 2018
Jul 5, 2018
May 11, 2018
May 17, 2018
May 25, 2018
Mar 24, 2019
May 11, 2018
May 14, 2018

Repository files navigation

Just in case you are interested, Deep Image Matting v2 is an upgraded version of this.

Deep Image Matting

This repository is to reproduce Deep Image Matting.

Dependencies

Dataset

Adobe Deep Image Matting Dataset

Follow the instruction to contact author for the dataset.

MSCOCO

Go to MSCOCO to download:

PASCAL VOC

Go to PASCAL VOC to download:

ImageNet Pretrained Models

Download VGG16 into "models" folder.

Usage

Data Pre-processing

Extract training images:

$ python pre_process.py

Train

$ python train.py

If you want to visualize during training, run in your terminal:

$ tensorboard --logdir path_to_current_dir/logs

Demo

Download pre-trained Deep Image Matting Model to "models" folder then run:

$ python demo.py
Image/Trimap Output/GT New BG/Compose
image image image
image image image
image image image
image image image
image image image
image image image
image image image
image image image
image image image
image image image
image image image
image image image
image image image
image image image
image image image
image image image
image image image
image image image
image image image
image image image

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published