Coder Social home page Coder Social logo

dagouchin / ccm-aae Goto Github PK

View Code? Open in Web Editor NEW

This project forked from danielegrattarola/ccm-aae

0.0 2.0 0.0 32 KB

Adversarial Autoencoders with Constant-Curvature Latent Manifolds (2018, https://arxiv.org/abs/1812.04314)

License: MIT License

Python 100.00%

ccm-aae's Introduction

This is the official implementation of the paper "Adversarial Autoencoders with Constant-Curvature Latent Manifolds" by D. Grattarola, C. Alippi, and L. Livi. (2018, https://arxiv.org/abs/1812.04314).

This code showcases the general structure of the methodology used for the experiments in the paper, and allows to reproduce the results on MNIST (the other two applications are conceptually similar, but the code was much more messy).

Please cite the paper if you use any of this code for your research:

@article{grattarola2018adversarial,
  title={Adversarial Autoencoders with Constant-Curvature Latent Manifolds},
  author={Grattarola, Daniele and Livi, Lorenzo and Alippi, Cesare},
  journal={arXiv preprint arXiv:1812.04314},
  year={2018}
}

Setting up

The code is implemented for Python 3 and tested on Ubuntu 16.04.
To run the code, you will need to have the following libraries installed on your system:

  • Keras (pip install keras), a high-level API for deep learning;
  • Spektral (pip install spektral), a Keras extension to build graph neural networks;
  • CDG (see README on Github), a library for non-Euclidean geometry.

The code also depends on Numpy and Scikit-learn.

Running experiments

The src folder includes a script to run the algorithm proposed in the paper on MNIST. After installing the necessary libraries, simply run:

$ python src/mnist.py

to train the CCM-AAE and run the semi-supervised classification.

ccm-aae's People

Contributors

danielegrattarola avatar

Watchers

James Cloos avatar paper2code - bot 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.