All Projects → timsainb → Tensorflow2 Generative Models

timsainb / Tensorflow2 Generative Models

Implementations of a number of generative models in Tensorflow 2. GAN, VAE, Seq2Seq, VAEGAN, GAIA, Spectrogram Inversion. Everything is self contained in a jupyter notebook for easy export to colab.

Projects that are alternatives of or similar to Tensorflow2 Generative Models

Cryptotechnicals
Presentation and code from Cryptocurrency Technical Trading strategy meeting. Dec 7th 2017
Stars: ✭ 14 (-98.41%)
Mutual labels:  jupyter-notebook
Nlp tutorials
Overview of NLP tools and techniques in python
Stars: ✭ 14 (-98.41%)
Mutual labels:  jupyter-notebook
Frolsidentification
A set of Matlab/Octave files that performs a method of Nonlinear System Identification.
Stars: ✭ 14 (-98.41%)
Mutual labels:  jupyter-notebook
Dsx Tutorials
A collection of tutorials, demos, and use cases for IBM Data Science Experience http://datascience.ibm.com/
Stars: ✭ 14 (-98.41%)
Mutual labels:  jupyter-notebook
Kaggle
My kaggle competition solution and notebook
Stars: ✭ 14 (-98.41%)
Mutual labels:  jupyter-notebook
Strata data
A repo of sample data for our PyData Tutorial!
Stars: ✭ 14 (-98.41%)
Mutual labels:  jupyter-notebook
Tsa
Time Series Anomaly Detection Toolkit
Stars: ✭ 14 (-98.41%)
Mutual labels:  jupyter-notebook
Notebooks
An attempt to formalize my thoughts. A pythonic approach to mental housekeeping
Stars: ✭ 14 (-98.41%)
Mutual labels:  jupyter-notebook
Subreddit Related
Code and visualizations for related/similar subreddits
Stars: ✭ 14 (-98.41%)
Mutual labels:  jupyter-notebook
Cluster Lensing
Galaxy Cluster and Weak Lensing Tools
Stars: ✭ 14 (-98.41%)
Mutual labels:  jupyter-notebook
Tedsds
Apache Spark - Turbofan Engine Degradation Simulation Data Set example in Apache Spark
Stars: ✭ 14 (-98.41%)
Mutual labels:  jupyter-notebook
Academiaiaar
Compilado de cursos y material de capacitación en herramientas de IA y DataScience.
Stars: ✭ 14 (-98.41%)
Mutual labels:  jupyter-notebook
Ansible Jupyterhub
Ansible role to setup jupyterhub server (deprecated)
Stars: ✭ 14 (-98.41%)
Mutual labels:  jupyter-notebook
Icon2017
Repository for the ICON 2017 hackathon 'multivoxel pattern analysis (MVPA) of fMRI data in Python'
Stars: ✭ 14 (-98.41%)
Mutual labels:  jupyter-notebook
Archive
Archive of presentations
Stars: ✭ 14 (-98.41%)
Mutual labels:  jupyter-notebook
Quai
QuAI is QNAP’s AI Developer Package, for data scientists and developers, to quickly build, train, optimize and deploy machine learning models, on top of QNAP NAS.
Stars: ✭ 14 (-98.41%)
Mutual labels:  jupyter-notebook
Ismir2016
Instructions for reproducing the research described in the paper "Tempo Estimation for Music Loops and a Simple Confidence Measure"
Stars: ✭ 14 (-98.41%)
Mutual labels:  jupyter-notebook
Tutorials
A project for developing tutorials for Streams
Stars: ✭ 14 (-98.41%)
Mutual labels:  jupyter-notebook
Motivesextractor
Extract Polyphonic Musical Motives from Audio Recordings
Stars: ✭ 14 (-98.41%)
Mutual labels:  jupyter-notebook
Forecaster
Stars: ✭ 14 (-98.41%)
Mutual labels:  jupyter-notebook

Binder

Generative models in Tensorflow 2

Tim Sainburg (PhD Candidate, UCSD, Gentner Laboratory)

This is a small project to implement a number of generative models in Tensorflow 2. Layers and optimizers use Keras. The models are implemented for two datasets: fashion MNIST, and NSYNTH. Networks were written with the goal of being as simple and consistent as possible while still being readable. Because each network is self contained within the notebook, they should be easily run in a colab session.

Included models:

Autoencoder (AE) Open In Colab

A simple autoencoder network.

an autoencoder

Variational Autoencoder (VAE) (article) Open In Colab

The original variational autoencoder network, using tensorflow_probability

variational autoencoder

Generative Adversarial Network (GAN) (article) Open In Colab

GANs are a form of neural network in which two sub-networks (the encoder and decoder) are trained on opposing loss functions: an encoder that is trained to produce data which is indiscernable from the true data, and a decoder that is trained to discriminate between the data and generated data.

gan

Wasserstein GAN with Gradient Penalty (WGAN-GP) (article) Open In Colab

WGAN-GP is a GAN that improves over the original loss function to improve training stability.

wgan gp

VAE-GAN (article) Open In Colab

VAE-GAN combines the VAE and GAN to autoencode over a latent representation of data in the generator to improve over the pixelwise error function used in autoencoders.

vae gan

Generative adversarial interpolative autoencoder (GAIA) (article) Open In Colab

GAIA is an autoencoder trained to learn convex latent representations by adversarially training on interpolations in latent space projections of real data. This is an experimental modification of the original algorithm. For the original algorithm, see here: https://github.com/timsainb/gaia

generative adversarial interpolative autoencoding network

Other Notebooks:

Seq2Seq Autoencoder (without attention) (Fasion MNIST: Open In Colab | NSYNTH: Open In Colab)

Seq2Seq models use recurrent neural network cells (like LSTMs) to better capture sequential organization in data. This implementation uses Convolutional Layers as input to the LSTM cells, and a single Bidirectional LSTM layer.

a seq2seq bidirectional lstm in tensorflow 2.0

Spectrogramming, Mel Scaling, MFCCs, and Inversion in Tensorflow Open In Colab

Tensorflow has a signal processing package that allows us to generate spectrograms from waveforms as part of our dataset iterator, rather than pregenerating a second spectrogram dataset. This notebook can serve as a reference for how this is done. Spectrogram inversion is done using the Griffin-Lim algorithm.

spectrogram inversion in tensorflow 2.0

Iterator for NSynth Open In Colab

The NSYNTH dataset is a set of thousands of musical notes saved as waveforms. To input these into a Seq2Seq model as spectrograms, I wrote a small dataset class that converts to spectrogram in tensorflow (using the code from the spectrogramming notebook).

a dataset iterator for tensorflow 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].