Skip to main content

General-purpose train-loop for PyTorch models

Project description

jsac's torch_train_loop

torch_train_loop is a general-purpose train-loop for PyTorch models, with some convenient features built-in:

  • Integration with TensorBoard (via PyTorch's SummaryWriter) for plotting:
    • Training loss
    • Validation loss
    • Additional optional metrics
  • Progress bar(s) (via tqdm) for Jupyter Notebooks or CLI environments.
  • Early stopping overfitting detection.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

torch_train_loop-0.0.2-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file torch_train_loop-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for torch_train_loop-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a8cdd396a63e2347e7cb7fb88a116c83633655074ec069ca2c8a37c48c556b32
MD5 aa494714e8617070a6a598df09ad3be8
BLAKE2b-256 97a94b48b5790c735662170af2c4c47108876509fb566839c80885880d11b4ca

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