Skip to main content

Experiment tracking with sacred and mlflow

Project description

Observe your sacred experiments with mlflow.

Writing experiments with sacred is great.

mlflow provides a nice UI that can be used to get a quick overview of your runs and analyze the results.

Usage

In your code, add the observer:

from sacred import Experiment
from mlflow_observer import MlflowObserver

from _paths import MY_TRACKING_URI

ex = Experiment('MyExperiment')
ex.observers.append(MlflowObserver(MY_TRACKING_URI))

In the commandline, you can pass a run name through sacred’s comment flag:

python train.py -c "My sacred run"

Otherwise the run name will be of the form run_[datetime].

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

mlflow-observer-0.0.1.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file mlflow-observer-0.0.1.tar.gz.

File metadata

  • Download URL: mlflow-observer-0.0.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.10

File hashes

Hashes for mlflow-observer-0.0.1.tar.gz
Algorithm Hash digest
SHA256 42da597f7141365347e807302c341d1389508b656d59f8d8541431f487a89625
MD5 512e6fd1d65440ecd1a086c54057af39
BLAKE2b-256 7632e9c8ae96978a3bff3c18e9ab248d08a2a0cc0198aed9da3271f4a2cac344

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