Skip to main content

A library of classes and functions for working with PyTorch.

Project description

firekit

Firekit is a library of classes and functions for training and evaluating PyTorch models. The main focus of the library is a Trainer class that performs the standard training and evaluation loops, reports the training and evaluation loss and the evaluation performance on user-defined metrics, saves the model state when performance improves, and reloads the best model at the end of training.

This project exists to support my work. It is in active development and the API is not stable.

Installation

Install with pip or pipenv in the normal way.

pip install firekit

Use the ---index-url argument to install an older version of PyTorch for CUDA as a dependency. For example, use the following to get PyTorch with CUDA 11.8.

pip install firekit --index-url https://download.pytorch.org/whl/cu118

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

firekit-0.0.11.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

firekit-0.0.11-py3-none-any.whl (9.9 kB view hashes)

Uploaded 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