data-and-configs
Prepare and validate MMAction2 data annotations, pipelines, config inheritance, overrides, and safe data/config utilities.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- data-and-configs
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Prepare and validate MMAction2 data annotations, pipelines, config inheritance, overrides, and safe data/config utilities.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/data-config-reference.md18.9 KB
- 参考文档references/tooling-reference.md8.6 KB
- 参考文档references/troubleshooting.md10.1 KB
- 脚本scripts/mmaction2_config_inspector.py9.8 KB
03 SKILL.md 正文
MMAction2 data and configs router
Use this sub-skill when the user needs to prepare, inspect, or debug MMAction2 dataset annotations, dataloader sections, transform pipelines, config inheritance, or --cfg-options overrides before training, testing, or inference.
Owned operating references
- Data and config reference: dataset schemas,
data_prefixkeys, pipeline patterns, config families,_base_inheritance, naming, and override examples. - Tooling reference: safe config inspection, safe data-utility decisions, and bounded validation templates.
- Troubleshooting: annotation, prefix, decode, AVA, localization, audio, video-text, pipeline, and config override errors.
- Config inspector script: parses a user-supplied config and prints a safe summary without building datasets, scanning media, training, testing, or writing outputs.
Fast routing
Handle here:
- Choosing between
VideoDataset,RawframeDataset,PoseDataset,AudioDataset,AVADataset,ActivityNetDataset, andVideoTextDataset. - Writing or validating rawframe/video/skeleton/audio/AVA/localization/video-text annotation files.
- Editing
train_dataloader,val_dataloader,test_dataloader,train_pipeline,val_pipeline, andtest_pipelinesections. - Explaining config families, file-name parts,
_base_inheritance, and--cfg-optionsquoting. - Safely inspecting a config with
python scripts/mmaction2_config_inspector.py --config CONFIG.py --show-dataloaders --show-pipelines.
Route elsewhere:
- Actual training, testing, metrics execution, distributed launch, resume, AMP, work directories, checkpoints:
../training-and-evaluation/SKILL.md. - Inference APIs, inferencer/demo runtime, checkpoint/config pairing for prediction:
../inference-and-demos/SKILL.md. - Custom model classes, registry/export/deployment, or new registered transforms/datasets beyond config usage:
../models-and-extension/SKILL.md.
Required safety checks
- Treat all config files as Python programs. Inspect only trusted user-provided config files, and never run training or dataset builders from this sub-skill.
- Prefer the bundled config inspector for summaries; it resolves config text and overrides but does not instantiate datasets/models.
- Before any dataset-scale utility, require explicit user confirmation for input root, output root, write behavior, worker count, expected size, and whether network access is allowed.
- Never enable destructive delete options while diagnosing data quality unless the user explicitly asks after seeing a dry-run report.
- Keep evidence self-contained: answer from these references and user-provided files instead of sending future agents to source docs, examples, tests, or config files.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).