资源算法tensorflow2-generative-models

tensorflow2-generative-models

2019-12-20 | |  47 |   0 |   0

Included models:

Autoencoder (AE) Open In Colab

A simple autoencoder network.

图片.png

Variational Autoencoder (VAE) (article) Open In Colab

The original variational autoencoder network,  using tensorflow_probability

图片.png

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.

图片.png

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.

图片.png

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.

图片.png

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.

图片.png

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.

图片.png

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.

图片.png

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

图片.png


上一篇:tensorflow-generative-model-collections

下一篇:OpenBCI_Ganglion_Library

用户评价
全部评价

热门资源

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...