算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
training-evaluation【设计与创意】Construct and troubleshoot MMDetection3D training, testing, evaluation, visualization-hook, TTA, distributed, and Slurm commands.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the user needs to train, test, evaluate, visualize evaluation outputs, enable test-time augmentation, or launch distributed/Slurm MMDetection3D jobs from an already chosen config and prepared dataset.
tools/train.py semantics.tools/test.py semantics.--work-dir, --amp, --sync_bn, --auto-scale-lr, --resume, and nested --cfg-options overrides.--show, --show-dir, --task, score threshold, wait time) without assuming a GUI is available.--tta only when the selected segmentation config contains the required TTA sections.data-preparation.configuration-model-zoo.inference.structures-visualization.serving-tools.Confirm the caller has a config path, dataset prepared for that config, and for testing a checkpoint path. If these are missing, route before generating commands.
Choose the launcher pattern in references/workflows.md: single process, distributed shell launcher, or Slurm launcher.
Generate command strings with the bundled dry-run helper:
python scripts/build_train_test_command.py --help
The helper prints shell commands only; it never starts training, testing, distributed workers, or Slurm jobs.
For training, decide whether the job needs --work-dir, --amp, --sync_bn, --auto-scale-lr, --resume, and config overrides before adding launch resources.
For testing/evaluation, decide whether the task is ordinary metric evaluation, benchmark formatting, saved visualization, or segmentation TTA. Use references/evaluation.md for evaluator-specific output keys.
For distributed or Slurm jobs, set GPU count and ports explicitly when multiple jobs may share a host. Avoid the default port collision described in references/troubleshooting.md.
Before recommending an expensive run, check the high-signal guardrails below and the failure patterns in references/troubleshooting.md.
--work-dir overrides config work_dir; if neither is set, MMEngine uses ./work_dirs/<config-basename>.--amp only converts a config whose optimizer wrapper type is OptimWrapper; configs already using AMP warn, and unrelated wrappers fail.--auto-scale-lr requires the config to define auto_scale_lr.enable and auto_scale_lr.base_batch_size.--resume with no value means auto-resume from the latest checkpoint in the work directory; --resume path/to/checkpoint.pth resumes from that checkpoint.--sync_bn accepts none, torch, or mmcv; it is mainly useful for multi-GPU training and should not be used as a generic CPU fix.test_evaluator.*; do not pass a top-level submission_prefix unless the active config explicitly consumes it.--show/--show-dir activate the visualization hook and require a valid --task choice. Saved visualization works headlessly through output files, but documented use is for single-GPU debugging.--tta in this release is for 3D segmentation configs that include both tta_model and tta_pipeline; do not enable it for ordinary 3D detection configs.