OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Developer Tools & SDKs

Chitra

Chitra is an open-source Python library for full-stack deep-learning work, with documented tools for image dataset loading, model training and interpretation, visualization, and creating interfaces or REST API backends to serve machine-learning models.

Independent OpenViST project profile, based on linked sources.

Chitra — Image-classification dataset loading and batch visualization
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Chitra when a Python image-model workflow needs data-loading and visualization utilities alongside model-development and serving tools.

Who it is for

  • Python developers preparing image datasets for classification.
  • Machine-learning practitioners who want configurable data loading and image visualization.
  • Developers building model interfaces or REST API backends for serving machine-learning models.

Documented uses

  • Load image-classification data into a TensorFlow dataset.
  • Adapt filename and label generation to a custom dataset layout.
  • Visualize images and bounding boxes and interpret models with GradCAM or GradCAM++.
  • Develop and experiment with deep-learning models, then prepare a UI or REST API backend for serving.
Before you choose

Requirements & limits

The repository identifies Chitra as open source under the Apache-2.0 license and documents installation through pip or from source.

  • Training and serving have separate pip extras: chitra[nn] and chitra[serve]; a full installation is also documented.
  • The demonstrated classification loader returns a TensorFlow tf.data.Dataset.
  • The configurable data generator can replace dataset components such as file discovery and label generation.
  • The repository highlights automatic Dockerization and framework-agnostic model serving with an interactive UI prototype.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Load and preview an image-classification folder

Create a classification dataset from a folder and display a batch.

Before you start

  • Chitra installed in Python.
  • An image folder path assigned to cat_dog_path.

Steps

  1. Import Clf from chitra.dataloader.

  2. Create a loader with clf_dl = Clf().

  3. Call clf_dl.from_folder(cat_dog_path, target_shape=(224, 224)) to create the data object.

  4. Call clf_dl.show_batch(8, figsize=(8, 8)) to display a batch.

Expected outcome

A batch of eight resized images from the folder is displayed, and the loader returns a `tf.data.Dataset` object.

Guide limitations

  • The example demonstrates image classification folder loading; it does not document model training or prediction steps.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
23 October 2026
Original website title
aniketmaurya/chitra · Official homepage title · retained in its source language