ML Models for Single-Line Drawings
Project description
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.
Datasets
data/quickdraw/: Sample data from Quick, Draw! Datasetdata/look/: Custom dataset of single-line drawings by @andrewlook
All data is stored in stroke-3 format, meaning a list with three columns:
delta_xdelta_ylift_pen(if1, “lift the pen” and start a new stroke; otherwise0)
Acknowledgements
- PyTorch Sketch RNN project by Alexis David Jacq
- Annotated Sketch RNN in PyTorch by LabML
- Tensorflow SketchRNN by Magenta Team and David Ha
- sketch-rnn-datasets by David Ha
- SketchRNN-Pytorch by OhataKenji
Improvements
- Log epoch and learning rate
- LR decay
- ETA decay (for KL loss)
- Dropout
- Layer Normalization
- Recurrent Dropout
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file singleline_models-0.0.2.tar.gz.
File metadata
- Download URL: singleline_models-0.0.2.tar.gz
- Upload date:
- Size: 37.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0dd54afaf7bd7e4a503a729b1af1d27f25ca1f521d1f591476ba30c94f6a99b
|
|
| MD5 |
3442f540de607b0d4b211a099cca9be8
|
|
| BLAKE2b-256 |
0b92b9ab1a933381fb4c0f1eba6d9152036b0e38bcfbaf9fd95769117cc2b1a8
|
File details
Details for the file singleline_models-0.0.2-py3-none-any.whl.
File metadata
- Download URL: singleline_models-0.0.2-py3-none-any.whl
- Upload date:
- Size: 47.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e42933d9cf39c66bb3cea527bbd485c536de5b24281ce5822896110f76c1b1f
|
|
| MD5 |
cf7b2a2b2a259d33849bf3fb3b5ed493
|
|
| BLAKE2b-256 |
8795886fead8aa7e990d52327f578673e3084b53fb310ac5bd9ab5875b03917b
|