neerz / Face-Completion-GANs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Globally and Locally Consistent Image Completion

Face-Completion-GANs

Keras implementation of (Globally and Locally Consistent Image Completion) on celebA dataset.
Alt text

Requirements

  • Opencv 3.4.3.18
  • Keras 2.2.4

Folder Setting

-data
  -img_align_celeba
    -img1.jpg
    -img2.jpg
    -...

Train

$ python train.py 

Test

Download pretrained weights

$ python test.py

Results

  • Python OpenCv

    Use your mouse to erase pixels in the image.  
    When you're done, press Q.  
    Result will be shown in few seconds.
    

Alt text Alt text Alt text Alt text

  • After 10 Epochs

Alt text

  • After 20 Epochs

Alt text

Feature works

  • using align the face landmarks with dlib before training.

About


Languages

Language:Python 100.0%