Giter Club home page Giter Club logo

cifar-10_gan_tensorflow's Introduction

Generative Adversarial Network for CIFAR-10 dataset

  • project implemented as part of the Deep Learning Methods course attended on MSc degree of Data Science at the Faculty of Mathematics and Information Sciences in Warsaw University of Technology,
  • the implemented architectures are DC-GAN and MLP-GAN,
  • written in TensorFlow r1.13.

Prerequisites to run

  • Google Colab access,
  • Google Storage Bucket with public access.

How to run via Google Colab

There are three files for Google Colab, which are described below:

  • Google_Colab_Train_eval_predict.ipynb - main notebook which allows to train GAN model, make small evaluation and generate images based on noise,
  • Google_Colab_Most_similar.ipynb - after training model you can use this notebook to find most similar images in training set to that which your model can generate,
  • Google_Colab_Latent_space_interpolation.ipynb - this notebook can ensure you that the GAN model has learnt some deep knowledge about the training set examples.

In order to run any of script please do following:

  1. Open Google_Colab_*.ipynb in Google Colab by clicking any of these links: train_eval_predict, most_similar, latent_space_interpolation,
  2. set Google Colab environment to support TPU computation,
  3. modify variables placed in the first cell of each notebook,
  4. run all cells,
  5. after all cells execution, please take a look either on the cells output or the Google Storage Bucket, which you provided to store model's checkpoints and generated images in.

Results

Animation showing generated images during training of MLP-GAN and DC-GAN architectures:

  1. MLP-GAN:

    Generated images during training for MLP-GAN

  2. DC-GAN:

    Generated images during training for DC-GAN

Image generated for 1000-epoch trained DC-GAN using Google_Colab_Latent_space_interpolation.ipynb:

Latent space showcase for 1000-epoch trained DC-GAN

Image generated for 1000-epoch trained DC-GAN using Google_Colab_Most_similar.ipynb:

Most similar images showcase for 1000-epoch trained DC-GAN

For more results and diagrams of architectures please read Project_Final_Report_PL.pdf file.

cifar-10_gan_tensorflow's People

Contributors

victoratpl avatar

Stargazers

 avatar

Watchers

 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.