Skip to main content

Train, test, debug and optimize PyTorch models

Project description

https://travis-ci.org/civodlu/trw.svg?branch=master Documentation Status https://coveralls.io/repos/github/civodlu/trw/badge.svg?branch=master

Purpose

The aim of this library is to simplify the process of building, optimizing, testing and debugging deep learning models using PyTorch as well as providing implementations of some of the latest research papers. Extensibility is kept in mind so that it is easy to customize the framework for your particular needs.

Some key features of the framework:

  • Easy to use, flexible and extensible API to build simple & complex models

  • Model debugging (e.g., activation statistics of each layer, gradient norm for each layer, embedding visualization)

  • Model understanding and result analysis (e.g., attention maps, confusion matrix, ROC curves, model comparisons, errors)

  • Support hyper-parameter optimization (random search, hyperband) and analysis

  • Architecture learning (DARTS & evolutionary algorithms)

  • Keep track of the results for retrospective analysis and model selection

Requirements

  • Linux/Windows

  • Python >= 3.6

  • PyTorch >= 1.0

Installation / Usage

To install use pip:

$ pip install trw

Or clone the repo:

$ git clone https://github.com/civodlu/trw.git

$ python setup.py install

Documentation

The documentation can be found at ReadTheDocs.

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

trw-0.1.0.tar.gz (152.8 kB view details)

Uploaded Source

Built Distribution

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

trw-0.1.0-py2.py3-none-any.whl (172.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file trw-0.1.0.tar.gz.

File metadata

  • Download URL: trw-0.1.0.tar.gz
  • Upload date:
  • Size: 152.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.7

File hashes

Hashes for trw-0.1.0.tar.gz
Algorithm Hash digest
SHA256 149c4f5d1dde93f0084d270101c3a442dd143a87ad8cbc54d94ff78121b0f112
MD5 498baf073313fc2ae538700ac62cd0a0
BLAKE2b-256 678a88031bba6bca1b57979915a4988bb2ecf69c867d8a755a3583ee18368ffa

See more details on using hashes here.

File details

Details for the file trw-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: trw-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 172.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.7

File hashes

Hashes for trw-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a0950910b0908d9f2ebbc3797dbd22c06f07a607b43f3f4c4b19d388b9b741a9
MD5 64c428152ab9279e9d23c0d1f7c0956f
BLAKE2b-256 2b54ddc3c9b2a22ac6d55b4b9ee2a0b2772cabecf83fe7efe48612ac0bf4682a

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