AnesBenmerzoug / Handwriting-Model

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

(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:MIT License


Languages

Language:Python 75.1%Language:Jupyter Notebook 24.9%