Skip to content

Convert RAW Quickdraw datafiles into stroke-based .npz format with RDP at variable epsilon for sketch-rnn

Notifications You must be signed in to change notification settings

japman1997/quickdraw-ndjson-to-npz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Convert RAW Quickdraw datafiles into Stroke-5 format with RDP at variable epsilon

The notebook convert_ndjson.ipynb will convert .ndjson files into the .npz files one can use to train sketch-rnn. We set the target length to be 200 steps, and vary epsilon parameters to control the granuarity of the RDP algorithm.

To download an .ndjson file, try:

wget https://storage.googleapis.com/quickdraw_dataset/full/raw/jail.ndjson

To download the jail class

And we assume it is saved in a subdir called /ndjson for this notebook.

About

Convert RAW Quickdraw datafiles into stroke-based .npz format with RDP at variable epsilon for sketch-rnn

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 75.4%
  • Python 24.6%