brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
model-apisUse Torch Points3D high-level model factories, application APIs, pretrained registry helpers, and dense or sparse backend smoke tests.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the user asks to instantiate or debug Torch Points3D model APIs directly in Python, run a standalone forward pass, inspect supported application constructors, select dense/partial-dense/sparse backends, or load a pretrained checkpoint through the package registry.
PretainedRegistry or a checkpoint-backed API.PointNet2(...): dense point-cloud backbone; good first CPU smoke target.RSConv(...): dense/message-style high-level API with [B, N, C] inputs.KPConv(...): partial-dense model family; requires torch-points-kernels and compatible PyG compiled ops.SparseConv3d(..., backend="minkowski"|"torchsparse"): sparse-convolution API; requires the selected sparse backend.Minkowski(...): separate application module that imports MinkowskiEngine immediately; do not use unless that optional package imports.All high-level constructors require architecture; valid values are normally
"unet", "encoder", and only when implemented by that factory, "decoder".
Most quick examples use architecture="unet", input_nc=<feature_channels>,
num_layers=<depth>, and optional output_nc=<head_channels>.
python sub-skills/model-apis/scripts/pointnet2_forward_smoke.py --num-points 1024 --input-nc 5 --output-nc 10
The script builds a synthetic PyG Batch, instantiates PointNet2, performs a
CPU forward pass, and asserts that the output feature tensor has the requested
head width.
python sub-skills/model-apis/scripts/kpconv_forward_smoke.py --check-imports
python sub-skills/model-apis/scripts/kpconv_forward_smoke.py --run-forward
Use the import check first. KPConv relies on compiled kernels; if the target environment cannot import or run them, route the user to the troubleshooting reference instead of treating all Torch Points3D workflows as broken.
Use the registry only when remote downloads and checkpoint side effects are acceptable:
from torch_points3d.applications.pretrained_api import PretainedRegistry
print(sorted(PretainedRegistry.available_models()))
model = PretainedRegistry.from_pretrained("pointnet2_largemsg-s3dis-1")
The class name is misspelled in the public API as PretainedRegistry; keep that
spelling in code. See pretrained models for
download, weight_name, and mock_dataset behavior.
GridSampling3D, and Data/Batch layout validation, switch to datasets-transforms.train.py/eval.py, checkpoints in output folders, W&B/TensorBoard, and forward inference from a saved training run, switch to training-evaluation.torch_points3d, torch_geometric, and PyG extension packages import before constructing a model.pos and x; KPConv uses PyG geometric batches; sparse models need quantized coordinates.