Skip to main content

Image Classification Plugin for DashAI

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

Image Classification Plugin

This plugin provides the necessary tools to implement image classification tasks using the DashAI framework. The plugin includes a data loader and an MLP (Multi-Layer Perceptron) based classification model.

Components

ImageDataLoader

  • Specialized data loader for images
  • Compatible with ZIP files containing image folders
  • Converts images to bytes format for processing
  • Integration with HuggingFace Dataset format

MLPImageClassifier

  • Image classification model based on Multi-Layer Perceptron
  • Features:
    • Configurable hidden layers
    • Adam optimizer
    • CrossEntropyLoss function
    • GPU support (CUDA)
    • Automatic image transformations (resizing to 30x30)
    • Ability to save and load trained models

Model Parameters

  • epochs: Number of training epochs (default: 10)
  • learning_rate: Learning rate (default: 0.001)
  • hidden_dims: Hidden layer dimensions (default: [128, 64])

Requirements

  • DashAI
  • PyTorch
  • torchvision 0.19.1

Usage

  1. Load the image dataset using ImageDataLoader
  2. Configure the MLPImageClassifier model with desired parameters
  3. Train the model using the fit method
  4. Make predictions using the predict method

Notes

This plugin is designed to integrate with the DashAI framework and does not implement a specific model itself, but rather provides the necessary infrastructure for image classification.

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

dashai_image_classification_package-0.0.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file dashai_image_classification_package-0.0.1.tar.gz.

File metadata

File hashes

Hashes for dashai_image_classification_package-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e31667b9a7bf3e7fadf98a04662f1a15d22ab3eabe740ed3486639724c90ccef
MD5 de2204b52e3d9f15c4c3c1d63283c7dd
BLAKE2b-256 e9488984d981f768810cb65c7362afcf103d0f50f8f4cd34c6ddf7d354471e40

See more details on using hashes here.

File details

Details for the file dashai_image_classification_package-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for dashai_image_classification_package-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 31ddf7bff38eec7bc612f701667f4d516b517d5a80830f149339ad233fba10bf
MD5 4b4503083d5227362e5ee8259a136ae8
BLAKE2b-256 336b9008b3cc8e9676cf7c7295020ed190db078bd3ca10b4777aa9d3e41abbec

See more details on using hashes here.

Supported by

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