Skip to content

zackrdavis/VGAN-EMNIST-Inversion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vanilla GAN with Inversion and export to ONNX

Training a GAN on the EMNIST alphanumeric handwriting dataset, performing inversion, and exporting to ONNX. Network and training code copied almost verbatim from Diego Gomez's great PyTorch implementation.

I've written about this project in more detail here.

Untwisting EMNIST

EMNIST from PyTorch is mirrored and rotated 90 degrees, so I fix the data with some transforms.

a grid of handwritten numbers and letters with each one mirrored and rotated 90 degrees

Training

Nothing new to see here.

Two rows of white glyphs on a black background. The letters are distorted and unreadable.

Inversion

Gradient-descent search through the generator's inputs in search of a good example of each character.

A grid of black tiles with white forms that slowly become handwritten characters.

Exporting to ONNX

Worked just as advertised.

About

Training a vanilla GAN on the EMNIST alphanumeric handwriting dataset, performing inversion, then exporting to ONNX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published