Skip to main content

Tools for training PyTorch models

Project description

torchninja

torchninja is a Python package that provides tools for training PyTorch models. It offers a flexible and easy-to-use training framework with built-in functionality for logging, metrics tracking, and model checkpointing.

Features

  • Simplifies the process of training PyTorch models.
  • Flexible and customizable trainer class.
  • Automatic logging of training progress and metrics.
  • Support for model checkpointing to save and load model states.
  • Easy integration with TensorBoard for visualizing training metrics.
  • Provides utility functions for common tasks in PyTorch model training.

Installation

You can install torchninja using pip:

pip install torchninja

torchninja has the following dependencies:

  • torch
  • torchvision
  • tensorboard
  • tqdm
  • numpy
  • matplotlib

Make sure these dependencies are installed in your environment before using torchninja.

Getting Started

To get started with torchninja, you can refer to the examples directory in the project repository. It contains example scripts that demonstrate how to use the torchninja trainer class to train a PyTorch model. You can modify these examples according to your specific use case.

Documentation

The documentation for torchninja is available on the project's GitHub repository:

The documentation provides detailed information on the usage of the torchninja package, including the trainer class, available functionality, and usage examples.

Contributing

Contributions to torchninja are welcome! If you find any issues, have suggestions for improvements, or would like to add new features, please open an issue or submit a pull request on the project's GitHub repository.

License

torchninja is released under the MIT License. See the LICENSE file for details.

Contact

For any questions or inquiries, you can reach out to the project author:

Feel free to contact the author for any assistance or collaboration opportunities related to torchninja.

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

torchninja-0.1.2.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

torchninja-0.1.2-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file torchninja-0.1.2.tar.gz.

File metadata

  • Download URL: torchninja-0.1.2.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for torchninja-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ff98d0431efb7c592bd1ef8513d67f603daf8456756692afe11a2f86c38ead0a
MD5 564ab1f97d9248d8f8bdcebc83b6765f
BLAKE2b-256 17899259a54302b80471c0aecca6b1a1885277fa1098ec59f48cf8f6e3209fb4

See more details on using hashes here.

File details

Details for the file torchninja-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: torchninja-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for torchninja-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 348c95b25be6794ad8995f41e5c71b76d42853747e1b94758b251315b26865f1
MD5 0c406d5345185d74743780cfe6ab5618
BLAKE2b-256 8095953eb012c28e341c003e2a1a1a997afdc7e4ca7ef8f98ea630e39899032e

See more details on using hashes here.

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