SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 136620053 · ECCV · 2022

Resolution-free Point Cloud Sampling Network with Data Distillation

Jun Chen, Yong Liu, Jiangning Zhang, Tianxin Huang, Yuang Liu

Open in the Atlas

Code that ran

10 of 19 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, 0 violated it and 7 have no contract verdict; 3 failures of our instrument; 9 no recorded run), measured 2026-11-23; 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/136620053.json · badge: /api/ran/136620053.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
Tianxinhuang/PCDNet canonical (classifier label)
classifier basis: census
10 ran · 9 no recorded run
FunctionStatusWhere it lives
fps_from_given_indices Ran
ran on a synthesized input
Tianxinhuang/PCDNet/samplenet.py
code served (permissive licence) · get_code("02a7b7e8ac47af83")
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

# Create small test data for the function
# pts: array of 3D points (N x 3)
# K: number of points to select via farthest point sampling
# given_idx: initial indices to seed the sampling

pts = np.array([
    [0.0, 0.0, 0.0],
    [1.0, 0.0, 0.0],
    [0.0, 1.0, 0.0],
    [1.0, 1.0, 0.0],
    [0.5, 0.5, 1.0],
], dtype=np.float32)

K = 3
given_idx = np.array([0, 1], dtype=int)

ARGS = {
    "pts": pts,
    "K": K,
    "given_idx": given_idx,
}
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
get_bias_variable Ran
ran on a synthesized input
Tianxinhuang/PCDNet/encoders_decoders.py
code served (permissive licence) · get_code("7c3fe56273194cb3")
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 ResourceVariable, ndim 2, dtype family float, shape (4, 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 tensorflow as tf
import numpy as np

# Set up TensorFlow for eager execution
tf.compat.v1.enable_eager_execution()

# Define arguments for get_bias_variable
shape = (4, 3)  # Tuple representing bias shape
value = 0.5  # Float value to initialize bias with
name = "test_bias"  # String name for the bias variable

ARGS = {
    "shape": shape,
    "value": value,
    "name": name
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ResourceVariable, ndim 2, dtype family float, shape (4, 3) — shape (4, 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_normal Ran
ran on a synthesized input
Tianxinhuang/PCDNet/eva_rec.py
code served (permissive licence) · get_code("f99801d8dc05fd27")
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

# Construct valid arguments for get_normal function
# The function expects:
# - data: numpy array of shape (batch, num_points, dimensions)
# - cir: boolean flag (True for circular/radius-based normalization, False for bounding-box normalization)

# Create a small sample dataset
# Shape: (batch_size=2, num_points=5, dimensions=3)
data = np.random.randn(2, 5, 3).astype(np.float32)

# Argument mapping
ARGS = {
    "data": data,
    "cir": True
}
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
load_h5 Ran
ran on a synthesized input
Tianxinhuang/PCDNet/getdata.py
code served (permissive licence) · get_code("27f0849302e56356")
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, 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 h5py
import tempfile
import os
import numpy as np

# Create a temporary HDF5 file with test data
temp_dir = tempfile.mkdtemp()
h5_path = os.path.join(temp_dir, "test.h5")

# Create a valid HDF5 file with a 'data' dataset
with h5py.File(h5_path, 'w') as f:
    test_data = np.array([[1.0, 2.0, 3.0, 4.0],
                          [5.0, 6.0, 7.0, 8.0]], dtype=np.float32)
    f.create_dataset('data', data=test_data)

ARGS = {
    'h5_filename': h5_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
h5py, 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 (2, 4) — shape (2, 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
load_h5label Ran
ran on a synthesized input
Tianxinhuang/PCDNet/getdata.py
code served (permissive licence) · get_code("66278acf07e88dbf")
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 h5py
import tempfile
import os
import numpy as np

# Create a temporary HDF5 file with the expected structure
temp_dir = tempfile.mkdtemp()
h5_filepath = os.path.join(temp_dir, "test_data.h5")

# Create the HDF5 file with 'data' and 'label' datasets
with h5py.File(h5_filepath, 'w') as f:
    # Create small datasets with distinct dimensions
    data_array = np.random.randn(2, 4).astype(np.float32)  # 2 samples, 4 features
    label_array = np.array([0, 1], dtype=np.int64)  # 2 labels
    
    f.create_dataset('data', data=data_array)
    f.create_dataset('label', data=label_array)

ARGS = {
    'h5_filename': h5_filepath
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
h5py, 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
rotate_point_cloud Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Tianxinhuang/PCDNet/provider.py
code served (permissive licence) · get_code("adb85367d5bf360a")
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 3, dtype family float, shape (2, 4, 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

np.random.seed(0)

# Create a small batch of point clouds
# BxNx3 array where B=2 (batch size), N=4 (number of points), 3 (x,y,z coordinates)
batch_data = np.random.randn(2, 4, 3).astype(np.float32)

ARGS = {
    "batch_data": batch_data
}
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 3, dtype family float, shape (2, 4, 3) — shape (2, 4, 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
shuffle_data Ran
ran; our contract draft was wrong, not the code
Tianxinhuang/PCDNet/provider.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Levishery/Flywire-Neuron-Tracing, is pointer only (licence: NONE) · get_code("06353aadebc1724b")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from Levishery/Flywire-Neuron-Tracing, 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.

shuffle_points Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Tianxinhuang/PCDNet/provider.py
code served (permissive licence) · get_code("a97f76b9c0811c93")
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 3, dtype family float, shape (2, 4, 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

# Create a small batch of point cloud data
# BxNxC format: B=batch size, N=number of points, C=channels (coordinates)
batch_size = 2
num_points = 4
channels = 3

batch_data = np.random.randn(batch_size, num_points, channels).astype(np.float32)

ARGS = {
    "batch_data": batch_data
}
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 3, dtype family float, shape (2, 4, 3) — shape (2, 4, 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
simple_projection_and_continued_fps Ran
ran on a synthesized input
Tianxinhuang/PCDNet/samplenet.py
code served (permissive licence) · get_code("be9262d95b3f6b85")
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

def fps_from_given_indices(pts, K, given_idx):
    farthest_pts = np.zeros((K, 3))
    idx = np.zeros(K, dtype=int)
    t = np.size(given_idx)
    farthest_pts[0:t] = pts[given_idx]
    if t > 1:
        idx[0:t] = given_idx[0:t]
    else:
        idx[0] = given_idx
    distances = calc_distances(farthest_pts[0], pts)
    for i in range(1, t):
        distances = np.minimum(distances, calc_distances(farthest_pts[i], pts))
    for i in range(t, K):
        idx[i] = np.argmax(distances)
        farthest_pts[i] = pts[idx[i]]
        distances = np.minimum(distances, calc_distances(farthest_pts[i], pts))
    return (farthest_pts, idx)

def unique(arr):
    _, idx = np.unique(arr, return_index=True)
    return arr[np.sort(idx)]

def calc_distances(p0, points):
    return ((p0 - points) ** 2).sum(axis=1)

def simple_projection_and_continued_fps(full_pc, gen_pc, idx):
    batch_size = np.size(full_pc, 0)
    k = np.size(gen_pc, 1)
    out_pc = np.zeros_like(gen_pc)
    out_pc_idx = np.zeros([batch_size, k], dtype=int)
    n_unique_points = np.zeros([batch_size, 1])
    for ii in range(0, batch_size):
        best_idx = idx[ii]
        best_idx = unique(best_idx)
        n_unique_points[ii] = np.size(best_idx, 0)
        out_pc[ii], out_pc_idx[ii] = fps_from_given_indices(full_pc[ii], k, best_idx)
    return (out_pc, out_pc_idx, n_unique_points)

# Create setup for simple_projection_and_continued_fps
batch_size = 2
num_points_full = 8
num_points_gen = 4
point_dim = 3

# full_pc: batch_size x num_points_full x 3
full_pc = np.random.randn(batch_size, num_points_full, point_dim).astype(np.float32)

# gen_pc: batch_size x num_points_gen x 3
gen_pc = np.random.randn(batch_size, num_points_gen, point_dim).astype(np.float32)

# idx: batch_size x num_points_gen (indices into full_pc for each batch)
idx = np.random.randint(0, num_points_full, size=(batch_size, num_points_gen))

ARGS = {
    "full_pc": full_pc,
    "gen_pc": gen_pc,
    "idx": idx
}
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
unique Ran
ran on a synthesized input
Tianxinhuang/PCDNet/samplenet.py
code served (permissive licence) · get_code("0c5056ff75fc347a")
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 int, shape (5,) 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

# The function takes an array and returns unique elements in order of first appearance
# Build a small test array with some duplicate values
arr = np.array([3, 1, 2, 1, 3, 4, 2, 5])

ARGS = {
    "arr": arr
}
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 int, shape (5,) — shape (5,) 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
conv1d Not yet run
unverified (harvested, no recorded run)
Tianxinhuang/PCDNet/tf_util.py
code served (permissive licence) · get_code("04c1ecf4b95c0fa8")
How it ran

no invocation recorded.

conv2d Not yet run
unverified (harvested, no recorded run)
Tianxinhuang/PCDNet/tf_util.py
code served (permissive licence) · get_code("8a7533a315756343")
How it ran

no invocation recorded.

conv2d_transpose Not yet run
unverified (harvested, no recorded run)
Tianxinhuang/PCDNet/tf_util.py
code served (permissive licence) · get_code("6a0c1bc33fced52e")
How it ran

no invocation recorded.

entropy_distillation Not yet run
unverified (harvested, no recorded run)
Tianxinhuang/PCDNet/pc_sampling_cls.py
code served (permissive licence) · get_code("062e3e63b50d8d99")
How it ran

no invocation recorded.

get_learning_rate Not yet run
unverified (harvested, no recorded run)
Tianxinhuang/PCDNet/encoders_decoders.py
code served (permissive licence) · get_code("8f9aeaa8521653d6")
How it ran

no invocation recorded.

get_loss Not yet run
unverified (harvested, no recorded run)
Tianxinhuang/PCDNet/pointnet_cls.py
code served (permissive licence) · get_code("fa04084e7b32ac44")
How it ran

no invocation recorded.

getidpts Not yet run
unverified (harvested, no recorded run)
Tianxinhuang/PCDNet/eva_cls.py
code served (permissive licence) · get_code("461a5e5d373340d9")
How it ran

no invocation recorded.

load_mat Not yet run
unverified (harvested, no recorded run)
Tianxinhuang/PCDNet/getdata.py
code served (permissive licence) · get_code("862d087fb1acec76")
How it ran

no invocation recorded.

placeholder_inputs Not yet run
unverified (harvested, no recorded run)
Tianxinhuang/PCDNet/pointnet_cls.py
code served (permissive licence) · get_code("223ffcb80e41a2b4")
How it ran

no invocation recorded.

Also present in other papers' code

Of 19 samples lifted from this paper's linked repositories, 19 carry a function identity and 0 do not. Of the 19 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 3 later) and 13 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
shuffle_data 17 other papers
11 dated earlier, 4 later, 2 same year, order not determinable
1803.05827 (2018-03)
Local Spectral Graph Convolution for Point Set Feature Learning
1803.11527 (2018-03)
SpiderCNN: Deep Learning on Point Sets with Parameterized Convolutional Filters
1811.07246 (2018-11)
PointConv: Deep Convolutional Networks on 3D Point Clouds
and 14 more not named here
shuffle_points 11 other papers
6 dated earlier, 4 later, 1 same year, order not determinable
1811.07246 (2018-11)
PointConv: Deep Convolutional Networks on 3D Point Clouds
1812.11647 (2018-12)
Path-Invariant Map Networks
2006.14865 (2020-06)
RPM-Net: Recurrent Prediction of Motion and Parts from Point Cloud
and 8 more not named here
rotate_point_cloud 7 other papers
5 dated earlier, 1 later, 1 same year, order not determinable
1803.11527 (2018-03)
SpiderCNN: Deep Learning on Point Sets with Parameterized Convolutional Filters
1904.10014 (2019-04)
Linked Dynamic Graph CNN: Learning on Point Cloud via Linking Hierarchical Features
1908.04616 (2019-08)
Revisiting Point Cloud Classification: A New Benchmark Dataset and Classification Model on Real-World Data
and 4 more not named here
conv2d 2 other papers
1 dated earlier, 1 same year, order not determinable · 1 only as an assembly brick
1801.07829 (2018-01)
Dynamic Graph CNN for Learning on Point Clouds
2208.01925 (2022-08)
SuperLine3D: Self-supervised Line Segmentation and Description for LiDAR Point Cloud
placeholder_inputs 2 other papers
2 dated earlier
1809.07016 (2018-09)
Generating 3D Adversarial Point Clouds
1904.10014 (2019-04)
Linked Dynamic Graph CNN: Learning on Point Cloud via Linking Hierarchical Features
conv1d 1 other paper
1 dated earlier
2001.05311 (2020-01)
ABCNet: An attention-based method for particle tagging

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

Down-sampling algorithms are adopted to simplify the point clouds and save the computation cost on subsequent tasks. Existing learning-based sampling methods often need to train a big sampling network to support sampling under different resolutions, which must generate sampled points with the costly maximum resolution even if only low-resolution points need to be sampled. In this work, we propose a novel resolution-free point clouds sampling network to directly sample the original point cloud to different resolutions, which is conducted by optimizing non-learning-based initial sampled points to better positions. Besides, we introduce data distillation to assist the training process by considering the differences between task network outputs from original point clouds and sampled points. Experiments on point cloud reconstruction and recognition tasks demonstrate that our method can achieve SOTA performances with lower time and memory cost than existing learning-based sampling strategies. Codes are available at https://github.com/Tianxinhuang/PCDNet.

For agents

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

get_harvested_code_for_paper("136620053")
get_code_for_paper("136620053")
have("136620053")

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

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

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

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

Connect an agent — have() is free.