#!/usr/bin/env bash # 训练控制台一键启动(Linux / WSL / Git Bash):bash ml/console.sh → 打开 http://localhost:8100 ,在网页上点「开始训练」。 # 关闭本终端会结束控制台和正在跑的训练;要关终端继续跑,用 nohup bash ml/console.sh & 。 cd "$(dirname "$0")/.." PY=${PYTHON:-python}; command -v "$PY" >/dev/null 2>&1 || PY=python3 exec "$PY" -m ml.monitor --open "$@"