Giter Site home page Giter Site logo

cs236_neural_processes_for_image_completion's Introduction

CS236 Deep Generative Processes

Neural Processes for Image Completion

Amaury Sabran, Arnaud Autef, Benjamin Petit

In this project, we develop image completion techniques based on Neural Processes , a recently proposed class of models that uses neural networks to describe distributions over functions. We show that the Neural Process model seamlessly applies to the problem of image completion, explore different approaches to this task and discuss their performance on two well-known datasets: MNIST and CIFAR10.

For more details about Neural Processes, see https://arxiv.org/abs/1807.01613 and https://arxiv.org/abs/1807.01622. For more details about the project, see the project report.

To train a neural process on MNIST, run python NP.py. You can visualize the training and sample reconstructed images with tensorboard. To train on CIFAR10, run python NP_CIFAR10.py.

Once you have a saved model in models_saved/NP_model_epoch_x, you can run python complete_image_MNIST.py --resume_file models_saved/NP_model_epoch_x --mask_type upper to generate image completions with the upper half of the image masked.

The code test.py was used to generate metrics in the report and should not be used.

This project was part of the course CS236 Deep Generative Models taught at Stanford University. https://deepgenerativemodels.github.io/

cs236_neural_processes_for_image_completion's People

Contributors

amaurysabran avatar arnaud15 avatar benpetit avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.