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 --extra-index-url argument to install PyTorch for CUDA as a dependency. For example, use the following to get PyTorch with CUDA 11.3.

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

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.5.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

firekit-0.0.5-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file firekit-0.0.5.tar.gz.

File metadata

  • Download URL: firekit-0.0.5.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for firekit-0.0.5.tar.gz
Algorithm Hash digest
SHA256 231ddf61ee0979445c7f511fc10c689565385efacb9c3addd17df3018ed14f23
MD5 986962a6aa1a155c1eff10c6e30e874e
BLAKE2b-256 ffd4d23e564c6de69549a1d9fefaa8dee5b646abb58a61bdeaf3d43502e03336

See more details on using hashes here.

File details

Details for the file firekit-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: firekit-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for firekit-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a0de607db87b2b1cfcd010a8ae984d9002e9f714b931386ec5cedec5f10021c9
MD5 f95498018628665f94a718d5bbedfd6b
BLAKE2b-256 a9e6bbeaaaa215e9ceefd1c2f71f889ed9278108a138392f3aab1697bf52cc9e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page