This package includes all the necessary components to classify images using a pre-trained models.
Project description
Image Classification Package
This package include all the necessary components (Task, Models, Dataloader) to perform image classification task.
Task
ImageClassificationTask
The task of this package is to perform image classification. The task is defined in the image_classification_task.py
file. The task is to classify the images into different classes. The task is defined as a class ImageClassificationTask
which is inherited from the BaseTask
.
Dataloader
ImageDataLoader
This module is a dataloader for the images. The module is defined in the image_dataloader.py
file. The module is defined as a class ImageDataLoader
which is inherited from the BaseDataLoader
. The module uses the load_dataset
method from the library datasets
to load the dataset.
Models
BasicFinetunnedModels
This module is a image classification model which uses the pre-trained models from the torchvision.models
and finetunes them on the given dataset. The module is defined in the basic_finetunned_models.py
file. The module is defined as a class BasicFinetunnedModels
which is inherited from the ImageClassificationModel
.
The pretrained models available are:
- resnet18
- resnet34
- resnext50_32x4d
- vgg16
- maxvit_t
- densenet121
- efficientnet_b0
- googlenet
- mnasnet0_5
- mobilenet_v2
- regnet_x_16gf
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
Hashes for image_classification_package-0.0.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93b3a977abf3e043a11e612579222b898b7f4245fbdd1dc310d3af0a686298d8 |
|
MD5 | 8907d18eb6c0baa1fa7e247d1af5cd38 |
|
BLAKE2b-256 | d5b28642ca9bf644a4d67dba4e30e19c5e1a25197dfa96237cd551d31a37ffd0 |
Hashes for image_classification_package-0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 055c9b33ed64eecdda6d06db904b4bc4f6a3d6c9cab029435b36e5d39e031f20 |
|
MD5 | 8fdab877dc88373fbc81cde57241d6a1 |
|
BLAKE2b-256 | 3412ab0ce1d82124ada8cc9c9d0bb29acdd8012078e5e4bff6a9eaa54af78667 |