Skip to main content

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].

Metadata

Release files for mlflow-observer 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mlflow-observer 0.0.1
File Size Uploaded
mlflow-observer-0.0.1.tar.gz 3.0 kB Details

Release files / mlflow-observer-0.0.1.tar.gz

Download URL mlflow-observer-0.0.1.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
42da597f7141365347e807302c341d1389508b656d59f8d8541431f487a89625
BLAKE2b-256 checksum
How to use checksums
7632e9c8ae96978a3bff3c18e9ab248d08a2a0cc0198aed9da3271f4a2cac344
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page