Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.1 KB

readme.md

File metadata and controls

27 lines (18 loc) · 1.1 KB
name caffemodel caffemodel_url license caffe_version gist_id
VGG16
VGG16_SalObjSub.caffemodel
trained using a custom Caffe-based framework (see https://gist.github.com/ksimonyan/211839e770f7b538e2d8#file-readme-md)
27c1c0a7736ba66c2395

Description

The model is used to tackle the alpha matting problem. It is basically an encoder-decoder deep neural network. By feed the network an original image with tri-map, you can get the prediction alpha of the image.

Deep Image Matting
Ning Xu, Brian Price, Scott Cohen, and Thomas Huang. 
CVPR, 2017.

The input images should be mean pixel subtraction. And the channel should be BGR.

Caffe compatibility

see https://gist.github.com/ksimonyan/211839e770f7b538e2d8#file-readme-md

How to use the model

The model outputs an array of the input test image, and the array can be converted into an image. In our implementations, test images are resized to 224*224, regardless of the original aspect ratios.