技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
data-preparation【数据与研究】Prepare and validate KITTI or NuScenes data layouts, generated infos, reduced point clouds, ground-truth databases, dataset classes, and preprocessing configuration for the legacy SECOND data API.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to validate a KITTI/NuScenes root, plan info or ground-truth-database generation, select a dataset class, adapt a custom lidar dataset, or tune voxel/preprocess/database-sampling fields. It provides static and CPU-safe guidance only. It does not claim that detector training, evaluation, or the legacy runtime has been executed successfully.
python <skill-root>/scripts/validate_dataset_layout.py --help
python <skill-root>/scripts/validate_dataset_layout.py kitti --root <KITTI_ROOT>
python <skill-root>/scripts/validate_dataset_layout.py nuscenes --root <NUSC_ROOT> --version v1.0-trainval --max-sweeps 10
The helper never downloads, creates, deletes, rewrites, or unpickles dataset
files. It exits nonzero and prints stable ERROR: lines for an invalid layout.
An empty velodyne_reduced/ directory is valid; its files are expected only
after reduced-cloud preparation.
kitti or nuscenes), root, split/version, desired
info file, dataset class, point-feature width, and whether velocity boxes
are intended.KittiDataset; NuScenes
uses NuScenesDataset, a D2–D8 subsample class, or the matching Velo
class. The config's kitti_* field names are historical and are used for
both datasets.create_data.py performs writes and is described, not bundled here. Use the
validator first and make a backup or use a disposable output root. Never
claim detector execution was verified from preparation success.Report: validator command and result; root/version/class; info and database paths; point/box feature widths; coordinate assumptions; selected preprocess and sampler fields; files generated or still missing; and any blocked optional dependency or legacy-runtime limitation. A static pass is not a training or evaluation pass.