Dashboard Guide (Live + Replay + Mobile)
What you will find here
How to use dashboard as a daily workflow tool:
- live monitoring during training,
- replay after training,
- mobile access via QR,
- secure controls,
- export for offline sharing.
1) Live mode during training
Start training with dashboard:
python3 -m bnnr train \
--config examples/configs/classification/cifar10_example.yaml \
--dataset cifar10 \
--max-train-samples 128 \
--max-val-samples 64 \
--preset light \
--with-dashboard \
--dashboard-port 8080Terminal prints:
- Local URL
- Network URL
- QR code
Open Local URL on desktop first. Then use QR for phone.
2) Replay mode (no training)
Replay events from existing run(s):
python3 -m bnnr dashboard serve --run-dir reports --port 8080Use replay when:
- you want to inspect old runs,
- you do post-mortem/debug,
- you demo results without retraining.
3) Mobile access with QR code
Requirements:
- Phone and machine on same network.
- Dashboard server running.
- Firewall allows chosen port (default
8080).
Steps:
- Start dashboard (
train --with-dashboardordashboard serve). - Scan terminal QR code.
- Open Network URL on phone.
If QR opens but page does not load, test Network URL manually in phone browser.
4) Secure pause/resume controls
Protect control endpoints with token:
python3 -m bnnr dashboard serve --run-dir reports --port 8080 --token "change-me"Or set env var:
export BNNR_DASHBOARD_TOKEN="change-me"
python3 -m bnnr dashboard serve --run-dir reports --port 8080For train path use:
python3 -m bnnr train ... --dashboard-token "change-me"5) Pause/resume workflow
- Start long run with dashboard.
- Use Pause control in UI (or control endpoint if you automate).
- Verify status changes to paused.
- Resume and confirm progress continues.
6) Export static report (shareable)
python3 -m bnnr dashboard export \
--run-dir reports/run_YYYYMMDD_HHMMSS \
--out exported_dashboardArtifacts include:
index.htmldata/events.jsonldata/state.json- copied run
artifacts/
Open exported_dashboard/index.html locally without backend.
7) Recommended production workflow
- Run training with dashboard and token.
- Watch live branch decisions and KPI trends.
- Stop server after validation (
Ctrl+C). - Export static snapshot for review/share.
- Archive
report.json,events.jsonl, export dir.
8) Common issues
See Troubleshooting for:
- dashboard dependencies missing,
- zero runs visible,
- mobile/QR/network access issues,
- export rendering issues.