GitXplorerGitXplorer
S

Handwriting_Predict_Synthesis

public
2 stars
0 forks
2 issues

Commits

List of commits on branch master.
Verified
89ff030d54c323fae6d49b1925204c28f67e6b4b

Update README.md

SSaulLu committed 5 years ago
Verified
850976ba011c8b17c80d52935561397ae8f897f5

Update README.md

SSaulLu committed 5 years ago
Verified
da39ecf5aa8c630d64e5b2afc3f38f4d892ba920

Update README.md

SSaulLu committed 5 years ago
Unverified
b62e9bae0d89a33ddff99318d756d1b808173a3f

add result notebook

SSaulLu committed 5 years ago
Unverified
8fdd655cdfcf036e9deb3af048a33587aa5dd557

add example for readme

SSaulLu committed 5 years ago
Unverified
323ae1bffd4e792ca8f08b4e9374f6e49a912e9c

add gitignore data

SSaulLu committed 5 years ago

README

The README file for this repository.

Handwriting | Predict & Synthesis

Proposed implementation of Alex Graves paper

Results

Handwritten synthesis of a dactilographed text

text : Welcome to my repository Example synthesis

Attention windows Attention window

Random handwriting generation

Example synthesis

How to use this repository

This repository is divided into 4 folders:

  • data
  • notebooks
  • models
  • utils

Notebooks folder

  • Notebook to explore the data
  • Notebook for training models
  • Notebook to view the results

Models folder

  • the dummy file gathers the functions able to generate the strokes (unconditional and conditional) from the models learned and stored in ../data/files
  • the dataloader file contains the two classes allowing to manipulate easily the dataset with pytorch
  • the networks file contains the two classes modeling the two networks for the first two first questions
  • the trainers file contains the classes that allow to train the networks preceding
  • the files folder contains the saved weights of networks and others

Utils folder

  • contains the function plot_stroke in the _init_
  • contains the Onehot Encoder class which allows to work with Onehot encoded sentences.

Data folder

  • contains the raw data :
    • strokes-py3.npy contains 6000 sequences of points that correspond to handwritten sentences
    • sentences.txt contains the corresponding text sentences

Requirements

  • numpy==1.17.4
  • matplotlib==3.1.1
  • torch==1.3.1