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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file pytorch_vision_classifier-0.0.10.tar.gz.

File metadata

  • Download URL: pytorch_vision_classifier-0.0.10.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pytorch_vision_classifier-0.0.10.tar.gz
Algorithm Hash digest
SHA256 09da0c34884efaafe837e84737144c47886d9869b17517f0ce2029ea4dd518fa
MD5 c1fd904ad1f89bf1a7d70960543e237a
BLAKE2b-256 551fbf9b69854b93dae5f437f5461cd72452e507d7df8109bd86ec498397b2fb

See more details on using hashes here.

File details

Details for the file pytorch_vision_classifier-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: pytorch_vision_classifier-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 23.6 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pytorch_vision_classifier-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 844f45fa1dc1ab7c383b845cd2c6f5c6a2e0179430ace4d04786a7f2cb27a1b1
MD5 0166c68cd6df3352fd14ab742e184016
BLAKE2b-256 814e75fafe238b24f4d4be22e57e14603cc9be75aae78c02291c374959adbf9d

See more details on using hashes here.

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