Skip to content

shridhivyah/starGAN

Repository files navigation

Face Attributes Transfer ( StarGAN

Multiple domain interpretation ( style transfer

Change the face with different attributes ( hair color, gender, skin, facial expressions ) imga The images from left to right are ( original image, black hair, blond hair, male, male with mustache, without smiling, pale face )

Usage

  • Dataset need to be preprocessed with following this steps
    • We use 256 x 256 celeba images as our training data
  • Preprocessing
    • python3 preprocessing.py
  • Train
    • python3 train.py <path to celeba-hq/celeba-256>
  • Predict
    • Reference predict.ipynb to understand how to use it

Result

imgb

  • The images from left to right are ( original image, black hair, brown hair, male, male with mustache, without smiling, pale face )

imgc

  • The images from left to right are ( original image, black hair, blond hair, male, male with mustache, without smiling, pale face )

imgd

  • The images from left to right are ( original image, without mustache, blond hair, female, more mustache, smiling, pale face )

imge

  • The images from left to right are ( original image, blond hair, brown hair, female, more mustache, without smiling, pale face )

Reference

About

FaceAttributeChange_StarGAN

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published