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
model-customizationCustomize MMSegmentation models, registries, projects, checkpoints, and model-complexity checks.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when extending MMSegmentation with custom model components, choosing or adapting model zoo configs, validating registry wiring, converting checkpoints, or explaining model-complexity/deployment caveats.
This sub-skill covers:
mmseg.registry and legacy builder aliases exposed from mmseg.models.Use sibling skills instead for:
data-configuration.training-evaluation.inference.KeyError, custom_imports, default_scope, shape mismatch, optional dependency, FLOPs, or MMCV-op failures? Read troubleshooting.MODELS for segmentors/backbones/necks/heads/losses/data preprocessors, METRICS for evaluators, OPTIMIZERS or OPTIM_WRAPPER_CONSTRUCTORS for optimizer behavior, and PARAM_SCHEDULERS for schedulers.__init__.py path or add custom_imports = dict(imports=[...], allow_failed_imports=False) to the config.default_scope = 'mmseg' unless intentionally composing registries from another OpenMMLab package.scripts/inspect_registry.py before debugging model math.mmseg.registry.MODELS.build(...) for new guidance; legacy build_backbone, build_head, build_loss, and build_segmentor still exist but warn that MODELS.build() is preferred.@MODELS.register_module() and custom metrics with @METRICS.register_module().type='MyType' only works after Python imports the module that runs the registration decorator.