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 Tensorflow

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))

clf_dl.show_batch(6, figsize=(6,6))
CLASSES ENCODED: {'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.

Source Distribution

chitra-0.0.9.tar.gz (10.3 kB view hashes)

Uploaded Source

Built Distribution

chitra-0.0.9-py3-none-any.whl (10.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page