Skip to main content

This library is to help you train and evaluate PyTorch classification model easily and quickly

Project description

pytorch-vision-classifier

image

The main target of this template is to help you build your classification model quickly.

in this library, you can find the following modules:

  1. 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
  2. pytorch_data_transformation module contains the following customized transformations (NRandomCrop, NCenterCrop, LightnessCompensation, Histogram_equalization, CLAHE)
  3. 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
  4. pytorch_dataset_samplers module has all the customized samplers
  5. pytorch_device_manager module is responsible for handling and viewing available GPU devices details
  6. pytorch_loss_function contains the following customized loss functions (EMD)
  7. 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

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

pytorch_vision_classifier-0.0.10.tar.gz (20.9 kB view hashes)

Uploaded Source

Built Distribution

pytorch_vision_classifier-0.0.10-py3-none-any.whl (23.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page