Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.15 KB

README.md

File metadata and controls

41 lines (27 loc) · 1.15 KB

Handwriting Model

NOTE: This is currently a work-in-progress.

Implementation of a model for Handwriting Synthesis using a Long Short-Term Memory recurrent neural networks in PyTorch.

Based on the Handwriting Synthesis section of Generating Sequences With Recurrent Neural Networks by Alex Graves.

Dataset

The dataset used to train this neural network is the IAM On-Line Handwriting Database. In order to train this network you have to register then download the following files:

Put both of them inside the data directory.

Usage

Create virtual environment and install packages:

python -m venv venv
source venv/bin/activate
pip install -e .

Then execute the following to train the model:

python -m handwriting_generator

See the main script's help text for more information:

python -m handwriting_generator --help