Skip to content
Back to skills

Scaled Yolov4

ASecurity

"Repo-specific guidance for ScaledYOLOv4 data preparation,

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
devopspython

Works with

  • cli

Security analysis

A100/100

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

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Scaled Yolov4?

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

Security grade badge for Scaled Yolov4
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-scaled-yolov4/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-scaled-yolov4)

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: scaled-yolov4
description: "Repo-specific guidance for ScaledYOLOv4 data preparation,
  training, evaluation, inference, and export workflows."
metadata:
  disco-role: operating
disable-model-invocation: true
license: GPL 3.0
---

# ScaledYOLOv4

ScaledYOLOv4 is a YOLOv4-family object-detection checkout centered on five user-facing workflows: dataset preparation, training, evaluation, inference, and export.

## Start here

Use this root skill as the router, then jump to the sub-skill that owns the workflow you need:

- `sub-skills/data-preparation/` for dataset YAMLs, label layout, augmentation, anchors, caching, and dataset sanity checks.
- `sub-skills/training/` for training, fine-tuning, distributed launch, checkpoints, tensorboard logging, and resume flows.
- `sub-skills/evaluation/` for validation, COCO-style metrics, `study` sweeps, and result interpretation.
- `sub-skills/inference/` for image, video, webcam, and stream detection workflows.
- `sub-skills/export/` for TorchScript, ONNX, and CoreML export planning.

## What matters globally

- `models/common.py` imports `mish_cuda.MishCuda` as the default Mish activation. Full model import and forward checks therefore need a CUDA-capable inspection environment with that extension available.
- The skill also bundles a self-contained `runtime/` mirror with the concrete `detect.py`, `test.py`, `train.py`, `models/`, `utils/`, and YAML/config files that the helper scripts run against.
- `models/yolo.py` builds the model from YAML, computes strides from a synthetic forward pass, and initializes anchors and biases.
- `utils/datasets.py` and `utils/general.py` contain most of the shared data, augmentation, metric, anchor, and plotting helpers used across the repo.
- The repository is script-first rather than package-first, so the bundled helpers under `scripts/`, the sub-skill `scripts/` folders, and the packaged `runtime/` mirror are the preferred entry points for future agents.

## Bundled helpers

- `scripts/check_runtime_bundle.py` verifies that the bundled `runtime/` mirror contains the required entrypoints, modules, and YAML configs.
- `scripts/check_cli.py` checks the public parser surfaces against the bundled `runtime/` mirror without starting long workflows.
- `scripts/check_model_forward.py` builds a YAML model from the bundled `runtime/` mirror and runs a tiny synthetic forward pass under `torch.no_grad()`.
- `scripts/run_runtime_entrypoint.py` executes concrete bundled runtime entrypoints (`detect`, `test`, `train`, `export`, or `yolo`) with the correct working directory and `PYTHONPATH`; use `--dry-run` before long jobs.

## Shared references

Read these when you need a cross-cutting view before choosing a sub-skill:

- `references/model-overview.md` for model families, YAML structure, the detect head, and the `mish_cuda` dependency.
- `references/runtime-bundle.md` for the bundled executable source mirror and the configs the helpers use.
- `references/data-layout.md` for dataset YAMLs, image/label layout, and the supported data utilities.
- `references/cli-reference.md` for the main workflow options and the bundled helper scripts.
- `references/troubleshooting.md` for the most common repository-wide failures and recovery steps.
- `references/repo-provenance.md` for the source snapshot this skill was distilled from.
- `references/repo-routing-metadata.json` for the router metadata used by managed repo-skill import.

## Practical routing rules

If the request mentions multiple workflows, route by the primary user intent first:

- Dataset format, label cleanup, anchor planning, or cache issues → `data-preparation`.
- Epochs, resume, DDP, logging, checkpoints, or training loss behavior → `training`.
- mAP, AP, COCO JSON, study sweeps, or standalone validation → `evaluation`.
- Files, folders, webcams, RTSP, or rendered detections → `inference`.
- TorchScript, ONNX, CoreML, or deployment conversion → `export`.

If the request is only about model architecture or imported modules, use `references/model-overview.md` before choosing a workflow. If it is only about parser shape or smoke validation, use the bundled helpers first.

## Environment expectation

A CPU-only environment is enough for reading the skill, validating dataset paths, and checking CLI help. A CUDA-capable environment is required to prove the model stack imports and runs a forward pass because of the Mish CUDA extension.

## Self-contained usage

Everything a future agent needs should come from this skill tree, not the original checkout layout. Use the bundled runtime mirror, references, and scripts for the concrete workflows. Avoid reaching back into source files when the same answer is already captured here.

Files in this skill

  • LICENSE34.3 KB
  • SKILL.md4.6 KB
  • references/cli-reference.md4.2 KB
  • references/data-layout.md2.5 KB
  • references/model-overview.md3 KB
  • references/repo-provenance.md1.7 KB
  • references/repo-routing-metadata.json335 B
  • references/runtime-bundle.md2.3 KB
  • references/troubleshooting.md4.9 KB
  • runtime/README.md742 B
  • runtime/data/coco.yaml1.2 KB
  • runtime/data/demo.yaml67 B
  • runtime/data/hyp.finetune.yaml1 KB
  • runtime/data/hyp.scratch.yaml1.2 KB
  • runtime/demo/images/train/img1.png69 B
  • runtime/demo/images/val/img2.png69 B
  • runtime/demo/labels/train/img1.txt18 B
  • runtime/demo/labels/val/img2.txt18 B
  • runtime/detect.py7.3 KB
  • runtime/models/__init__.py1 B

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.