ONNX Semantic Segmentation Models
3D point cloud segmentation
2 min read
A collection of three experimental ONNX models for semantic segmentation (classifying every individual point) of 3D point clouds, exported from the Open3D-ML pipeline. The pack includes two FKAConv models (trained on Paris-Lille-3D and Semantic3D) and one SphereFormer model (trained on Paris-Lille-3D). All models run out of the box via ONNX Runtime (CPU, CUDA, or DirectML) and plug directly into the CloudCompare qSemSeg plugin using the model.onnx.meta.json manifest. Useful for 3D data, surveying, and robotics engineers, or anyone who wants to quickly label urban scans without setting up a training environment from scratch.
Key features
- Three ready-to-use ONNX packages with metadata: FKAConv (Paris-Lille-3D, 9 classes; Semantic3D, 8 classes) and SphereFormer (Paris-Lille-3D, 9 classes), complete with configs and an MIT license.
- Direct loading in the CloudCompare qSemSeg plugin—just point it to model.onnx, and patch, voxel, and label parameters are pulled automatically from model.onnx.meta.json.
- Class 0 (unclassified) is ignored during training and evaluation; preprocessing (voxelization, sliding window, neighbor tables) is handled outside the model graph.
- SphereFormer uses a fixed 65,536-point patch and multiple structural tensors; on the test machine, CUDA ran roughly 70x slower than CPU and produced NaN/Inf values, so DirectML or CPU is recommended.
What you can do
- Label urban point clouds (ground, buildings, signs, traffic lights, bollards, pedestrians, cars, vegetation) in CloudCompare via qSemSeg for quick scene analysis.
- Integrate inference via ONNX Runtime into your own 3D scan and terrain processing pipelines using the tensor and preprocessing specs in model.onnx.meta.json.
- Compare FKAConv (dynamic batch size and point count, 0.08 voxel size) and SphereFormer (0.05 voxel size) on your own data before fine-tuning or deploying to production.
Example
import onnxruntime as ort
sess = ort.InferenceSession(
"fkaconv-parislille3d/model.onnx",
providers=["CUDAExecutionProvider", "CPUExecutionProvider"],
)
# `inputs` must be built according to model.onnx.meta.json
logits = sess.run(["logits"], inputs)[0]
pred = logits.argmax(axis=-1)Read more
DetailsEvaluation on a single test split (not a formal benchmark): SphereFormer (Paris-Lille-3D) — mIoU ≈ 0.782; FKAConv (Paris-Lille-3D) — mIoU ≈ 0.647; FKAConv (Semantic3D) — overall acc. ≈ 0.775, mIoU ≈ 0.461.
Hardware and runtime: ONNX Runtime (CPU / CUDA / DirectML); FKAConv uses dynamic batch size and point counts (25,536 points/patch, 0.08 voxel), while SphereFormer uses a fixed 65,536-point patch (0.05 voxel) and suffers from slowdowns and NaN/Inf outputs on CUDA.
Status and limitations: experimental models trained without exhaustive hyperparameter tuning and on a limited training budget; class imbalance may occur; MIT license.










Comments