Skip to content
Back to skills

Training And Evaluation

ASecurity

"Train, test, re-evaluate, and convert tf-faster-rcnn experiments

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

Works with

  • cli
  • api

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 training-and-evaluation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Training And Evaluation?

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

Security grade badge for Training And Evaluation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-training-and-evaluation-7a9f70aa/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-training-and-evaluation-7a9f70aa)

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: training-and-evaluation
description: "Train, test, re-evaluate, and convert tf-faster-rcnn experiments
  safely with schedule-aware command construction, config overrides, snapshot
  handling, output paths, and evaluation caveats."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Training and Evaluation

Use this sub-skill when a Researcher needs to plan, dry-run, diagnose, or deliberately launch tf-faster-rcnn training, validation, testing, re-evaluation, or deprecated VGG16 snapshot conversion.

## Route here for

- Expanding `train_faster_rcnn.sh`, `test_faster_rcnn.sh`, and `convert_vgg16.sh` behavior into explicit `tools/trainval_net.py`, `tools/test_net.py`, `tools/reval.py`, or `tools/convert_from_depre.py` commands.
- Choosing the repository's dataset schedule mapping for `pascal_voc`, `pascal_voc_0712`, or `coco`, including train/test imdb names, iteration counts, learning-rate step, anchors, and ratios.
- Choosing a supported network selector: `vgg16`, `res50`, `res101`, `res152`, or `mobile`, while checking whether a matching config file exists in the user's checkout.
- Applying safe config overrides through the repository's `--set KEY VALUE ...` grammar and predicting the output tag that shell launchers would derive from extra arguments.
- Reasoning about snapshots, resume behavior, TensorBoard directories, test output directories, re-evaluation from `detections.pkl`, and deprecated VGG16 conversion.
- Diagnosing missing initialization weights, missing trained checkpoints, NaNs, stale snapshots, NMS/AP mismatches, and expensive-run blockers.

## Route elsewhere

- Installation, TensorFlow/CUDA compatibility, Cython extension builds, `USE_GPU_NMS`, and environment checks belong in [installation-and-configuration](../installation-and-configuration/SKILL.md).
- VOC/COCO directory layouts, dataset registry details, ImageNet initialization checkpoint placement, and pretrained model artifact layouts belong in [dataset-and-assets](../dataset-and-assets/SKILL.md).
- Demo-only image inference and visualization on custom images belongs in [inference-and-demo](../inference-and-demo/SKILL.md).
- Low-level network, RPN, RoI, bbox, and model-extension APIs belong in [api-and-architecture](../api-and-architecture/SKILL.md).
- Cross-cutting repo issues should also consult the root troubleshooting reference when it exists: [root troubleshooting](../../references/troubleshooting.md).

## First safety rule

Do not start a real train/test/evaluation run while only trying to answer a planning question. Full training and benchmark evaluation are expensive and require external datasets, checkpoints, a compatible TensorFlow 1.x runtime, and usually compiled CUDA/NMS extensions. Use the bundled dry-run builder first:

```bash
python sub-skills/training-and-evaluation/scripts/tf_faster_rcnn_command_builder.py train --dataset pascal_voc_0712 --net res101 --gpu-id 0
```

The builder prints commands only; it never trains or evaluates by itself.

## Read in this order

1. [training-evaluation.md](references/training-evaluation.md) for workflow semantics, schedule mappings, output directories, snapshots/resume, TensorBoard, benchmark caveats, and failure recovery.
2. [cli-reference.md](references/cli-reference.md) for command-line options, override grammar, and command-builder examples.
3. [troubleshooting.md](references/troubleshooting.md) for targeted diagnosis of missing data/weights, NaNs, stale snapshots, NMS/AP surprises, and expensive-run blocks.

## Evidence-backed limits

- Full CUDA build, demo, train, test, and benchmark AP reproduction were not verified during skill production. CPU/source inspection verified command facts, config behavior, dataset registry facts, anchor/NMS utility behavior, and TensorFlow 1.15 CPU import as an inspection substitute for the TensorFlow r1.2-era repository.
- The repository is deprecated; benchmark numbers are historically reported, stochastic, and dependent on old TensorFlow/CUDA/native-extension behavior.
- `res152` is accepted by `tools/trainval_net.py` and `tools/test_net.py` and appears in README performance notes, but the checked-out `experiments/cfgs/` evidence did not include `res152.yml`; require a user-supplied config or cloned evidence before claiming a ready command.

Files in this skill

  • SKILL.md4.2 KB
  • references/cli-reference.md10.2 KB
  • references/training-evaluation.md12.1 KB
  • references/troubleshooting.md9.4 KB
  • scripts/tf_faster_rcnn_command_builder.py17.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.