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
- Load the image dataset using
ImageDataLoader - Configure the
MLPImageClassifiermodel with desired parameters - Train the model using the
fitmethod - Make predictions using the
predictmethod
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dashai_image_classification_package-0.0.2.tar.gz.
File metadata
- Download URL: dashai_image_classification_package-0.0.2.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee8a2a1f9987d3c55341c156dff6c11b320a977c51be55311e23710d3beac7a4
|
|
| MD5 |
e8d40bf237b3293831159a93b87e5dd6
|
|
| BLAKE2b-256 |
955372d321085e8b5d599e62330082bef0933ca9417f1cbf0cee38dd65c7aedd
|
File details
Details for the file dashai_image_classification_package-0.0.2-py3-none-any.whl.
File metadata
- Download URL: dashai_image_classification_package-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08c2b41cff0517d782e68d3e5cab66a25de4b971bd67a82d6becd65163246a91
|
|
| MD5 |
c7fcc8e0013eaae12650bbcd0f5b4303
|
|
| BLAKE2b-256 |
dc98128d322f88e707929bbe3ee9be9e615dd959e310b7a5aa56a6909f7b3758
|