算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
inference-and-demos【设计与创意】Use MMAction2 inference APIs, inferencers, labels, visualization outputs, and optional pose/detection demo flows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the user needs MMAction2 action-recognition inference, high-level inferencer usage, label mapping, prediction dumps, headless visualization, or the optional human-detection/pose paths used by skeleton and spatio-temporal detection workflows.
init_recognizer and inference_recognizer, including access to ActionDataSample.pred_score.ActionRecogInferencer or MMAction2Inferencer workflows using local configs/checkpoints, model aliases, label files, pred_out_file, and vid_out_dir..npy, and already-packed pose/dict inputs when the selected API supports that input form.--cfg-options design: ../data-and-configs/SKILL.md.../training-and-evaluation/SKILL.md.../models-and-extension/SKILL.md.scripts/mmaction2_inference_smoke.py with --config CONFIG.py --check-build-only. It imports MMAction2, parses a local config, builds with checkpoint=None, and never downloads weights.ActionDataSample: use init_recognizer(..., device="cpu") plus inference_recognizer(...); read result.pred_score and map class indices with a user-supplied label file.ActionRecogInferencer for action recognition, especially when selecting input_format="video", "rawframes", or "array".MMAction2Inferencer(rec=..., rec_weights=..., device=..., label_file=...); use it one input at a time when saving visualizations.device="cpu" unless the user explicitly asks for CUDA and the runtime proves CUDA is available. Several public APIs default to "cuda:0", so pass the device explicitly on CPU-only hosts.show=False); save visualizations with vid_out_dir or request return_vis=True in code.return_datasamples=False unless the consumer explicitly needs ActionDataSample objects.references/api-reference.md — verified signatures, defaults, input forms, result objects, devices, labels, and checkpoint/model selection.references/demo-workflows.md — concrete API snippets, demo-like command patterns, visualization, skeleton, and spatio-temporal detection workflows.references/troubleshooting.md — common inference failures and recovery steps, including optional dependency and video decode errors.scripts/mmaction2_inference_smoke.py — safe build/inference smoke helper with signature printing and no downloads by default.