Code Monkey home page Code Monkey logo

generative_image_models's Introduction

Computer Vision Project - Generative Image Models

Nirbhay Modhe, Vikas Jain
Recent Adavances in Computer Vision, Prof Gaurav Sharma, Autumn 2016

Description

The project is based on the work by google Deepmind "DRAW: A recurrent neural network for image generation" by K Gregor et al. The purpose of the project was to implement and understand the paper and possible enhance the model for better image generation.

Workdone

  1. Implemented the model proposed in the paper. The code is adapted from the implementation by Eric Jang (link here).
  2. Analyzed the network parameters of DRAW model.
  3. Analyzed the latent space of the encoded images. This deems as an important step which was missing and produced interesting observations.
  4. Proposed and trained 3 models incorporating CNN in the original DRAW model:
    1. Model I - Each Step Convolution
    2. Model II - Supervised Encoder
    3. Model III - Convolutional Encoder
      Each model shows better performance than the original DRAW model.

Code Contribution

  1. Implemented stochastic data generation part of the paper.
  2. Added an interface for the SVHN dataset to be given as input to the draw network.
  3. Added convolution and deconvolution wrappers for training the proposed models I, II and III.
  4. Implemented the evaluation phase to calculate the negative log-likelihood of the generated images.
  5. Added new sampling functionalities to visualize the latent space.
  6. Visualizing and plotting kernels of the learned CNN.

Code Directory

  1. DRAW-replication: implementation of original paper on two datasets -- MNIST and SVHN.
  2. models: code for three new model proposed
  3. error-calculation: code for calculating negative log likelihood of the images generated by different models.
  4. plotting: code for plotting kernels and generated images.
  5. report: final report and presentation of the project.

Results

For the performance measure of the three proposed models, and analysis of the DRAW model, see final report and presentation in the 'report' folder.

generative_image_models's People

Contributors

vikasjiitk avatar

Watchers

James Cloos 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.