Home

Awesome

Buy Me A Coffee

MODNet-Docker

MODNet (https://github.com/ZHKKKe/MODNet) is a real-time portrait matting solution

This repo dockerizes the MODNet model above

How to Run:

Make sure you have docker desktop installed. Then

/mnt# python inference.py --input_path demo/image_matting/input --output_path demo/image_matting/output --ckpt_path ./pretrained/modnet_photographic_portrait_matting.ckpt