Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 1.37 KB

README.md

File metadata and controls

37 lines (29 loc) · 1.37 KB

PortraitMatting (Demo)

Note: This application is not allowed for commercial use.

Creative Commons License
This work by moiling is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Image Matte Composition

Model

  1. Download model from the Google Drive.
  2. Put the model file in the ckpt folder. Do not rename the model file.

Requirements

Install packages from requirements file.

pip install -r requirements.txt

Demo

Just run demo.py.

python demo.py

If you don't have a GPU, you need to change Matting(gpu=True) in the demo.py to Matting(gpu=False) first.