UI はローカライズ済みです。スキルの紹介と説明文書は選択した言語へ AI が自動翻訳し、コード・コマンド・パス・専門用語は原文のままです。原作者の文書が優先されます。
スキルを探す
生産性・共同作業 · SKILL.md

evaluation

evaluation

Evaluates YOLOv3 checkpoints, evaluate.py outputs, and Pascal VOC-style mAP scoring.

Independent GitHub snapshot · Automated classification · Original documentation governs

スキルの説明

GitHub

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

Skill-owned scripts

  • 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.
保存したスキル