SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2307.12637 · ICCV · 2023

PG-RCNN: Semantic Surface Point Generation for 3D Object Detection

Inyoung Lee, Changick Kim, Inyong Koo, Hee-Seon Kim, Se-Ho Kim, Woo-Jin Jeon

arXiv · PDF · Open in the Atlas

Code that ran

2 of 2 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 0 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/2307.12637.json · badge: /api/ran/2307.12637.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
quotation2520/PG-RCNN community
Papers with Code archive
2 ran · 0 no recorded run
FunctionStatusWhere it lives
Detector3DTemplate Ran
ran on a synthesized input
quotation2520/PG-RCNN/pcdet/models/detectors/pg_rcnn.py
code served (permissive licence) · get_code("6d30b056986ed786")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned NoneType. The image it ran in was not recorded. If your copy returns the same type 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
from typing import Set
from unittest.mock import MagicMock

# Mock spconv since it's not available
class MockSparseConvolution(nn.Module):
    def __init__(self, *args, **kwargs):
        super().__init__()

class MockSpconv:
    class conv:
        SparseConvolution = MockSparseConvolution

import sys
sys.modules['spconv'] = MockSpconv()
import spconv

def find_all_spconv_keys(model: nn.Module, prefix='') -> Set[str]:
    """
    Finds all spconv keys that need to have weight's transposed
    """
    found_keys: Set[str] = set()
    for name, child in model.named_children():
        new_prefix = f'{prefix}.{name}' if prefix != '' else name
        if isinstance(child, spconv.conv.SparseConvolution):
            new_prefix = f'{new_prefix}.weight'
            found_keys.add(new_prefix)
        found_keys.update(find_all_spconv_keys(child, prefix=new_prefix))
    return found_keys

class Detector3DTemplate(nn.Module):

    def __init__(self, model_cfg, num_class, dataset):
        super().__init__()
        self.model_cfg = model_cfg
        self.num_class = num_class
        self.dataset = dataset
        self.class_names = dataset.class_names
        self.register_buffer('global_step', torch.LongTensor(1).zero_())
        self.module_topology = ['vfe', 'backbone_3d', 'map_to_bev_module', 'pfe', 'backbone_2d', 'dense_head', 'point_head', 'roi_head']

    @property
    def mode(self):
        return 'TRAIN' if self.training else 'TEST'

    def update_global_step(self):
        self.global_step += 1

    def build_networks(self):
        model_info_dict = {'module_list': [], 'num_rawpoint_features': self.dataset.point_feature_encoder.num_point_features, 'num_point_features': self.dataset.point_feature_encoder.num_point_features, 'grid_size': self.dataset.grid_size, 'point_cloud_range': self.dataset.point_cloud_range, 'voxel_size': self.dataset.voxel_size, 'depth_downsample_factor': self.dataset.depth_downsample_factor}
        for module_name in self.module_topology:
            module, model_info_dict = getattr(self, 'build_%s' % module_name)(model_info_dict=model_info_dict)
            self.add_module(module_name, module)
        return model_info_dict['module_list']

    def build_vfe(self, model_info_dict):
        return (None, model_info_dict)

    def build_backbone_3d(self, model_info_dict):
        return (None, model_info_dict)

    def build_map_to_bev_module(self, model_info_dict):
        return (None, model_info_dict)

    def build_backbone_2d(self, model_info_dict):
        return (None, model_info_dict)

    def build_pfe(self, model_info_dict):
        return (None, model_info_dict)

    def build_dense_head(self, model_info_dict):
        return (None, model_info_dict)

    def build_point_head(self, model_info_dict):
        return (None, model_info_dict)

    def build_roi_head(self, model_info_dict):
        return (None, model_info_dict)


# Create mock dataset
mock_dataset = MagicMock()
mock_dataset.class_names = ['car', 'pedestrian', 'cyclist']
mock_dataset.point_feature_encoder = MagicMock()
mock_dataset.point_feature_encoder.num_point_features = 4
mock_dataset.grid_size = [100, 100, 50]
mock_dataset.point_cloud_range = [0, 0, 0, 100, 100, 50]
mock_dataset.voxel_size = [0.1, 0.1, 0.2]
mock_dataset.depth_downsample_factor = 1

# Create mock model config
mock_model_cfg = MagicMock()
mock_model_cfg.get = MagicMock(return_value=None)

INIT_ARGS = {
    'model_cfg': mock_model_cfg,
    'num_class': 3,
    'dataset': mock_dataset,
}

ARGS = {
}

METHOD = 'update_global_step'
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
spconv, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type NoneType — a NoneType output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a NoneType output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
PGRCNN Ran
ran on a synthesized input · constructed an object; no result was computed
quotation2520/PG-RCNN/pcdet/models/detectors/pg_rcnn.py
code served (permissive licence) · get_code("56779c396a534756")
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 an instance of its own class, PGRCNN: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type 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
from typing import Set

torch.manual_seed(0)

class SimpleDataset:
    def __init__(self):
        self.class_names = ['car', 'pedestrian', 'cyclist']
        self.grid_size = [100, 100, 100]
        self.point_cloud_range = [0, 0, 0, 100, 100, 100]
        self.voxel_size = [0.1, 0.1, 0.1]
        self.depth_downsample_factor = 2
        self.point_feature_encoder = SimplePointFeatureEncoder()

class SimplePointFeatureEncoder:
    def __init__(self):
        self.num_point_features = 4

class SimpleModelConfig:
    def __init__(self):
        self.VFE = None
        self.BACKBONE_3D = None
        self.MAP_TO_BEV = None
        self.BACKBONE_2D = None
        self.PFE = None
        self.DENSE_HEAD = None
        self.POINT_HEAD = None
        self.ROI_HEAD = None
    
    def get(self, key, default=None):
        return getattr(self, key, default)

model_cfg = SimpleModelConfig()
num_class = 3
dataset = SimpleDataset()

ARGS = {
    'model_cfg': model_cfg,
    'num_class': num_class,
    'dataset': dataset
}
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 PGRCNN — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a PGRCNN output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
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 2 samples lifted from this paper's linked repositories, 2 carry a function identity and 0 do not. Of the 2 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 2 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.

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

One of the main challenges in LiDAR-based 3D object detection is that the sensors often fail to capture the complete spatial information about the objects due to long distance and occlusion. Two-stage detectors with point cloud completion approaches tackle this problem by adding more points to the regions of interest (RoIs) with a pretrained network. However, these methods generate dense point clouds of objects for all region proposals, assuming that objects always exist in the RoIs. This leads to the indiscriminate point generation for incorrect proposals as well. Motivated by this, we propose Point Generation R-CNN (PG-RCNN), a novel end-to-end detector that generates semantic surface points of foreground objects for accurate detection. Our method uses a jointly trained RoI point generation module to process the contextual information of RoIs and estimate the complete shape and displacement of foreground objects. For every generated point, PG-RCNN assigns a semantic feature that indicates the estimated foreground probability. Extensive experiments show that the point clouds generated by our method provide geometrically and semantically rich information for refining false positive and misaligned proposals. PG-RCNN achieves competitive performance on the KITTI benchmark, with significantly fewer parameters than state-of-the-art models. The code is available at https: //github.com/quotation2520/PG-RCNN .

For agents

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

get_harvested_code_for_paper("2307.12637")
get_code_for_paper("2307.12637")
have("2307.12637")

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

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

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

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

Connect an agent — have() is free.