技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
mmsegmentation【数据与研究】Use MMSegmentation for semantic segmentation configs, datasets, inference, training, evaluation, model customization, registries, and troubleshooting.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill when a task involves OpenMMLab MMSegmentation: semantic segmentation or depth configs, model zoo recipes, datasets and transforms, inference, training/testing, metrics, custom models, registries, checkpoints, or OpenMMLab dependency errors.
Confirm the installed package imports:
python -c "import mmseg, mmcv, mmengine; print(mmseg.__version__, mmcv.__version__, mmengine.__version__)"
Read install-and-compatibility if the task touches setup, dependency pins, CPU/CUDA, mmcv, torch, numpy, OpenCV, or optional project dependencies.
Run check_mmseg_env.py for a deterministic import/version/backend check before blaming user code.
Route to the focused sub-skill below.
MMSegInferencer, init_model, image/video/batch inference, SegDataSample, headless output, saved masks, remote-sensing tiled inference, and deployment caveats.--cfg-options, packaged config families, dataset layouts, BaseSegDataset, transforms, class palettes, and dataset-conversion patterns.Runner.from_cfg, resume vs fine-tune, IoUMetric, DepthMetric, TTA, output formatting, distributed launch, Slurm, and log analysis.MODELS/METRICS, custom_imports, project extensions, checkpoint conversion, FLOPs caveats, and registry debugging.model dict from scratch.default_scope = 'mmseg' unless intentionally composing with another OpenMMLab package.torch/mmcv builds.scripts/check_mmseg_env.py: imports core modules, checks versions, optional CUDA visibility, and warns about common incompatible numpy/OpenCV/torch/MMCV combinations.mmcv-lite can run all model/API paths; model components that use compiled ops may require full mmcv matched to torch and the backend.