monitor-training
Set up autonomous training monitoring — creates cron jobs to track long-running training, auto-continue pipeline when training completes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Set up autonomous training monitoring — creates cron jobs to track long-running training, auto-continue pipeline when training completes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Audit YOLO dataset quality — class distribution, annotation quality, image stats, and improvement suggestions.
Orchestrate the full active learning loop: train, analyze, push to CVAT, wait for review, pull, merge, retrain.
Analyze YOLO training runs — compares to baseline/best, checks per-class regression, analyzes training dynamics and tune convergence, writes actionable recommendations.
Run autonomous YOLO training experiments — reads training-plan.md, assesses bottlenecks, acts strategically, and delegates HP optimization to model.tune().
Profile YOLO model inference speed, FPS, and size across image sizes and export formats.
Initialize a new YOLO project — detects your dataset's starting state and routes through the right tools.
| name | monitor-training |
| description | Set up autonomous training monitoring — creates cron jobs to track long-running training, auto-continue pipeline when training completes. |
Set up cron-based monitoring for long-running YOLO training sessions. Automatically detects completion, reports results, and continues to the next pipeline phase.
Determine what's currently running:
nvidia-smi --query-compute-apps=pid,used_memory --format=csv,noheadertail -5 <training_dir>/results.csvUse CronCreate with a 5-minute interval to poll training status:
CronCreate:
cron: "*/5 * * * *"
recurring: true
prompt: <monitoring prompt with next-phase instructions>
The monitoring prompt should include:
results.csv and/or background task IDBuild the cron prompt with these sections:
1. CHECK STATUS
- Read results.csv (tail -5) for latest metrics
- Check if training process is still running
- Report: epoch, mAP50, mAP50-95, whether still active
2. ON COMPLETION — Execute next phase:
[Phase-specific instructions]
3. AFTER NEXT PHASE — Chain to following phase:
- Delete current cron job (CronDelete)
- Create new cron job for the next long-running phase
4. PLAN REFERENCE
- Read plan file for full pipeline context
Each cron job monitors one phase and launches the next:
Cron 1: Monitor baseline training
→ On complete: run analysis + dataset cleanup
→ Launch retrain
→ Delete self, create Cron 2
Cron 2: Monitor retrain
→ On complete: launch model.tune()
→ Delete self, create Cron 3
Cron 3: Monitor tune
→ On complete: launch final training with best params
→ Delete self, create Cron 4
Cron 4: Monitor final training
→ On complete: export model, generate final report
→ Delete self
When a training phase completes:
best.pt to a named locationUser: "Lance le training et surveille-le automatiquement"
1. Launch training in background
2. Create cron:
CronCreate("*/5 * * * *", "Check training at <path>/results.csv.
If still running: report epoch and metrics.
If complete: run validation, save model, launch next phase...")
3. Training runs autonomously
4. Cron detects completion → runs analysis → launches retrain → creates new cron
5. Pipeline continues without user intervention