Skip to content

Transfer faces from one person to another with GAN.

License

Notifications You must be signed in to change notification settings

everchens/FaceTransfer

Repository files navigation

FaceTransfer

This project borrows code from MUNIT-Tensorflow and StarGAN-Tensorflow.

Gakki to Trump

A2B_1A2B_2

Trump to Gakki

B2A_1B2A_2

Video Demo

Gakki to Trump

Trump to Gakki

Requirements

  • Tensorflow 1.4
  • Python 3.6

Usage

├── dataset
   └── YOUR_DATASET_NAME
       ├── trainA
           ├── xxx.jpg (name, format doesn't matter)
           ├── yyy.png
           └── ...
       ├── trainB
           ├── zzz.jpg
           ├── www.png
           └── ...
       ├── testA
           ├── aaa.jpg 
           ├── bbb.png
           └── ...
       └── testB
           ├── ccc.jpg 
           ├── ddd.png
           └── ...


### Train
* python main_2.py --phase train --dataset YOUR_DATASET_NAME --batch_size 1

### Test
* python main_2.py --phase test --dataset YOUR_DATASET_NAME --batch_size 1

## Author
everchens

About

Transfer faces from one person to another with GAN.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages