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.2.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.2.tar.gz.

File metadata

File hashes

Hashes for dashai_image_classification_package-0.0.2.tar.gz
Algorithm Hash digest
SHA256 ee8a2a1f9987d3c55341c156dff6c11b320a977c51be55311e23710d3beac7a4
MD5 e8d40bf237b3293831159a93b87e5dd6
BLAKE2b-256 955372d321085e8b5d599e62330082bef0933ca9417f1cbf0cee38dd65c7aedd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dashai_image_classification_package-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 08c2b41cff0517d782e68d3e5cab66a25de4b971bd67a82d6becd65163246a91
MD5 c7fcc8e0013eaae12650bbcd0f5b4303
BLAKE2b-256 dc98128d322f88e707929bbe3ee9be9e615dd959e310b7a5aa56a6909f7b3758

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