计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
setup-build【效率与协作】Guides legacy-compatible AdelaiDet installation, Detectron2/PyTorch/CUDA version selection, editable extension builds, and runtime smoke checks.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task involves installing AdelaiDet, selecting PyTorch/Detectron2/CUDA versions, building adet._C, checking custom operators, or diagnosing import/build failures.
AdelaiDet editable from source.adet.config.get_cfg, Detectron2 registries, adet._C, BezierAlign, DefROIAlign, and multi-label NMS.../train-eval/SKILL.md.../demo-visualize/SKILL.md.../data-prep/SKILL.md.../export-convert/SKILL.md.references/setup-build.md for the known-good install recipe and version pins.references/runtime-checks.md for what each smoke check proves.../../references/compatibility.md for package-version rationale.../../references/troubleshooting.md for cross-cutting error fixes.../../scripts/check_install.py — package/config/registry/extension smoke check, with optional --cuda-ops.Create the compatible Python/PyTorch/CUDA/Detectron2 environment described in references/setup-build.md.
Install AdelaiDet with python -m pip install --no-build-isolation -e <checkout>.
Pin compatibility fixes: Pillow<10, rapidfuzz<3, NumPy 1.23.x, and OpenCV headless 4.8.x.
Run:
python ../../scripts/check_install.py --cuda-ops
If --cuda-ops fails, do not start training or inference; fix setup first or explicitly narrow the task to import/config-only analysis.
--cuda-ops, but record that DefROIAlign and native _C.ml_nms are not validated.export-convert for optional deployment runtimes.A healthy CUDA-capable environment reports:
import adet succeeds.adet._C exposes BezierAlign, DefROIAlign, and ml_nms symbols.scripts/check_install.py --cuda-ops exits 0.