A tool for getting face mask or face parsing by Pytorch.
Put the input face images in './images/input', and the results are in './images/output'.
python tool.py
For each input you will get three outputs: *_mask.png, *_mask_bg.png and *_mask_parse.png.