Skip to main content

Introduction

TorchAssistant is a deep learning framework built on top of PyTorch. It provides a set of tools to automate the training and evaluation of models. It also reduces the amount of trivial code one usually needs to write.

Just create a specification file configuring the training session and let the framework do everything else for you.

Main features:

  • scripts for training, evaluation, and inference
  • automatically calculating metrics
  • automatically saving training session
  • resuming the interrupted training session
  • automatically saving metrics history to CSV files
  • nicely formatted information about the training session: epoch, iteration, loss, metrics, etc.
  • highly flexible and customizable
  • support for building complex training pipelines

Status: Early development stage

This project is in the early stage of development. Features and functionality provided here are subject to change. Furthermore, the code is not yet extensively tested and may contain bugs.

Prerequisites

This project has dependencies that require separate installation:

  • PyTorch (version >= 1.10.1, < 2.0)
  • Torchvision (version >= 0.11.2, < 0.12)
  • TorchMetrics (version >= 0.7.2 < 0.8)

When possible, try to follow the recommended version range specified in parentheses.

You can install PyTorch and Torchvision together from here. And you can install TorchMetrics from here.

Installation

pip install torchassistant

Examples

The examples directory contains projects that demonstrate how to use TorchAssistant to train different kinds of neural networks.

Documentation

You can find all the documentation for the project here.

License

This project has an MIT license.

Release files for torchassistant 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for torchassistant 0.2.1
File Size Uploaded
torchassistant-0.2.1.tar.gz 51.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for torchassistant 0.2.1
File Interpreter ABI Platform
torchassistant-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 92.3 kB

Release files / torchassistant-0.2.1.tar.gz

Download URL torchassistant-0.2.1.tar.gz
Size 51.7 kB
Tags Source
SHA-256 checksum
How to use checksums
49fcc0247d8c4cd8e4351f6e50044e7663803d862da2dc5c8806bb4c3ff341f8
BLAKE2b-256 checksum
How to use checksums
43dc546da4c313d32385cdb82f0b2a95c470eac5589093bc62c37dc3ea7a4304
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.0 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/4.0.1 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9

Release files / torchassistant-0.2.1-py3-none-any.whl

Download URL torchassistant-0.2.1-py3-none-any.whl
Size 40.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
097cd6e0fa32f6a72c02a9af0f749b4c169fe8d768a8513b8e894dd4abfae8c5
BLAKE2b-256 checksum
How to use checksums
9e02b6caa78993f6673b6ead701944bc0741063c306b0ceb41c7d6a9878a4ce6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.0 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/4.0.1 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page