AGENT SKILL

evaluation-demos

Plan VOC evaluation, test-output inspection, notebook demos, and webcam prerequisites for ssd.pytorch.

License 许可
MIT
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
evaluation-demos
license
MIT
metadata
{ "disco-role": "operating" }
description
Plan VOC evaluation, test-output inspection, notebook demos, and webcam prerequisites for ssd.pytorch.
disable-model-invocation
true

02 资源文件 5

03 SKILL.md 正文

evaluation-demos

Use this sub-skill when the task is to plan or diagnose ssd.pytorch evaluation, text test outputs, notebook-style image demos, or live webcam demos.

Choose this sub-skill for

  • VOC2007 mAP evaluation command planning with eval.py.
  • Prediction/ground-truth text dump planning with test.py.
  • Understanding result file formats, AP summaries, confidence thresholds, top-k choices, and evaluation output locations.
  • Checking static demo prerequisites for notebook and live webcam workflows.
  • Explaining why full mAP reproduction requires both VOC2007 test data and a compatible trained SSD300 VOC weight file.

Do not handle here

  • Dataset download, VOC directory repair, or dataset layout validation beyond naming the required VOC2007 files. Route that work to ../data-training/SKILL.md.
  • Model construction, SSD weight/key compatibility, or modern PyTorch Detect(Function) patching. Route that work to ../model-inference/SKILL.md.
  • Opening a webcam, displaying GUI windows, or running a full mAP benchmark from this skill's bundled scripts.

Fast workflow

  1. Read references/evaluation-and-test.md before planning eval.py or test.py runs.
  2. Use scripts/plan_evaluation_command.py to print a safe command template without executing the repository scripts.
  3. Read references/demo-workflows.md before notebook or webcam demo work.
  4. Use scripts/check_demo_requirements.py for import-only checks of torch, cv2, imutils, Jupyter components, and optional CUDA availability. It does not access a camera or open a GUI window.
  5. If an attempted evaluation or demo fails, first classify the symptom with references/troubleshooting.md, then route model or dataset fixes to the sibling sub-skill named above.

Required planning inputs

  • trained_model: path to a compatible SSD300 VOC .pth state_dict.
  • voc_root: VOCdevkit root for VOC2007 test/val data when using evaluation or dataset-backed notebook examples.
  • save_folder: output folder for test.py and parser-created evaluation folders; use a trailing separator for test.py legacy string concatenation.
  • CUDA intent: CPU-only, CUDA if available, or CUDA required.
  • Threshold intent: low confidence for mAP, higher visual thresholds for demos.

Safety defaults

  • Do not promise the README mAP values unless VOC2007 test data, compatible weights, dependency versions, and legacy model-forward compatibility are all verified in the runtime environment.
  • Prefer CPU command templates when hardware is unknown.
  • Treat webcam and notebook demos as optional demonstrations, not benchmark evidence.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351