Skip to content
Back to skills

Configuration Model Zoo

ASecurity

"Choose, load, inspect, modify, and validate Detectron2 Yacs,

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
devopspythonnode

Works with

  • cli

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill configuration-model-zoo --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Configuration Model Zoo?

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

Security grade badge for Configuration Model Zoo
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-configuration-model-zoo/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-configuration-model-zoo)

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: configuration-model-zoo
description: "Choose, load, inspect, modify, and validate Detectron2 Yacs,
  LazyConfig, and model-zoo configurations without relying on the source
  checkout."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Configuration and Model Zoo

Use this sub-skill when a request mentions Detectron2 configs, `_BASE_`, Yacs/YAML, `CfgNode`, `get_cfg`, LazyConfig Python files, `LazyCall`, `instantiate`, model-zoo config names, checkpoint URLs, `MODEL.WEIGHTS`, `train.init_checkpoint`, or CPU/GPU config overrides.

## Fast Routing

- For Yacs/YAML workflows, read [references/configuration.md](references/configuration.md#yacs-yaml-configs) and use `get_cfg()`, `merge_from_file()`, and `merge_from_list()`.
- For LazyConfig workflows, read [references/configuration.md](references/configuration.md#lazyconfig-python-configs) and use `LazyConfig.load()`, `LazyConfig.apply_overrides()`, `LazyConfig.to_py()`, `LazyCall`, and `instantiate()`.
- For official model-zoo paths, checkpoint URLs, and no-download inspection, read [references/model-zoo.md](references/model-zoo.md).
- For symptoms such as wrong paths, mixed override syntax, unresolved relative imports, serialization failures, or CPU/GPU confusion, read [references/troubleshooting.md](references/troubleshooting.md).
- To safely inspect a config without building a model or downloading weights, run [scripts/inspect_config.py](scripts/inspect_config.py) with `--help` first.

## Boundary Notes

This sub-skill owns configuration loading, config mutation, static inspection, and official model-zoo path/checkpoint selection. Route dataset registration, dataset dictionaries, COCO JSON schemas, and mappers to ../data-datasets/. Route training launch flags, evaluation commands, and distributed execution to ../training-evaluation/. Route custom component registries and project extensions to ../extension-projects/. Route TorchScript, tracing, Caffe2, and deployment format questions to ../deployment-export/.

## Safe Defaults

- Prefer `model_zoo.get_config()` or `model_zoo.get_config_file()` for config inspection; reserve `model_zoo.get()` for cases that intentionally build a model and may load checkpoint files.
- Set device explicitly for CPU-only work: Yacs uses `MODEL.DEVICE cpu`; LazyConfig model-zoo configs typically require editing `cfg.model.device = "cpu"` or passing `device="cpu"` to `model_zoo.get()` when building.
- Avoid `trained=True` and `model_zoo.get()` when validating config syntax only; use `get_checkpoint_url()` to print a URL without downloading.
- Keep Yacs CLI overrides as alternating `KEY VALUE` tokens, and LazyConfig overrides as `key=value` strings.

Files in this skill

  • SKILL.md2.7 KB
  • references/configuration.md5.4 KB
  • references/model-zoo.md4.8 KB
  • references/troubleshooting.md5.6 KB
  • scripts/inspect_config.py6.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.