All Projects → snowkylin → Rnn Handwriting Generation

snowkylin / Rnn Handwriting Generation

Handwriting generation by RNN with TensorFlow, based on "Generating Sequences With Recurrent Neural Networks" by Alex Graves

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Rnn Handwriting Generation

Attend infer repeat
A Tensorfflow implementation of Attend, Infer, Repeat
Stars: ✭ 82 (-8.89%)
Mutual labels:  rnn, generative-model
char-VAE
Inspired by the neural style algorithm in the computer vision field, we propose a high-level language model with the aim of adapting the linguistic style.
Stars: ✭ 18 (-80%)
Mutual labels:  generative-model, rnn
Pytorch Pix2pix
Pytorch implementation of pix2pix for various datasets.
Stars: ✭ 74 (-17.78%)
Mutual labels:  generative-model
Lstm chem
Implementation of the paper - Generative Recurrent Networks for De Novo Drug Design.
Stars: ✭ 87 (-3.33%)
Mutual labels:  rnn
Code
ECG Classification
Stars: ✭ 78 (-13.33%)
Mutual labels:  rnn
Markov Chain Gan
Code for "Generative Adversarial Training for Markov Chains" (ICLR 2017 Workshop)
Stars: ✭ 76 (-15.56%)
Mutual labels:  generative-model
Pytorch Sentiment Analysis Classification
A PyTorch Tutorials of Sentiment Analysis Classification (RNN, LSTM, Bi-LSTM, LSTM+Attention, CNN)
Stars: ✭ 80 (-11.11%)
Mutual labels:  rnn
Patter
speech-to-text in pytorch
Stars: ✭ 71 (-21.11%)
Mutual labels:  rnn
Speech Emotion Recognition
Detecting emotions using MFCC features of human speech using Deep Learning
Stars: ✭ 89 (-1.11%)
Mutual labels:  rnn
Machine Learning
My Attempt(s) In The World Of ML/DL....
Stars: ✭ 78 (-13.33%)
Mutual labels:  rnn
Sem Pcyc
PyTorch implementation of the paper "Semantically Tied Paired Cycle Consistency for Zero-Shot Sketch-based Image Retrieval", CVPR 2019.
Stars: ✭ 76 (-15.56%)
Mutual labels:  generative-model
Gru Svm
[ICMLC 2018] A Neural Network Architecture Combining Gated Recurrent Unit (GRU) and Support Vector Machine (SVM) for Intrusion Detection
Stars: ✭ 76 (-15.56%)
Mutual labels:  rnn
Copper price forecast
copper price(time series) prediction using bpnn and lstm
Stars: ✭ 81 (-10%)
Mutual labels:  rnn
Dfc Vae
Variational Autoencoder trained by Feature Perceputal Loss
Stars: ✭ 74 (-17.78%)
Mutual labels:  generative-model
Vae For Image Generation
Implemented Variational Autoencoder generative model in Keras for image generation and its latent space visualization on MNIST and CIFAR10 datasets
Stars: ✭ 87 (-3.33%)
Mutual labels:  generative-model
Codegan
[Deprecated] Source Code Generation using Sequence Generative Adversarial Networks
Stars: ✭ 73 (-18.89%)
Mutual labels:  rnn
Dream
rnn based model for recommendations
Stars: ✭ 77 (-14.44%)
Mutual labels:  rnn
Inr Gan
Adversarial Generation of Continuous Images [CVPR 2021]
Stars: ✭ 81 (-10%)
Mutual labels:  generative-model
Cnn lstm for text classify
CNN, LSTM, NBOW, fasttext 中文文本分类
Stars: ✭ 90 (+0%)
Mutual labels:  rnn
Sleepeegnet
SleepEEGNet: Automated Sleep Stage Scoring with Sequence to Sequence Deep Learning Approach
Stars: ✭ 89 (-1.11%)
Mutual labels:  rnn

Generating handwriting with LSTM, Mixture Gaussian & Bernoulli distribution and TensorFlow

This is a TensorFlow implementation of Generating Sequences With Recurrent Neural Networks by Alex Graves.

It have two functions:

  • Handwriting Prediction: Randomly generate a line of handwriting (set mode=predict).
  • Handwriting Synthesis: Given a string, generate the corresponding handwriting (set mode=synthesis).

This project is adapted from hardmaru's great work. The util.py is just from there and before running train.py and sample.py you need to follow the instruction and download the necessary files.

I hope to make this model simple, just show the main algorithm as clear as possible without struggling with bundles of optimization methods in deep learning. But if you wish, you can add them easily by yourself.

Sample Result

Handwriting Prediction

sample.normal.svg This is the result with default setting:

  • rnn state size = 256
  • rnn length = 300
  • num of layers = 2
  • number of mixture gaussian = 20

and 20+ epochs. Not so fancy but can be recognized as something like handwritting, huh?

Handwriting Synthesis

sample.normal.biased.3.svg

This is the result with the string "a quick brown fox jumps over the lazy dog".

In addition, the scribe project by greydanus also helps me a lot, expecially the use of tf.batch_matmul().

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