evaluation-demos
Plan VOC evaluation, test-output inspection, notebook demos, and webcam prerequisites for ssd.pytorch.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
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 资源文件 3
- 参考文档references/demo-workflows.md5.3 KB
- 参考文档references/evaluation-and-test.md8.8 KB
- 参考文档references/troubleshooting.md6.6 KB
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
- Read references/evaluation-and-test.md
before planning
eval.pyortest.pyruns. - Use scripts/plan_evaluation_command.py to print a safe command template without executing the repository scripts.
- Read references/demo-workflows.md before notebook or webcam demo work.
- 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. - 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.pthstate_dict.voc_root: VOCdevkit root for VOC2007 test/val data when using evaluation or dataset-backed notebook examples.save_folder: output folder fortest.pyand parser-created evaluation folders; use a trailing separator fortest.pylegacy 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
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.