TracelessLe / FaceParsing.PyTorch

A Pytorch implementation face parsing model trained by CelebAMask-HQ, based on EHANet.
MIT License
60 stars 11 forks source link

Face parsing

A Pytorch implementation face parsing model trained by CelebAMask-HQ, based on EHANet.

Dependencies

Preprocessing

Training

Well-trained model

- Label list (19 classes) -
0: 'background' 1: 'skin' 2: 'nose'
3: 'eye_g' 4: 'l_eye' 5: 'r_eye'
6: 'l_brow' 7: 'r_brow' 8: 'l_ear'
9: 'r_ear' 10: 'mouth' 11: 'u_lip'
12: 'l_lip' 13: 'hair' 14: 'hat'
15: 'ear_r' 16: 'neck_l' 17: 'neck'
18: 'cloth' - -

Testing & Color visualization

Visual Results

References

@article{CelebAMask-HQ,
  title={MaskGAN: Towards Diverse and Interactive Facial Image Manipulation},
  author={Lee, Cheng-Han and Liu, Ziwei and Wu, Lingyun and Luo, Ping},
  journal={arXiv preprint arXiv:1907.11922},
  year={2019},
  website={https://github.com/switchablenorms/CelebAMask-HQ}
}
@article{luo2020ehanet,
  title={EHANet: An Effective Hierarchical Aggregation Network for Face Parsing},
  author={Luo, Ling and Xue, Dingyu and Feng, Xinglong},
  journal={Applied Sciences},
  volume={10},
  number={9},
  pages={3135},
  year={2020},
  publisher={Multidisciplinary Digital Publishing Institute},
  website={https://github.com/JACKYLUO1991/FaceParsing}
}
@code{face-parsing.PyTorch,
  author={zllrunning},
  year={2019},
  website={https://github.com/zllrunning/face-parsing.PyTorch}
}