Convenience functions for the HASY dataset
Project description
hasy_tools
hasy_tools
is a support package for the HASY dataset. The dataset is described
in The HASYv2 dataset.
Installation
$ pip install git+https://github.com/MartinThoma/hasy_tools.git
It can, of course, also be installed via PyPI.
Usage
>>> import hasy_tools
>>> data = hasy_tools.load()
>>> data.keys()
dict_keys(['x_train', 'y_train', 'x_test', 'y_test', 's_train', 's_test', 'labels'])
>>> len(data['labels'])
369
>>> data['x_train'].shape
(151241, 32, 32, 1)
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
hasy_tools-0.1.0.tar.gz
(13.6 kB
view hashes)
Built Distribution
hasy_tools-0.1.0-py3-none-any.whl
(14.1 kB
view hashes)
Close
Hashes for hasy_tools-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ea6af5568ebca324c8cd9446f2b54bbdf17b07d76d2de3b6940ad1ec4860c05 |
|
MD5 | 7bbd517b2e2941d24d5863f35c701bdc |
|
BLAKE2b-256 | 460f092eff15c8c44a657adecdf7a91a6ceda021f5c586a98298b6bc13319392 |