Archived
This project has been archived by its maintainers, and is no longer receiving any updates.
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.
Release files for dashai-image-classification-package 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dashai_image_classification_package-0.0.3.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dashai_image_classification_package-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.0 kB
Release files / dashai_image_classification_package-0.0.3.tar.gz
| Download URL | dashai_image_classification_package-0.0.3.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a7883f5d3890abc067c07818b3376583eb372b756ef9e4cef8bcfecd901a957
|
|
BLAKE2b-256 checksum How to use checksums |
22317aec0fe08a6a9c46a17699ce7785e5bdcd8fa531bbe7d5296dbea5afcb8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.17
|
Release files / dashai_image_classification_package-0.0.3-py3-none-any.whl
| Download URL | dashai_image_classification_package-0.0.3-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c53ebf66736dbd4faa800fe3cad1bf1c5c4113315171b9dd04b2ca1628bf80fd
|
|
BLAKE2b-256 checksum How to use checksums |
303946c8ebe541b9981b21b610252dc691f604ef855df822caacb2f6c73c0979
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.17
|