Library for creating data input pipeline in pure Tensorflow 2.x
Project description
Chitra
Library for creating data input pipeline in pure Tensorflow 2.x
.
Install
pip install chitra
How to use
Loading data for image classification
from chitra.dataloader import Clf
path = '/Users/aniketmaurya/Pictures/cats'
clf_dl = Clf()
data = clf_dl.from_folder(path)
print('class names:', clf_dl.CLASS_NAMES)
for e in data.take(1):
print('image shape:', e[0].shape)
print('class:', e[1].numpy())
class names: (b'whitecat', b'blackcat')
image shape: (1, 160, 160, 3)
class: b'whitecat'
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
chitra-0.0.1.tar.gz
(9.5 kB
view details)
Built Distribution
File details
Details for the file chitra-0.0.1.tar.gz
.
File metadata
- Download URL: chitra-0.0.1.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200106 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c574dff926fb86a7f144802d96e17fed27b51b043c92486610b886efa3d78f12 |
|
MD5 | 701607586ceea5e9e3efe01d014f3c38 |
|
BLAKE2b-256 | c7a9361e04f5676558246f9fca4711048df424e1daf73925a915f7d91ed42998 |
Provenance
File details
Details for the file chitra-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: chitra-0.0.1-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200106 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0e9599207401eee61564f614c2ca510ab489b2a57f62a1f713b0d1b9424181b |
|
MD5 | f9a644a6895f3a525d4668772b6d4613 |
|
BLAKE2b-256 | bbd4b2fe0e43d8cc432355df0cf11207846dae81f20267824cde6c4c1fe4d604 |