SofGAN: A Portrait Image Generator with Dynamic Styling

Anpei Chen, Ruiyang Liu, Ling Xie, Zhang Chen, Hao Su +1 more
7/7/2020
cs.CVcs.GR

Official code: apchenstu/sofgan (767 stars, Python, last commit 2025-06-19).

Abstract

Recently, Generative Adversarial Networks (GANs)} have been widely used for portrait image generation. However, in the latent space learned by GANs, different attributes, such as pose, shape, and texture style, are generally entangled, making the explicit control of specific attributes difficult.

Show full abstract

To address this issue, we propose a SofGAN image generator to decouple the latent space of portraits into two subspaces: a geometry space and a texture space. The latent codes sampled from the two subspaces are fed to two network branches separately, one to generate the 3D geometry of portraits with canonical pose, and the other to generate textures. The aligned 3D geometries also come with semantic part segmentation, encoded as a semantic occupancy field (SOF). The SOF allows the rendering of consistent 2D semantic segmentation maps at arbitrary views, which are then fused with the generated texture maps and stylized to a portrait photo using our semantic instance-wise (SIW) module. Through extensive experiments, we show that our system can generate high quality portrait images with independently controllable geometry and texture attributes. The method also generalizes well in various applications such as appearance-consistent facial animation and dynamic styling.

View on arXivView PDF

Code Implementations(1)

apchenstu/sofganOfficial100%

[TOG 2022] SofGAN: A Portrait Image Generator with Dynamic Styling

76799Python, Jupyter NotebookJul 7, 20201 years agoNOASSERTION
3drenderingfacesgan

Similar Papers

Cite this paper

@article{chen2020sofgan,
  title  = {SofGAN: A Portrait Image Generator with Dynamic Styling},
  author = {Anpei Chen and Ruiyang Liu and Ling Xie and Zhang Chen and Hao Su and Jingyi Yu},
  year   = {2020},
  eprint = {2007.03780},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.03780}
}

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/2007.03780.svg)](https://codeofpaper.com/paper/2007.03780)

Discussion