Skip to main content

ADV-TRAIN is Deep Vision TRaining And INference framework

Project description

ADV-TRAIN : ADV-TRAIN is Deep Vision TRaining And INference framework

This is a framework built on top of pytorch to make machine learning training and inference tasks easier. Along with that it also enables easy dataset and network instantiations, visualize boundaries and more.

Read the latest documentation at https://adv-train.readthedocs.io/en/latest/

Why use this framework?

  • It is very easy to use and well documented and tested
  • The framework supports resume (Yes you can restart training from where ever you left off when your server crashed!).
  • The framework also implements support for train/validation splits of your choice with early stopping baked in.
  • Single argument change for using different datasets and models i.e. convinence at you fingertips
  • Dataloader parameters optimized for highest possbile performance when traning.
  • Supports multi-gpu training (single parameter update required)

Installing

Requirements are listed in requirements.txt. Use the command

pip install -r requirements.txt

to install all required dependencies

Documentation

Read the latest documentation at https://adv-train.readthedocs.io/en/latest/

To read the documentation, navigate to /docs and type

make html

This will generate a build directory and will house a html folder within which you shall find index.html (i.e. path is /docs/build/html/index.html)

Open this in any web browser. This project uses Sphnix to autogenerate this documentation.

Running Examples

This repo has examples on how to train and visualize boundaries in /examples folder. When using the training code please create the following folder structure in the root directory (this is autommatically created)

/pretrained/<dataset name in small letters>/temp

This lets the framework store the models with the nomenclature datasetname_architecture_suffix.ckpt. The temp folder contains information stored by the framework for resume support.

Pretrained Models

We provide pretrained models in ./pretrained folder

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

advtrain-0.0.1.tar.gz (23.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

advtrain-0.0.1-py3-none-any.whl (42.3 kB view details)

Uploaded Python 3

File details

Details for the file advtrain-0.0.1.tar.gz.

File metadata

  • Download URL: advtrain-0.0.1.tar.gz
  • Upload date:
  • Size: 23.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9

File hashes

Hashes for advtrain-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9911b958e4074488511c2583e9efc7c890087eaa8a03e47c84996a7ce9d4ad6c
MD5 7ed8a62a977face6514a6d6d8f57a9b4
BLAKE2b-256 e8583cdb21a3cab07ed38f0059a64164b5d1b0508411112d7a414651204626a4

See more details on using hashes here.

File details

Details for the file advtrain-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: advtrain-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 42.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9

File hashes

Hashes for advtrain-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 070f8fad9ae9d3cad9ad39bc670e71f0ce4a39996570c2fb7b704579e96ca67f
MD5 2bebf63ffc0fa1ae839f370fe67ae3ec
BLAKE2b-256 efaaefc8bf7deccd9204407301a3c0ec20ecbbfed79bf5c3d5e563ec92eeec8d

See more details on using hashes here.

Supported by

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