• Stars
    star
    212
  • Rank 185,021 (Top 4 %)
  • Language
    Python
  • License
    MIT License
  • Created over 6 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Globally and Locally Consistent Image Completion

Globally and Locally Consistent Image Completion

Tensorflow implementation of Globally and Locally Consistent Image Completion on celebA dataset.
Alt text

What's different from the paper

  • smaller image input size (128x128)
  • smaller patch sizes
  • less number of training iteration (500,000 iterations in the paper)
  • Adam optimizer used instead of Adadelta

Requirements

  • Opencv 2.4
  • Tensorflow 1.4

Folder Setting

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

Train

$ python train.py 

To continue training

$ python train.py --continue_training=True

Test

$ python test.py --img_path=./data/test/test_img.jpg

Alt text

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

Results

Alt text