Skip to content
Back to skills

Model And Config

ASecurity

"Inspect and adapt pytorch-yolo-v3 Darknet model configuration,

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

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 model-and-config --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Model And Config?

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

Security grade badge for Model And Config
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-model-and-config-arex-skill/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-model-and-config-arex-skill)

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: model-and-config
description: "Inspect and adapt pytorch-yolo-v3 Darknet model configuration,
  class names, and binary weight handling."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NO_LICENSE
---

# model-and-config

Use this sub-skill when a user needs to understand or safely inspect this repo's Darknet/YOLO model configuration surface: cfg parsing, model construction, supported cfg files, class-name alignment, Darknet binary weight loading/saving, or lightweight API inspection.

## Route by task

- For `parse_cfg`, `create_modules`, `Darknet`, `Darknet.forward`, `load_weights`, or `save_weights` behavior, use [references/api-reference.md](references/api-reference.md).
- For `cfg/yolov3.cfg`, class-count edits, names-file expectations, resolution constraints, and unsupported cfg variants, use [references/model-configs.md](references/model-configs.md).
- For failures such as `Something I dunno`, `AssertionError`, class/filter mismatch, invalid input size, missing weights, or legacy PyTorch behavior, use [references/troubleshooting.md](references/troubleshooting.md).
- To inspect a user's checkout without downloading weights or running inference, run the bundled script:

```bash
python scripts/inspect_darknet_config.py --repo-root <repo-root> --cfg cfg/yolov3.cfg --names data/coco.names
```

Add `--build-model` only when the user explicitly wants to prove that `Darknet(cfgfile)` instantiates in the current Python environment.

## Out-of-scope routing

- Image batch CLI usage, drawing, image preprocessing, and detection postprocessing belong in [../image-detection/SKILL.md](../image-detection/SKILL.md).
- Video files, webcam demos, half-precision display loops, GUI/display behavior, and camera handling belong in [../video-camera-demos/SKILL.md](../video-camera-demos/SKILL.md).
- Training is out of scope for this repo skill; this repo's documented surface is detection-only.

## Operating guardrails

- Do not download weights, datasets, or class files from this sub-skill. Require the user to provide local files.
- Do not run image/video inference or GUI/camera flows from this sub-skill.
- Treat cfg files with `region` or `reorg` blocks as parseable but not constructible by this repo's `create_modules` implementation.
- Before loading weights after class-count edits, inspect the cfg/names/filter relationship and warn that pretrained Darknet weights are tied to the original detection-head shapes.

Files in this skill

  • SKILL.md2.4 KB
  • references/api-reference.md5.8 KB
  • references/model-configs.md4.8 KB
  • references/troubleshooting.md4.9 KB
  • scripts/inspect_darknet_config.py11.1 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.