计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
detectron2-backbones【效率与协作】Use optional Detectron2 ResNeSt/FPN backbones, config extension, COCO recipes, and safe train/eval command construction.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task involves ResNeSt inside Detectron2: optional backbone registration, FPN construction, COCO detection/instance/panoptic recipe selection, config merging, train/eval command construction, or Detectron2-specific failures.
Detectron2 is an optional dependency for ResNeSt. It was not installed in the minimum inspection environment used to build this skill, so runtime checks are conditional: first prove Detectron2 and its compiled operators are available in the user's environment, then merge configs or construct models.
resnest.d2.add_resnest_config(cfg) and Detectron2 config extension.build_resnest_backbone or build_resnest_fpn_backbone in MODEL.BACKBONE.NAME.SplAtConv2d outside Detectron2 belong to pytorch-models.gluon-models.Confirm optional Detectron2 availability with the bundled probe before training or evaluation:
python scripts/detectron2_config_probe.py
The probe is safe by default: it does not train, download weights, read source checkout configs, or require a config file.
If you have a self-contained Detectron2 config file, merge it without training:
python scripts/detectron2_config_probe.py --config-file path/to/config.yaml --opts MODEL.BACKBONE.NAME build_resnest_fpn_backbone
In a training/evaluation launcher, import the ResNeSt Detectron2 package before model construction and call add_resnest_config(cfg) before merging config files or KEY VALUE overrides.