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.3.tar.gz (5.4 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.3.tar.gz.

File metadata

File hashes

Hashes for dashai_image_classification_package-0.0.3.tar.gz
Algorithm Hash digest
SHA256 2a7883f5d3890abc067c07818b3376583eb372b756ef9e4cef8bcfecd901a957
MD5 3fc3d104b5cb1e09038aabbf93de709d
BLAKE2b-256 22317aec0fe08a6a9c46a17699ce7785e5bdcd8fa531bbe7d5296dbea5afcb8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dashai_image_classification_package-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c53ebf66736dbd4faa800fe3cad1bf1c5c4113315171b9dd04b2ca1628bf80fd
MD5 9e608801f065cc02ac35e2b470c58de8
BLAKE2b-256 303946c8ebe541b9981b21b610252dc691f604ef855df822caacb2f6c73c0979

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