← Open Source
bendangnuksung

Image-OutPainting

🏖 Keras Implementation of Painting outside the box.

Model DevelopmentArchitectureJupyter Notebook
Open on GitHub
Momentum
+1stars in 24 hours+0.1%
1.15k
Stars
223
Forks
+2
This week
2
Contributors
Created 2018-07-20 · Updated 2026-10-16 · #5805 today
Top developers
bendangnuksung
README

Keras implementation of Image OutPainting

This is an implementation of Painting Outside the Box: Image Outpainting paper from Standford University. Some changes have been made to work with 256*256 image:

  • Added Identity loss i.e from generated image to the original image
  • Removed patches from training data. (training pipeline)
  • Replaced masking with cropping. (training pipeline)
  • Added convolution layers.

Results

The model was train with 3500 scrapped beach data with agumentation totalling upto 10500 images for 25 epochs.

Recursive painting

Install Requirements

sudo apt-get install curl
sudo pip3 install -r requirements.txt

Get Started

  1. Prepare Data:
    # Downloads the beach data and converts to numpy batch data
    # saves the Numpy batch data to 'data/prepared_data/'
    sh prepare_data.sh
    
  2. Build Model
    • To build Model from scratch you can directly run 'outpaint.ipynb'

OR

* You can [Download](https://drive.google.com/open?id=1MfXsRwjx5CTRGBoLx154S0h-Q3rIUNH0) my trained model and move it to 'checkpoint/' and run it.

References

Nearby in the ranking
Similar items