Skip to content
Back to skills

Evaluation

ASecurity

"Evaluates YOLOv3 checkpoints, evaluate.py outputs, and Pascal

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
testingpythontesting

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill evaluation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Evaluation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Evaluation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-evaluation-06baf81e/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-evaluation-06baf81e)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: evaluation
description: "Evaluates YOLOv3 checkpoints, evaluate.py outputs, and Pascal
  VOC-style mAP scoring."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# evaluation

Use this sub-skill when you need to evaluate a TensorFlow YOLOv3 checkpoint, produce the `evaluate.py` text outputs, or compute Pascal VOC-style AP/mAP with the bundled evaluator.

## Use this route for

- Running `evaluate.py` against `cfg.TEST.ANNOT_PATH` and `cfg.TEST.WEIGHT_FILE`.
- Reviewing or regenerating `./mAP/ground-truth/`, `./mAP/predicted/`, and `cfg.TEST.WRITE_IMAGE_PATH`.
- Computing VOC AP/mAP with `mAP/main.py -na -np -q` and optional `--ignore` / `--set-class-iou` flags.
- Checking class-name mismatches, file-stem mismatches, or missing paired prediction files before a real checkpoint run.
- Smoke-testing the file contract with `scripts/map_fixture_check.py`.

## Do not use this route for

- Training or checkpoint creation. Use the training or conversion route instead.
- Dataset annotation conversion or class-file preparation. Use the data-preparation route instead.
- Frozen-graph image/video demos. Use the inference route instead.

## Read first

- [references/workflows.md](references/workflows.md) for the end-to-end checkpoint → `evaluate.py` → `mAP/main.py` flow.
- [references/map-formats.md](references/map-formats.md) for exact ground-truth, predicted, and helper file schemas.
- [references/troubleshooting.md](references/troubleshooting.md) for destructive reset, class mismatch, and pairing failures.

## Skill-owned scripts

- [scripts/map_fixture_check.py](scripts/map_fixture_check.py) — build an isolated tiny fixture, validate the text schemas, and confirm AP expectations without using the source checkout's `mAP/` directory.

## Typical workflow

1. Confirm `cfg.YOLO.CLASSES` matches the checkpoint's class order.
2. Point `cfg.TEST.ANNOT_PATH`, `cfg.TEST.WEIGHT_FILE`, and `cfg.TEST.WRITE_IMAGE_PATH` at disposable paths.
3. Remember that `evaluate.py` deletes `./mAP/predicted`, `./mAP/ground-truth`, and `cfg.TEST.WRITE_IMAGE_PATH` before recreating them.
4. Run `python evaluate.py` from the repository root.
5. Change into `mAP/` and run `python main.py -na -np -q`.
6. Add `--ignore` or `--set-class-iou class_name 0.75 ...` only after the base evaluation works.
7. If you are unsure about the file contract, run `python scripts/map_fixture_check.py` before re-evaluating.

## Cross-links

- If the predicted class names are wrong, check the class list and the label order before rerunning evaluation.
- If the issue is missing images, bad annotation rows, or class-file cleanup, route that work to data-preparation first.

Files in this skill

  • SKILL.md2.7 KB
  • references/map-formats.md4.4 KB
  • references/troubleshooting.md2.3 KB
  • references/workflows.md3 KB
  • scripts/map_fixture_check.py10.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.