Skip to main content

singleline_models

Install

pip install singleline_models

Models

Sketch RNN

PyTorch implementation of the SketchRNN paper, A Neural Representation of Sketch Drawings.

Sketch RNN learns to reconstruct stroke-based drawings, by predicting a series of strokes. It uses a sequence-to-sequence LSTM model, with gaussian mixture heads to produce a sequence of stroke coordinates.

seq2seq model

Datasets

  • data/quickdraw/: Sample data from Quick, Draw! Dataset
  • data/look/: Custom dataset of single-line drawings by @andrewlook

All data is stored in stroke-3 format, meaning a list with three columns:

  • delta_x
  • delta_y
  • lift_pen (if 1, “lift the pen” and start a new stroke; otherwise 0)

stroke-3 turtle

Acknowledgements

Improvements

  • Log epoch and learning rate
  • LR decay
  • ETA decay (for KL loss)
  • Dropout
  • Layer Normalization
  • Recurrent Dropout

Release files for singleline-models 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for singleline-models 0.0.2
File Size Uploaded
singleline_models-0.0.2.tar.gz 37.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for singleline-models 0.0.2
File Interpreter ABI Platform
singleline_models-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 85.0 kB

Release files / singleline_models-0.0.2.tar.gz

Download URL singleline_models-0.0.2.tar.gz
Size 37.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a0dd54afaf7bd7e4a503a729b1af1d27f25ca1f521d1f591476ba30c94f6a99b
BLAKE2b-256 checksum
How to use checksums
0b92b9ab1a933381fb4c0f1eba6d9152036b0e38bcfbaf9fd95769117cc2b1a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.11

Release files / singleline_models-0.0.2-py3-none-any.whl

Download URL singleline_models-0.0.2-py3-none-any.whl
Size 47.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e42933d9cf39c66bb3cea527bbd485c536de5b24281ce5822896110f76c1b1f
BLAKE2b-256 checksum
How to use checksums
8795886fead8aa7e990d52327f578673e3084b53fb310ac5bd9ab5875b03917b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.11

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page