executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
mmcvUse MMCV 2.2.0 for computer-vision media utilities, transform pipelines, CNN builders, and compiled ops installation or troubleshooting.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this repo skill when a task names MMCV, OpenMMLab computer-vision utilities, mmcv, mmcv-lite, mmcv.transforms, mmcv.cnn, mmcv.ops, image/video/flow helpers, transform pipelines, CNN layer builders, or MMCV install/build failures.
_ext, CUDA, native kernels, or mmcv.ops, route to sub-skills/ops-and-builds/ before writing code.sub-skills/media-processing/.sub-skills/data-transforms/.sub-skills/cnn-model-building/.references/repo-provenance.md before deciding whether this skill is current for a repository checkout.MMCV 2.x has two package variants:
mmcv-lite imports as mmcv and covers Python/Numpy/MMEngine/PyTorch utility surfaces that do not need compiled mmcv._ext ops.mmcv is the full package variant for compiled ops. Use it when code imports mmcv.ops or needs native CPU/CUDA/backend kernels.Minimal import check for lite-safe workflows:
python - <<'PY'
import mmcv
print(mmcv.__version__)
PY
For full ops workflows, use sub-skills/ops-and-builds/scripts/check_mmcv_install.py with --require-ops.
| Route | Use When | Start With |
|---|---|---|
sub-skills/media-processing/ | Image IO, color conversions, resize/crop/pad/rotate/flip, normalization, video reader/editing helpers, optical flow, visualization, array quantization. | sub-skills/media-processing/SKILL.md |
sub-skills/data-transforms/ | mmcv.transforms, Compose, LoadImageFromFile, Resize, Pad, Normalize, custom BaseTransform, transform wrappers, dict-key/shape failures. | sub-skills/data-transforms/SKILL.md |
sub-skills/cnn-model-building/ | mmcv.cnn builders, ConvModule, depthwise separable modules, wrappers, plugin layers, fusion, model complexity, CPU-safe PyTorch blocks. | sub-skills/cnn-model-building/SKILL.md |
sub-skills/ops-and-builds/ | mmcv vs mmcv-lite, MIM/pip/source builds, CUDA/PyTorch compatibility, mmcv.ops, _ext import failures, native extension diagnostics. | sub-skills/ops-and-builds/SKILL.md |
references/troubleshooting.md covers cross-cutting package, import, routing, optional dependency, and version issues.references/repo-provenance.md records the source snapshot used to generate this skill and when to refresh it.references/repo-routing-metadata.json is structured metadata used by the managed repo-skills-router import process.scripts/check_mmcv_environment.py runs every bundled helper that is safe for the currently installed package variant and summarizes the result.import mmcv succeeding does not prove mmcv.ops is available.mmcv.cnn is PyTorch-dependent, but many builders do not require compiled MMCV ops.