A deep learning framework and automation tool built on top of PyTorch
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file torchassistant-0.2.1.tar.gz
.
File metadata
- Download URL: torchassistant-0.2.1.tar.gz
- Upload date:
- Size: 51.7 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49fcc0247d8c4cd8e4351f6e50044e7663803d862da2dc5c8806bb4c3ff341f8 |
|
MD5 | 7c5d7e04929b47e8ada7634f4130a8c9 |
|
BLAKE2b-256 | 43dc546da4c313d32385cdb82f0b2a95c470eac5589093bc62c37dc3ea7a4304 |
File details
Details for the file torchassistant-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: torchassistant-0.2.1-py3-none-any.whl
- Upload date:
- Size: 40.6 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 097cd6e0fa32f6a72c02a9af0f749b4c169fe8d768a8513b8e894dd4abfae8c5 |
|
MD5 | 68d02065ae1570fc29754c657f3bcfc8 |
|
BLAKE2b-256 | 9e02b6caa78993f6673b6ead701944bc0741063c306b0ceb41c7d6a9878a4ce6 |