This paper has been accepted by ICPR2020.
This repository is an official implementation of the paper Attributes Aware Face Generation with Generative Adversarial Networks.
Recent studies have shown remarkable success in face image generations. However, most of the existing methods only generate face images from random noise, and cannot generate face images according to the specific attributes. In this paper, we focus on the problem of face synthesis from attributes, which aims at generating faces with specific characteristics corresponding to the given attributes. To this end, we propose a novel attributes aware face image generator method with generative adversarial networks called AFGAN. Specifically, we firstly propose a two-path embedding layer and self-attention mechanism to convert binary attribute vector to rich attribute features. Then three stacked generators generate
cfg/CelebA_AFGAN.yml
TRAIN.FLAG: Frue
python main.py --cfg=cfg/CelebA_AFGAN.yml --gpu=0 --data_dir=XXX
cfg/CelebA_AFGAN.yml
TRAIN.FLAG: False
python main.py --cfg=cfg/CelebA_AFGAN.yml --gpu=0 --data_dir=XXX
We have uploaded the model of attribute classifier (AlexNet_epoch_99.pth
) to google drive.