Skip to main content

A logger for machine learning research

Project description

Build Status codecov Docs License PyPI version

dowel

dowel is a little logger for machine learning research.

Installation

pip install dowel

Usage

import dowel
from dowel import logger, tabular

logger.add_output(dowel.StdOutput())
logger.add_output(dowel.TensorBoardOutput('tensorboard_logdir'))

logger.log('Starting up...')
for i in range(1000):
    logger.push_prefix('itr {}'.format(i))
    logger.log('Running training step')

    tabular.record('itr', i)
    tabular.record('loss', 100.0 / (2 + i))
    logger.log(tabular)

    logger.pop_prefix()
    logger.dump_all()

logger.remove_all()

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

dowel-0.0.4.tar.gz (22.6 kB view details)

Uploaded Source

File details

Details for the file dowel-0.0.4.tar.gz.

File metadata

  • Download URL: dowel-0.0.4.tar.gz
  • Upload date:
  • Size: 22.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for dowel-0.0.4.tar.gz
Algorithm Hash digest
SHA256 832a6d06936d43101fc6f53d767db48612164e08a6e679da32b28f3898de638e
MD5 a50d8b274892865ec18a70d488c33b8d
BLAKE2b-256 f27a12fe1aa38d99d3c7d0d87b728e9528a6b5642ff201e1d1726633ae5813e4

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