Coder Social home page Coder Social logo

iamvibhorsingh / novel-metric-to-calculate-similarity-between-original-and-wae-synthesized-image Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 2.86 MB

This is the code implementation of our research paper in AICAI '19 Dubai.

License: MIT License

Jupyter Notebook 82.37% Python 17.63%
wae-mmd wasserstein-autoencoder mmd quasi-euclidean

novel-metric-to-calculate-similarity-between-original-and-wae-synthesized-image's Introduction

Requirements

  • Python 3.x (tested with Python 3.6)
  • TensorFlow v1.x (tested with 1.8)
  • tqdm (for the progress bar)

Doing it yourself

Training

Just run this command

python main.py

How to run Inference

Open the MNIST Plot.ipynb with Jupyter Notebook/Lab.

A pretrained model for MNIST is included in the repository here. Please download the zip file and decompress it on assets/pretrained_models/celeba/last*. Or, you can easily modify a path at the first cell on the notebook.

Results

MNIST

  • Learning statistics learning_stat
  • Reconstruction Results recon (top): original images from MNIST validation set, (bottom): reconstructed image
  • As can be seen in the MNIST jupyter notebook, our novel implementation of quasi-euclidean metric gives a similarity score of 1 to WAE-MMD synthesized images and the ground truth (original) image. It is justifiable since WAE-MMD do a very well job at synthesizing MNIST data especially since the images only have a few amount of pixels as well as not a lot of features that the model has to recognize.
  • Random Sampled Images random_sample

novel-metric-to-calculate-similarity-between-original-and-wae-synthesized-image's People

Contributors

iamvibhorsingh avatar

Watchers

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