Skip to main content

Usage instructions for experiment manager

This document describes to how use the experiment manager.

Overview

The experiment manager is a CLI tool that helps keep track of and annotate training runs. It works by maintaining the following directory structure:

out/
|_____current_run.txt
|_____run1/
|_____run2/
|_____run3/
.
.
.

where runN contains the results and logs for a single training run. The folder names are sortable timestamps to aid navigation and are suffixed by the training run's title. The timestamp for each folder is also the run's ID. The folder name for the current/active run is stored in current_run.txt.

Each training run folder contains a YAML file with name, description and experiment group name. The experiment manager can:

  • Show run metadata
  • Create a new run
  • Edit/delete an existing run
  • Pick an existing run to be the active run

Each run can be annotated with a title, description and group name. The group name is used to group together runs when displaying a list of all runs.

Run python -m exp_manager -h to see a list of commands:

usage: exp_manager.py [-h] [--exp_dir EXP_DIR] {show,new,edit,delete,set} ...

positional arguments:
  {show,new,edit,delete,set}
    show                show run(s)
    new                 create new run
    edit                edit existing run
    delete              delete a run
    set                 set a run as the current run

optional arguments:
  -h, --help            show this help message and exit
  --exp_dir EXP_DIR     parent directory containing all runs

Each command has a help option as well. e.g. run python -m exp_manager -h

usage: exp_manager.py show [-h] [--all | --current | --id ID]

optional arguments:
  -h, --help     show this help message and exit
  --all, -a      show all runs
  --current, -c  show current run
  --id ID        run ID

Release files for exp-manager 0.1.7

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

Source distribution (sdist)

Source distribution for exp-manager 0.1.7
File Size Uploaded
exp-manager-0.1.7.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for exp-manager 0.1.7
File Interpreter ABI Platform
exp_manager-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 10.8 kB

Release files / exp-manager-0.1.7.tar.gz

Download URL exp-manager-0.1.7.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2a7afac37c4ef9fa8e03210efebdb9622d988b3ca2a61f727e1fb98f58ec8e1f
BLAKE2b-256 checksum
How to use checksums
a81260bf270bd1e2d24820d805613a1fefb91315003d6c794ae67d7c605b7f59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0 CPython/3.9.5 Windows/10

Release files / exp_manager-0.1.7-py3-none-any.whl

Download URL exp_manager-0.1.7-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3907de10c705c33de5a0327674a585b58428564aa5e4b09748b8d5c0be2bd9a2
BLAKE2b-256 checksum
How to use checksums
5c0954ec3d1d5fab354c96aed8741ee4ff4ff9eca32d16c5d9719363aeae1438
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0 CPython/3.9.5 Windows/10

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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