pytorch-vision-classifier
The main target of this template is to help you build your classification model quickly.
in this library, you can find the following modules:
- lr_finder module is responsible for finding the best learning rate using the algorithm published by Leslie N. Smith in the paper Cyclical Learning Rates for Training Neural Networks. The original code
- pytorch_data_transformation module contains the following customized transformations (NRandomCrop, NCenterCrop, LightnessCompensation, Histogram_equalization, CLAHE)
- pytorch_dataset_preparation module is responsible for handling all dataset related functionalities and dataset details, whether the dataset is in one directory or multiple directories
- pytorch_dataset_samplers module has all the customized samplers
- pytorch_device_manager module is responsible for handling and viewing available GPU devices details
- pytorch_loss_function contains the following customized loss functions (EMD)
- pytorch_model_training module is responsible for handling all details related to the training process: a. Get a pre-trained model for you with the last layer updated with or without a dropout layer and initialized by an algorithm you choose from the most common initialization algorithms b. Know the GPU memory usage of your model c. Understand the timing of different steps during model training d. Provides a dashboard to monitor your model during the training process e. Track the metric that you choose to find the best model for your problem f. Provides a compressed version of your model to be used for deployment purpose g. Extract features from last layer, classification layer, or softmax layer
In order to install, you need to download pytorch. then open the command prompt and type:
pip install pytorch_vision_classifier
Refer to the following notebook to see some code examples
Release files for pytorch-vision-classifier 0.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytorch_vision_classifier-0.0.10.tar.gz | 20.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytorch_vision_classifier-0.0.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 44.5 kB
Release files / pytorch_vision_classifier-0.0.10.tar.gz
| Download URL | pytorch_vision_classifier-0.0.10.tar.gz |
|---|---|
| Size | 20.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
09da0c34884efaafe837e84737144c47886d9869b17517f0ce2029ea4dd518fa
|
|
BLAKE2b-256 checksum How to use checksums |
551fbf9b69854b93dae5f437f5461cd72452e507d7df8109bd86ec498397b2fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.8
|
Release files / pytorch_vision_classifier-0.0.10-py3-none-any.whl
| Download URL | pytorch_vision_classifier-0.0.10-py3-none-any.whl |
|---|---|
| Size | 23.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
844f45fa1dc1ab7c383b845cd2c6f5c6a2e0179430ace4d04786a7f2cb27a1b1
|
|
BLAKE2b-256 checksum How to use checksums |
814e75fafe238b24f4d4be22e57e14603cc9be75aae78c02291c374959adbf9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.8
|