Skip to main content

Simple and composable metric tracking and logging for ML

Project description

Demetric

Simple and composable metric tracking and logging for ML

import demetric as dm

run = dm.Run(id='gpt2-3', base_path='runs', meta={
  'model': 'gpt2',
  'batch_size': 128
})

run.log('loss', value=loss, step=step)
run.log('accuracy', value=acc, step=step)


fig, ax = run.plot('loss')
fig2, ax2 = run.plot_summary()

Creates:

runs/
  gpt2-3/
    meta.json
    metrics/
      loss.csv
      accuracy.csv

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

demetric-0.1.5-py3-none-any.whl (4.7 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