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

Uploaded Source

Built Distribution

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

Uploaded Python 2 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