espnet3.bin.atlas.command.handle_status
Less than 1 minute
espnet3.bin.atlas.command.handle_status
espnet3.bin.atlas.command.handle_status(args) → int
Print a study’s state: trials, best trial, controller activity, and jobs.
Implements espnet3 atlas status. The first three lines (study_dir, trials, best) are stable; the rest is a scheduler-independent summary read only from the study’s recorded state and trial logs. It does not query the job scheduler, so a job’s recorded status can lag behind reality.
- Parameters:args – Parsed CLI args with
study_dir. - Returns: Always
0. - Return type: int
Example
>>> handle_status(argparse.Namespace(study_dir="exp/atlas/my_study"))
study_dir: exp/atlas/my_study
trials: 3
best: trial_002 score=0.12
trial_status: running=2 accepted=1
stop_file: no
active_jobs: 2
trial_000003 trial running id=3046983.pbs1
0