界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

model-architecture

model-architecture

【效率与协作】Inspect and modify YOLOv3 model YAMLs, anchors, Detect heads, parse_model behavior, strides, and tensor shapes.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: model-architecture description: "Inspect and modify YOLOv3 model YAMLs, anchors, Detect heads, parse_model behavior, strides, and tensor shapes." disable-model-invocation: true metadata: disco-role: operating license: AGPL 3.0

Model Architecture Sub-skill

Read this for models/yolo.py, models/common.py, model YAMLs, anchors, class counts, Detect, Model, DetectionModel, parse_model, stride/grid behavior, and output-shape debugging.

Use

  • Read references/architecture.md for YAML structure, supported model files, and parser/head behavior.
  • Use scripts/yolov3_model_yaml_probe.py to instantiate a YAML and report prediction shapes on a zero tensor.
  • Read references/troubleshooting.md for class/anchor/channel mismatch issues.

Important facts

  • Built-in detection YAMLs are models/yolov3.yaml, models/yolov3-spp.yaml, and models/yolov3-tiny.yaml.
  • This repo does not contain segmentation, classification, pose, or newer YOLO task heads.
  • Default Detect output has no = nc + 5; for COCO, 85 channels per anchor prediction.
  • At 64x64, default YOLOv3-tiny produces (1, 60, 85) predictions.
我的收藏