Home
Softono
Image-OutPainting

Image-OutPainting

Open source Jupyter Notebook
1.1K
Stars
223
Forks
21
Issues
40
Watchers
3 years
Last Commit

About Image-OutPainting

# Keras implementation of Image OutPainting This is an implementation of [Painting Outside the Box: Image Outpainting](https://cs230.stanford.edu/projects_spring_2018/posters/8265861.pdf) 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](https://drive.google.com/open?id=1hKIn-Z8Uf3voESbJZVsapLHESPabjjrb) with agumentation totalling upto 10500 images for 25 epochs. ![Demo](https://i.imgur.com/ZHtoeDF.jpg) #### Recursive painting ![Demo](http://i.imgur.com/pDUpzcY.jpg) ### Install Requirements ``` sudo apt-get install curl sudo pip3 install -r requirements.txt ``` ## Get Started 1. Prepare Data: ```sh # Downloads the beach data and converts to numpy batch data # saves the N ...

Platforms

Web Self-hosted

Languages

Jupyter Notebook

Links

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. Demo

Recursive painting

Demo

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 my trained model and move it to 'checkpoint/' and run it.

References