#150 · Primary category: Image Generation

APDrawingGAN

apdrawinggan computer-graphics computer-vision deep-learning face gan image-generation image-synthesis pytorch

Code for APDrawingGAN: Generating Artistic Portrait Drawings from Face Photos with Hierarchical GANs (CVPR 2019 Oral)

Project last updated:08/01/22

GitHub Stars

811

Forks

154

Contributors

3

License

Apache-2.0

Why we included this project

APDrawingGAN is a research implementation of a hierarchical GAN that converts a face photo into an artistic portrait drawing. Instead of relying on one global generator, the model breaks the face into regions such as eyes, nose, mouth, and hair, and trains a separate generator and discriminator for each, an architecture worth studying if you are building any part-based image synthesis pipeline. The repo includes pretrained weights, a preprocessing pipeline that aligns faces and extracts landmarks and background masks, and train/test scripts, so you can reproduce the paper's results or adapt the code to your own data. It is research code from a CVPR 2019 paper rather than a maintained product, so expect Python 2.7-era dependencies and some integration work on your side. For anyone prototyping artistic portrait generation or hierarchical GANs, it is still a solid starting point.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category