MaskGAN: Towards Diverse and Interactive Facial Image Manipulation

Cheng-Han Lee, Ziwei Liu, Lingyun Wu, Ping Luo
7/27/2019
1,344 citations
cs.CVcs.GRcs.LG

Official code: switchablenorms/CelebAMask-HQ (2,330 stars, Python, last commit 2024-06-20).

Abstract

Facial image manipulation has achieved great progress in recent years. However, previous methods either operate on a predefined set of face attributes or leave users little freedom to interactively manipulate images.

Show full abstract

To overcome these drawbacks, we propose a novel framework termed MaskGAN, enabling diverse and interactive face manipulation. Our key insight is that semantic masks serve as a suitable intermediate representation for flexible face manipulation with fidelity preservation. MaskGAN has two main components: 1) Dense Mapping Network (DMN) and 2) Editing Behavior Simulated Training (EBST). Specifically, DMN learns style mapping between a free-form user modified mask and a target image, enabling diverse generation results. EBST models the user editing behavior on the source mask, making the overall framework more robust to various manipulated inputs. Specifically, it introduces dual-editing consistency as the auxiliary supervision signal. To facilitate extensive studies, we construct a large-scale high-resolution face dataset with fine-grained mask annotations named CelebAMask-HQ. MaskGAN is comprehensively evaluated on two challenging tasks: attribute transfer and style copy, demonstrating superior performance over other state-of-the-art methods. The code, models, and dataset are available at https://github.com/switchablenorms/CelebAMask-HQ.

View on arXivView PDF

Code Implementations(1)

A large-scale face dataset for face parsing, recognition, generation and editing.

2,330355Python, ShellApr 1, 20192 years ago
celebaface-generationface-recognitionface-segmentationgenerative-adversarial-network

Similar Papers

Cite this paper

@article{lee2019maskgan,
  title  = {MaskGAN: Towards Diverse and Interactive Facial Image Manipulation},
  author = {Cheng-Han Lee and Ziwei Liu and Lingyun Wu and Ping Luo},
  year   = {2019},
  eprint = {1907.11922},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1907.11922}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1907.11922.svg)](https://codeofpaper.com/paper/1907.11922)

Discussion