get_metrics
Fetch scalar metrics (reward, losses, LR) from a Unity ML-Agents training run. Query by run ID to monitor recent training progress.
Instructions
Read TensorBoard scalar metrics from a training run.
Args: run_id: The run to query. behavior_name: Specific behavior to read (auto-detected if omitted). metric_keys: Specific metric keys to read (defaults to reward, losses, LR). last_n: Number of most recent data points per metric (default 20). Use -1 for all.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| last_n | No | ||
| run_id | Yes | ||
| metric_keys | No | ||
| behavior_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||