SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2502.19896 · CVPR · 2025

GenPC: Zero-shot Point Cloud Completion via 3D Generative Priors

Zhe Zhu, Mingqiang Wei, An Li

arXiv · PDF · Open in the Atlas

Code that ran

10 of 10 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; 2 honoured the contract we drafted, 0 violated it and 7 have no contract verdict; 1 failure of our instrument; 0 no recorded run), measured 2026-11-24; 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/2502.19896.json · badge: /api/ran/2502.19896.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
liannuaa/GenPC canonical (classifier label)
classifier basis not recorded on the link
10 ran · 0 no recorded run
FunctionStatusWhere it lives
RGB2SH Ran
ran, honoured the contract we drafted
liannuaa/GenPC/utils/dataUtils.py
pointer only (licence: MIT); the stored copy get_code serves, from avinashpaliwal/coherentgs, is pointer only (licence: NOASSERTION) · get_code("5a8b1e0eb5ec2789")
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 avinashpaliwal/coherentgs, 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.

SH2RGB Ran
ran, honoured the contract we drafted
liannuaa/GenPC/utils/dataUtils.py
pointer only (licence: MIT); the stored copy get_code serves, from Alex-Zhu1/SSD, is pointer only (licence: NOASSERTION) · get_code("55e5c8b4a3e6a864")
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 Alex-Zhu1/SSD, 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.

calculate_frechet_distance Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
liannuaa/GenPC/utils/metric_utils/fid.py
code served (permissive licence) · get_code("64bd18f1efe10c71")
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 float32, 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 numpy as np
from scipy import linalg
import warnings

# Create small sample statistics for Frechet distance calculation
# Dimension: 4 (small activations dimension)
# We'll create two sets of Gaussian statistics

np.random.seed(0)

# First distribution statistics (generated samples)
dim = 4
mu1 = np.random.randn(dim).astype(np.float32)
sigma1 = np.random.randn(dim, dim).astype(np.float32)
sigma1 = sigma1 @ sigma1.T  # Make it positive semi-definite

# Second distribution statistics (reference data)
mu2 = np.random.randn(dim).astype(np.float32)
sigma2 = np.random.randn(dim, dim).astype(np.float32)
sigma2 = sigma2 @ sigma2.T  # Make it positive semi-definite

# eps parameter with default value
eps = 1e-06

ARGS = {
    'mu1': mu1,
    'sigma1': sigma1,
    'mu2': mu2,
    'sigma2': sigma2,
    'eps': eps
}
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 float32, 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
calculate_stats Ran
ran on a synthesized input
liannuaa/GenPC/utils/metric_utils/fid.py
code served (permissive licence) · get_code("eb37cf09cc8bfa8b")
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. 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 numpy as np

# The function calculate_stats takes 'act' (activations)
# and computes mean and covariance along axis 0.
# 'act' should be a 2D numpy array where rows are samples.

# Create a small 2D numpy array: 2 samples, 4 features
act = np.random.randn(2, 4)

ARGS = {
    "act": act
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is 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
elevation_azimuth_radius_to_xyz Ran
ran on a synthesized input
liannuaa/GenPC/utils/camera_utils.py
code served (permissive licence) · get_code("3c7bb4fc88a8a0ab")
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 1, dtype family float, shape (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

ARGS = {
    "elevation": 0.5,
    "azimuth": 1.2,
    "radius": 2.0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (3,) — shape (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
fibonacci_sphere Ran
ran on a synthesized input
liannuaa/GenPC/utils/camera_utils.py
code served (permissive licence) · get_code("4437d26d88f401b0")
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 math
import numpy as np

ARGS = {
    "samples": 10,
    "radius": 2.5
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — 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
forward_inception_batch Ran
ran on a synthesized input
liannuaa/GenPC/utils/metric_utils/fid.py
code served (permissive licence) · get_code("7ad9c5041b7e1fb8")
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 (2, 16) 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 torch.nn as nn

torch.manual_seed(0)

class MockInceptionModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.conv = nn.Conv2d(3, 16, kernel_size=3, padding=1)
    
    def forward(self, x):
        # Return a tuple where first element has shape (batch, channels, height, width)
        out = self.conv(x)
        return (out,)

# Create a small inception model
inception_model = MockInceptionModel()

# Create a small batch of images: batch_size=2, channels=3, height=4, width=5
images = torch.randn(2, 3, 4, 5)

ARGS = {
    'inception_model': inception_model,
    'images': images
}
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 ndarray, ndim 2, dtype family float, shape (2, 16) — shape (2, 16) 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_elevation_angle Ran
ran on a synthesized input
liannuaa/GenPC/utils/dataUtils.py
code served (permissive licence) · get_code("44a8966454fab9ec")
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 numpy as np
import os
import tempfile

# Create temporary directory structure for data files
tmpdir = tempfile.mkdtemp()
data_planes_dir = os.path.join(tmpdir, 'data', 'world_planes')
workspace_dir = os.path.join(tmpdir, 'workspace')
os.makedirs(data_planes_dir, exist_ok=True)
os.makedirs(workspace_dir, exist_ok=True)

# Create mock data files for redwood dataset
# For 'car' flag - it maps to 'car' (no .npy extension needed for this case)
# Create sample world plane data
world_plane_car = np.array([0.1, 1.0, 0.05, -5.0])
np.save(os.path.join(data_planes_dir, 'car.npy'), world_plane_car)

# Create sample world plane for other flags
world_plane_sample = np.array([0.2, 0.95, 0.1, -3.0])
np.save(os.path.join(data_planes_dir, '01184.npy'), world_plane_sample)

# Create mock data files for pcn/kitti datasets
pcn_workspace = os.path.join(workspace_dir, 'test_pcn')
os.makedirs(pcn_workspace, exist_ok=True)
view_data = np.array([1.0, 2.0, 3.0])
np.save(os.path.join(pcn_workspace, 'view.npy'), view_data)

kitti_workspace = os.path.join(workspace_dir, 'test_kitti')
os.makedirs(kitti_workspace, exist_ok=True)
np.save(os.path.join(kitti_workspace, 'view.npy'), view_data)

# Change to temp directory so relative paths work
original_cwd = os.getcwd()
os.chdir(tmpdir)

ARGS = {
    'flag': 'car',
    'dataset': 'redwood'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — 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
get_file_names_from_dir Ran
ran on a synthesized input
liannuaa/GenPC/main_lidar.py
code served (permissive licence) · get_code("395358c48b93e350")
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

# Create a temporary directory with some test files
temp_dir = tempfile.mkdtemp()
temp_path = Path(temp_dir)

# Create some test files with different extensions
(temp_path / "file1.txt").touch()
(temp_path / "file2.py").touch()
(temp_path / "file3.json").touch()
(temp_path / "subdir").mkdir()

ARGS = {
    "directory": temp_path
}
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
load_ref_img Ran
ran on a synthesized input
liannuaa/GenPC/optim_registration/diff_obj_pose.py
code served (permissive licence) · get_code("4a36e7f909c78bda")
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. 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 cv2
import numpy as np
import torch
import tempfile
import os

# Create a temporary RGBA image file for testing
def create_test_rgba_image():
    """Create a simple RGBA test image with alpha channel."""
    # Create a simple image: 100x100 with a white square in center on transparent background
    img = np.zeros((100, 100, 4), dtype=np.uint8)
    # White square in center (50x50) with full alpha
    img[25:75, 25:75, :3] = 255  # RGB channels white
    img[25:75, 25:75, 3] = 255   # Alpha channel opaque
    # Rest of image has alpha = 0 (transparent)
    
    # Save to temporary file
    temp_dir = tempfile.gettempdir()
    temp_path = os.path.join(temp_dir, 'test_rgba.png')
    cv2.imwrite(temp_path, img)
    return temp_path

# Create test image
test_img_path = create_test_rgba_image()

ARGS = {
    'img_path': test_img_path,
    'target_size': 512,
    'object_scale': 0.8,
    'device': 'cpu'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is 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 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 2 later) and 7 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
calculate_frechet_distance 15 other papers
15 dated earlier
1406.2661 (2014-06)
Generative Adversarial Networks
1703.10593 (2017-03)
Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks
1706.08500 (2017-06)
GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium
and 12 more not named here
RGB2SH 12 other papers
11 dated earlier, 1 later
2311.14521 (2023-11)
GaussianEditor: Swift and Controllable 3D Editing with Gaussian Splatting
2403.11273 (2024-03)
BrightDreamer: Generic 3D Gaussian Generative Framework for Fast Text-to-3D Synthesis
2403.16095 (2024-03)
CG-SLAM: Efficient Dense RGB-D SLAM in a Consistent Uncertainty-aware 3D Gaussian Field
and 9 more not named here
SH2RGB 8 other papers
7 dated earlier, 1 later
2311.14521 (2023-11)
GaussianEditor: Swift and Controllable 3D Editing with Gaussian Splatting
2403.16095 (2024-03)
CG-SLAM: Efficient Dense RGB-D SLAM in a Consistent Uncertainty-aware 3D Gaussian Field
2404.03736 (2024-04)
SC4D: Sparse-Controlled Video-to-4D Generation and Motion Transfer
and 5 more not named here

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-24.

Repositories linked to this paper

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

Abstract

Existing point cloud completion methods, which typically depend on predefined synthetic training datasets, encounter significant challenges when applied to out-of-distribution, real-world scans. To overcome this limitation, we introduce a zero-shot completion framework, termed GenPC, designed to reconstruct high-quality real-world scans by leveraging explicit 3D generative priors. Our key insight is that recent feed-forward 3D generative models, trained on extensive internet-scale data, have demonstrated the ability to perform 3D generation from single-view images in a zero-shot setting. To harness this for completion, we first develop a Depth Prompting module that links partial point clouds with image-to-3D generative models by leveraging depth images as a stepping stone. To retain the original partial structure in the final results, we design the Geometric Preserving Fusion module that aligns the generated shape with input by adaptively adjusting its pose and scale. Extensive experiments on widely used benchmarks validate the superiority and generalizability of our approach, bringing us a step closer to robust real-world scan completion. Our code is available at https://github.com/liannuaa/GenPC.

For agents

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

get_harvested_code_for_paper("2502.19896")
get_code_for_paper("2502.19896")
have("2502.19896")

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

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

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

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

Connect an agent — have() is free.