Skip to content

(WIP) Implementation of a network for Handwriting Synthesis based on the work of Generating Sequences With Recurrent Neural Networks by Alex Graves (https://arxiv.org/abs/1308.0850)

License

Notifications You must be signed in to change notification settings

AnesBenmerzoug/Handwriting-Model

Repository files navigation

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