A model training library for pytorch
Project description
Note: We're moving to PyTorch Lightning! Read about the move here. From the end of February, torchbearer will no longer be actively maintained. We'll continue to fix bugs when they are found and ensure that torchbearer runs on new versions of pytorch. However, we won't plan or implement any new functionality (if there's something you'd like to see in a training library, consider creating an issue on PyTorch Lightning).
Website • Docs • Examples • Install • Citing • Related
A PyTorch model fitting library designed for use by researchers (or anyone really) working in deep learning or differentiable programming. Specifically, we aim to dramatically reduce the amount of boilerplate code you need to write without limiting the functionality and openness of PyTorch.
Examples
General
Deep Learning
Differentiable Programming
Install
The easiest way to install torchbearer is with pip:
pip install torchbearer
Alternatively, build from source with:
pip install git+https://github.com/pytorchbearer/torchbearer
Citing Torchbearer
If you find that torchbearer is useful to your research then please consider citing our preprint: Torchbearer: A Model Fitting Library for PyTorch, with the following BibTeX entry:
@article{torchbearer2018,
author = {Ethan Harris and Matthew Painter and Jonathon Hare},
title = {Torchbearer: A Model Fitting Library for PyTorch},
journal = {arXiv preprint arXiv:1809.03363},
year = {2018}
}
Related
Torchbearer isn't the only library for training PyTorch models. Here are a few others that might better suit your needs (this is by no means a complete list, see the awesome pytorch list or the incredible pytorch for more):
- skorch, model wrapper that enables use with scikit-learn - crossval etc. can be very useful
- PyToune, simple Keras style API
- ignite, advanced model training from the makers of PyTorch, can need a lot of code for advanced functions (e.g. Tensorboard)
- TorchNetTwo (TNT), can be complex to use but well established, somewhat replaced by ignite
- Inferno, training utilities and convenience classes for PyTorch
- Pytorch Lightning, lightweight wrapper on top of PyTorch with advanced multi-gpu and cluster support
- Pywick, high-level training framework, based on torchsample, support for various segmentation models
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 torchbearer-0.5.5.tar.gz
.
File metadata
- Download URL: torchbearer-0.5.5.tar.gz
- Upload date:
- Size: 113.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5df13b0f70e92f4e1f9f65e0c0a33bba26cd8c15fc38fa1be5bbeda41bcd22be |
|
MD5 | eccb657ec2d518b077c42a5870937e3c |
|
BLAKE2b-256 | c695a6d6838706531c58f7935192da1605cdcd6a1b537a40186f029f8055f928 |
File details
Details for the file torchbearer-0.5.5-py3-none-any.whl
.
File metadata
- Download URL: torchbearer-0.5.5-py3-none-any.whl
- Upload date:
- Size: 139.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dda4a764f92543726975130d6c971f4af58c9219728d02c0823676a4b7baaa6 |
|
MD5 | f999aa4c017e8f0d9978f4a07164aeeb |
|
BLAKE2b-256 | 25cd54098c4a943bfd06f4fc738b5af346c1efe38d58567813f689eeeac0716f |