Skip to content
cccskills
FreePublished on GitHub

model-training

Agent-driven YOLO fine-tuning — annotate, train, export, deploy

The English summary is being prepared. Showing the original description.

See how to install

Files included (2)

  • SKILL.md4.3 KB
  • requirements.txt108 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

Model Training

Agent-driven custom model training powered by Aegis's Training Agent. Closes the annotation-to-deployment loop: take a COCO dataset from dataset-annotation, fine-tune a YOLO model, auto-export to the optimal format for your hardware, and optionally deploy it as your active detection skill.

What You Get

  • Fine-tune YOLO26 — start from nano/small/medium/large pre-trained weights
  • COCO dataset input — uses standard format from dataset-annotation skill
  • Hardware-aware training — auto-detects CUDA, MPS, ROCm, or CPU
  • Auto-export — converts trained model to TensorRT / CoreML / OpenVINO / ONNX via env_config.py
  • One-click deploy — replace the active detection model with your fine-tuned version
  • Training telemetry — real-time loss, mAP, and epoch progress streamed to Aegis UI

Training Loop (Aegis Training Agent)

dataset-annotation          model-training              yolo-detection-2026
┌─────────────┐        ┌──────────────────┐        ┌──────────────────┐
│ Annotate    │───────▶│ Fine-tune YOLO   │───────▶│ Deploy custom    │
│ Review      │  COCO  │ Auto-export      │ .pt    │ model as active  │
│ Export      │  JSON  │ Validate mAP     │ .engine│ detection skill  │
└─────────────┘        └──────────────────┘        └──────────────────┘
       ▲                                                    │
       └────────────────────────────────────────────────────┘
                    Feedback loop: better detection → better annotation

Protocol

Aegis → Skill (stdin)

{"event": "train", "dataset_path": "~/datasets/front_door_people/", "base_model": "yolo26n", "epochs": 50, "batch_size": 16}
{"event": "export", "model_path": "runs/train/best.pt", "formats": ["coreml", "tensorrt"]}
{"event": "validate", "model_path": "runs/train/best.pt", "dataset_path": "~/datasets/front_door_people/"}

Skill → Aegis (stdout)

{"event": "ready", "gpu": "mps", "base_models": ["yolo26n", "yolo26s", "yolo26m", "yolo26l"]}
{"event": "progress", "epoch": 12, "total_epochs": 50, "loss": 0.043, "mAP50": 0.87, "mAP50_95": 0.72}
{"event": "training_complete", "model_path": "runs/train/best.pt", "metrics": {"mAP50": 0.91, "mAP50_95": 0.78, "params": "2.6M"}}
{"event": "export_complete", "format": "coreml", "path": "runs/train/best.mlpackage", "speedup": "2.1x vs PyTorch"}
{"event": "validation", "mAP50": 0.91, "per_class": [{"class": "person", "ap": 0.95}, {"class": "car", "ap": 0.88}]}

Setup

python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Dataset annotation management — COCO labels, sequences, export, and Kaggle upload

The English summary is being prepared. Showing the original description.

SharpAI/DeepCamera3.1KUpdated Sep 17, 2026

Eufy camera integration — local RTSP streaming and event clips

The English summary is being prepared. Showing the original description.

SharpAI/DeepCamera3.1KUpdated Sep 17, 2026

Reolink camera integration — RTSP and HTTP API

The English summary is being prepared. Showing the original description.

SharpAI/DeepCamera3.1KUpdated Sep 17, 2026

TP-Link Tapo camera integration — RTSP streaming and ONVIF

The English summary is being prepared. Showing the original description.

SharpAI/DeepCamera3.1KUpdated Sep 17, 2026

LINE messaging channel for Clawdbot agent

The English summary is being prepared. Showing the original description.

SharpAI/DeepCamera3.1KUpdated Sep 17, 2026

Matrix/Element messaging channel for Clawdbot agent

The English summary is being prepared. Showing the original description.

SharpAI/DeepCamera3.1KUpdated Sep 17, 2026

See all skills by SharpAI

Report a problem with this skill