SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.17491 · NeurIPS · 2024

Spherical Frustum Sparse Convolution Network for LiDAR Point Cloud Semantic Segmentation

Yu Zheng, Marc Pollefeys, Guangming Wang, Jiuming Liu, Hesheng Wang, Spherical Frustum

arXiv · PDF · Open in the Atlas

Code that ran

7 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 5 failures of our instrument; 0 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2311.17491.json · badge: /api/ran/2311.17491.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
IRMVLab/SFCNet canonical (classifier label)
classifier basis: census
7 ran · 0 no recorded run
FunctionStatusWhere it lives
avaiable_scenes Ran
ran; our contract draft was wrong, not the code
IRMVLab/SFCNet/SFCNet/pp_dataset/generate_nuscenes_datas.py
code served (permissive licence) · get_code("1b3ee679f2f73fcb")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
from pathlib import Path
from unittest.mock import MagicMock

# Create a temporary directory to use for lidar paths
temp_dir = tempfile.mkdtemp()
lidar_file = Path(temp_dir) / "lidar.bin"
lidar_file.write_bytes(b"dummy lidar data")

# Create a mock nusc object with the required structure
nusc = MagicMock()

# Create scene data
scene_token_1 = "scene_token_1"
scene_token_2 = "scene_token_2"
sample_token_1 = "sample_token_1"
sample_token_2 = "sample_token_2"
sd_token_1 = "sd_token_1"
sd_token_2 = "sd_token_2"

scene_1 = {
    'token': scene_token_1,
    'first_sample_token': sample_token_1,
    'name': 'scene_1'
}

scene_2 = {
    'token': scene_token_2,
    'first_sample_token': sample_token_2,
    'name': 'scene_2'
}

sample_1 = {
    'token': sample_token_1,
    'data': {'LIDAR_TOP': sd_token_1}
}

sample_2 = {
    'token': sample_token_2,
    'data': {'LIDAR_TOP': sd_token_2}
}

sd_rec_1 = {
    'token': sd_token_1,
}

sd_rec_2 = {
    'token': sd_token_2,
}

# Set up the scene list
nusc.scene = [scene_1, scene_2]

# Set up get method to return appropriate records
def mock_get(record_type, token):
    if record_type == 'scene':
        if token == scene_token_1:
            return scene_1
        elif token == scene_token_2:
            return scene_2
    elif record_type == 'sample':
        if token == sample_token_1:
            return sample_1
        elif token == sample_token_2:
            return sample_2
    elif record_type == 'sample_data':
        if token == sd_token_1:
            return sd_rec_1
        elif token == sd_token_2:
            return sd_rec_2
    return {}

nusc.get = mock_get

# Set up get_sample_data to return existing and non-existing paths
def mock_get_sample_data(token):
    if token == sd_token_1:
        return (str(lidar_file), None, None)
    elif token == sd_token_2:
        return (str(Path(temp_dir) / "nonexistent.bin"), None, None)
    return ("", None, None)

nusc.get_sample_data = mock_get_sample_data

ARGS = {
    'nusc': nusc
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
compute_loss Ran
ran; our contract draft was wrong, not the code
IRMVLab/SFCNet/SFCNet/network/loss_func_layer.py
code served (permissive licence) · get_code("0205aa85d121cd2e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a minimal dataset class with required attributes
class Dataset:
    def __init__(self):
        self.num_valid_classes = 5
        self.ignored_labels = [0]

# Create end_points dict with logits and labels
# logits_all: list of tensors, each of shape (batch, sequence, num_classes)
# labels_all: list of tensors, each of shape (batch, sequence)
batch_size = 2
seq_len = 3
num_classes = 5
num_layers = 2

logits_all = [
    torch.randn(batch_size, seq_len, num_classes),
    torch.randn(batch_size, seq_len, num_classes)
]

labels_all = [
    torch.randint(0, num_classes, (batch_size, seq_len)),
    torch.randint(0, num_classes, (batch_size, seq_len))
]

end_points = {
    'logits': logits_all,
    'labels': labels_all
}

# Create dataset
dataset = Dataset()

# Create criterion (CrossEntropyLoss)
criterion = nn.CrossEntropyLoss(reduction='none')

# Create ARGS dict
ARGS = {
    'end_points': end_points,
    'dataset': dataset,
    'criterion': criterion,
    'p_loss': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
elastic Ran
ran; our contract draft was wrong, not the code
IRMVLab/SFCNet/SFCNet/pp_dataset/data_aug.py
code served (permissive licence) · get_code("2499366c2011d963")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (10, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
from scipy import ndimage, interpolate

np.random.seed(0)

# Create a small 3D coordinate array for x
# The function expects x to be an array where we can call .max(0)
# So x should be shape (N, 3) where N is number of points, and 3 is dimensionality
x = np.random.randn(10, 3).astype('float32') * 5

# gran: granularity parameter - controls the grid spacing
gran = 2

# mag: magnitude parameter - scales the displacement field
mag = 0.5

ARGS = {
    'x': x,
    'gran': gran,
    'mag': mag,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (10, 3) — shape (10, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_P_from_Rt Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
IRMVLab/SFCNet/SFCNet/pp_dataset/generate_nuscenes_datas.py
pointer only (licence: MIT); the stored copy get_code serves, from eaphan/nclr, is pointer only (licence: NOASSERTION) · get_code("497ee1ee5d05dcd0")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from eaphan/nclr, and GitHub could not classify the licence of that repository (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

isnan Ran
ran, violated the contract we drafted
IRMVLab/SFCNet/SFCNet/network/Lovasz_Softmax.py
pointer only (licence: MIT); the stored copy get_code serves, from sidak/otfusion, is pointer only (licence: NONE) · get_code("5f4f4355be28c01e")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from sidak/otfusion, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

lovasz_grad Ran
ran, violated the contract we drafted
IRMVLab/SFCNet/SFCNet/network/Lovasz_Softmax.py
code served (permissive licence) · get_code("e85b5d21dc5b8382")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 1, dtype family float, shape (4,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# gt_sorted should be a 1D tensor of binary/boolean values
# representing ground truth sorted by some error metric
# The function expects a tensor with sum(), float(), cumsum() methods
gt_sorted = torch.tensor([0, 0, 1, 1], dtype=torch.long)

ARGS = {
    "gt_sorted": gt_sorted
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 1, dtype family float, shape (4,) — shape (4,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
mean Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
IRMVLab/SFCNet/SFCNet/network/Lovasz_Softmax.py
code served (permissive licence) · get_code("80b5a150c6e092f7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np
from itertools import filterfalse as ifilterfalse

torch.manual_seed(0)

# Test case 1: Simple list of numbers
test_list_1 = [1.0, 2.0, 3.0, 4.0, 5.0]

# Test case 2: Generator that yields numbers
def number_generator():
    yield 10.0
    yield 20.0
    yield 30.0

# Test case 3: List with NaN values
test_list_with_nan = [1.0, float('nan'), 3.0, 4.0]

# Test case 4: Empty list
test_empty_list = []

# Test case 5: Single element list
test_single = [42.0]

# Use test_list_1 as the primary test case
ARGS = {
    'l': test_list_1,
    'ignore_nan': False,
    'empty': 0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 4 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 1 the same month, 4 later) and 3 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
lovasz_grad 40 other papers
22 dated earlier, 1 the same month, 17 later · 1 only as an assembly brick
1505.04597 (2015-05)
U-Net: Convolutional Networks for Biomedical Image Segmentation
1807.10165 (2018-07)
UNet++: A Nested U-Net Architecture for Medical Image Segmentation
1811.11721 (2018-11)
CCNet: Criss-Cross Attention for Semantic Segmentation
and 37 more not named here
isnan 16 other papers
10 dated earlier, 6 later · 2 only as an assembly brick
1505.04597 (2015-05)
U-Net: Convolutional Networks for Biomedical Image Segmentation
1910.05653 (2019-10)
Model Fusion via Optimal Transport
2008.07043 (2020-08)
Oriented Object Detection in Aerial Images with Box Boundary-Aware Vectors
and 13 more not named here
mean 5 other papers
3 dated earlier, 2 later · 1 only as an assembly brick
1505.04597 (2015-05)
U-Net: Convolutional Networks for Biomedical Image Segmentation
2106.04180 (2021-06)
Image2Point: 3D Point-Cloud Understanding with 2D Image Pretrained Models
2304.11379 (2023-04)
LiDAR2Map: In Defense of LiDAR-Based Semantic Map Construction Using Online Camera Distillation
and 2 more not named here
get_P_from_Rt 1 other paper
1 later
2401.12452 (2024-01)
Self-supervised Learning of LiDAR 3D Point Clouds via 2D-3D Neural Calibration

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

LiDAR point cloud semantic segmentation enables the robots to obtain fine-grained semantic information of the surrounding environment. Recently, many works project the point cloud onto the 2D image and adopt the 2D Convolutional Neural Networks (CNNs) or vision transformer for LiDAR point cloud semantic segmentation. However, since more than one point can be projected onto the same 2D position but only one point can be preserved, the previous 2D projection-based segmentation methods suffer from inevitable quantized information loss, which results in incomplete geometric structure, especially for small objects. To avoid quantized information loss, in this paper, we propose a novel spherical frustum structure, which preserves all points projected onto the same 2D position. Additionally, a hash-based representation is proposed for memory-efficient spherical frustum storage. Based on the spherical frustum structure, the Spherical Frustum sparse Convolution (SFC) and Frustum Farthest Point Sampling (F2PS) are proposed to convolve and sample the points stored in spherical frustums respectively. Finally, we present the Spherical Frustum sparse Convolution Network (SFCNet) to adopt 2D CNNs for LiDAR point cloud semantic segmentation without quantized information loss. Extensive experiments on the SemanticKITTI and nuScenes datasets demonstrate that our SFCNet outperforms previous 2D projection-based semantic segmentation methods based on conventional spherical projection and shows better performance on small object segmentation by preserving complete geometric structure. Codes will be available at https://github.com/IRMVLab/SFCNet.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2311.17491")
get_code_for_paper("2311.17491")
have("2311.17491")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2311.17491.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2311.17491.svg)](https://syntology.ai/paper/2311.17491)

Connect an agent — have() is free.