技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
datasets-transforms【数据与研究】Use Torch Points3D dataset factories, point-cloud data layouts, transforms, filters, collate modes, and safe dataset preflight helpers.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the user asks about Torch Points3D data configs,
torch_geometric.data.Data fields, dataset class resolution, transform/filter
YAML, collate behavior, data layout preflights, or adding a dataset to the
framework.
Torch Points3D dataset configs use two required selectors:
task: segmentation
class: shapenet.ShapeNetDataset
dataroot: data
The factory imports torch_points3d.datasets.<task>.<module> and searches for a
case-insensitive subclass of BaseDataset matching the class name. Use the
transform smoke helper with --data-config to check class resolution before
instantiating datasets that may download or preprocess data.
Transforms are OmegaConf objects with a transform name plus optional params
and lparams:
- transform: GridSampling3D
params:
size: 0.1
- transform: Center
Torch Points3D first looks in torch_points3d.core.data_transform, then in
torch_geometric.transforms. Use:
python sub-skills/datasets-transforms/scripts/transform_config_smoke.py \
--transforms-yaml '[{"transform":"GridSampling3D","params":{"size":0.1}},{"transform":"Center"}]'
[B, N, C]; used by dense APIs such as PointNet2 and RSConv.batch vector; used by many PyG and registration utilities.precompute_multi_scale only for PARTIAL_DENSE models.Follow the framework convention: create a BaseDataset subclass under the task
family (segmentation, classification, registration, object_detection, or
panoptic), define train/test/val dataset attributes, and implement
get_tracker. Then create a matching data config with task, class,
dataroot, and transforms.
task/models/data/model_name, use training-evaluation.Trainer setup.instantiate_transform.precompute_multi_scale=True, confirm the model convolution type is PARTIAL_DENSE; other conv types raise NotImplementedError.