Skip to main content

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

import tensorflow as tf
import chitra
from chitra.dataloader import Clf, show_batch

path = '/Users/aniketmaurya/Pictures/cats'

clf_dl = Clf()
data = clf_dl.from_folder(path, target_shape=(224, 224))

show_batch(clf_dl, limit=6, figsize=(6,6))
CLASSES FOUND: ('blackcat', 'whitecat')
CLASSES ENCODED AS {'blackcat': 0, 'whitecat': 1}

png

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for chitra, version 0.0.7
Filename, size File type Python version Upload date Hashes
Filename, size chitra-0.0.7-py3-none-any.whl (10.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size chitra-0.0.7.tar.gz (10.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page