SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2412.10051 · 2024

TSGaussian: Semantic and Depth-Guided Target-Specific Gaussian Splatting from Sparse Views

arXiv · PDF · Open in the Atlas

Code that ran

10 of 12 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, 1 violated it and 0 have no contract verdict; 7 failures of our instrument; 2 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/2412.10051.json · badge: /api/ran/2412.10051.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
leon2000-ai/tsgaussian canonical (classifier label)
classifier basis: census
10 ran · 2 no recorded run
FunctionStatusWhere it lives
id2rgb Ran
ran, honoured the contract we drafted
leon2000-ai/tsgaussian/render.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Runsong123/COS3D, is pointer only (licence: NOASSERTION) · get_code("9acdd81f4e30bd46")
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 Runsong123/COS3D, 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.

l1_loss Ran
ran; our contract draft was wrong, not the code
leon2000-ai/tsgaussian/utils/loss_utils.py
code served (permissive licence) · get_code("ac0e42d6fbcfbbe6")
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 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

torch.manual_seed(0)

# Create small tensors for network output and ground truth
# Both should have the same shape for the subtraction and mean operations
network_output = torch.randn(2, 4)  # batch size 2, 4 dimensions
gt = torch.randn(2, 4)  # batch size 2, 4 dimensions

ARGS = {
    "network_output": network_output,
    "gt": gt,
}
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 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
masked_l1_loss Ran
ran; our contract draft was wrong, not the code
leon2000-ai/tsgaussian/utils/loss_utils.py
code served (permissive licence) · get_code("0ac7968bd7da45d3")
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 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

torch.manual_seed(0)

# Create small tensors with distinct dimensions
batch_size = 2
height = 4
width = 3

# network_output: model predictions, shape (batch_size, height, width)
network_output = torch.randn(batch_size, height, width)

# gt: ground truth, same shape as network_output
gt = torch.randn(batch_size, height, width)

# mask: binary mask, shape (height, width) - will be expanded in function
mask = torch.randint(0, 2, (height, width)).float()

ARGS = {
    "network_output": network_output,
    "gt": gt,
    "mask": mask,
}
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 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
qvec2rotmat Ran
ran, violated the contract we drafted
leon2000-ai/tsgaussian/scene/colmap_loader.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from LeoQLi/VA-GS, is pointer only (licence: NONE) · get_code("6ce64cf0fbcd6bb1")
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 LeoQLi/VA-GS, 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.

readImages Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
leon2000-ai/tsgaussian/metrics.py
code served (permissive licence) · get_code("cdd00787894554b5")
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. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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 os
import tempfile
from pathlib import Path
from PIL import Image
import torch
import numpy as np

torch.manual_seed(0)

# Create temporary directories with dummy image files
temp_renders_dir = tempfile.mkdtemp()
temp_gt_dir = tempfile.mkdtemp()

renders_dir = Path(temp_renders_dir)
gt_dir = Path(temp_gt_dir)

# Create 2 small dummy images (4x3 RGB)
for i in range(2):
    # Create render image
    render_array = np.random.randint(0, 256, (3, 4, 3), dtype=np.uint8)
    render_img = Image.fromarray(render_array.transpose(1, 2, 0), mode='RGB')
    render_img.save(renders_dir / f"render_{i}.png")
    
    # Create ground truth image
    gt_array = np.random.randint(0, 256, (3, 4, 3), dtype=np.uint8)
    gt_img = Image.fromarray(gt_array.transpose(1, 2, 0), mode='RGB')
    gt_img.save(gt_dir / f"render_{i}.png")

ARGS = {
    "renders_dir": renders_dir,
    "gt_dir": gt_dir,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, torch, torchvision — 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
read_next_bytes Ran
ran, honoured the contract we drafted
leon2000-ai/tsgaussian/scene/colmap_loader.py
code served (permissive licence) · get_code("56858e04e6fdb2ff")
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) 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 struct
import io

# Create a binary file-like object with test data
# We'll pack some values and then read them back
test_data = struct.pack('<hfi', 42, 3.14, 100)
fid = io.BytesIO(test_data)

ARGS = {
    'fid': fid,
    'num_bytes': 10,  # 2 bytes (h) + 4 bytes (f) + 4 bytes (i) = 10 bytes
    'format_char_sequence': 'hfi',
    'endian_character': '<'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 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
rotmat2qvec Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
leon2000-ai/tsgaussian/scene/colmap_loader.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from LeoQLi/VA-GS, is pointer only (licence: NONE) · get_code("659bc4e7e63ed8f9")
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 LeoQLi/VA-GS, 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.

show_mask Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
leon2000-ai/tsgaussian/ext/grounded_sam.py
code served (permissive licence) · get_code("eb026ce356b1b155")
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 int, shape (4, 6, 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 numpy as np
from PIL import Image

# Create a small binary mask with shape (H, W)
mask = np.random.randint(0, 2, size=(4, 6)).astype(np.uint8)

# Create a small RGB image with shape (H, W, 3)
# Image should be uint8 in range [0, 255]
image = np.random.randint(0, 256, size=(4, 6, 3), dtype=np.uint8)

ARGS = {
    "mask": mask,
    "image": image,
    "random_color": True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, 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 int, shape (4, 6, 4) — shape (4, 6, 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
topk_ Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
leon2000-ai/tsgaussian/scene/dataset_readers.py
code served (permissive licence) · get_code("55911e6cb4c6f252")
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 (5, 2) 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 simple matrix for testing
# Using distinct dimensions: 5 rows, 4 columns
matrix = np.array([
    [9.2, 3.1, 7.5, 1.2],
    [4.3, 8.9, 2.1, 5.6],
    [6.7, 1.2, 9.3, 3.4],
    [2.1, 5.5, 4.2, 8.1],
    [7.8, 3.3, 6.1, 2.9]
], dtype=np.float32)

K = 2

ARGS = {
    "matrix": matrix,
    "K": K,
    "axis": 1
}
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 (5, 2) — shape (5, 2) 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
weighted_l1_loss Ran
ran; our contract draft was wrong, not the code
leon2000-ai/tsgaussian/utils/loss_utils.py
code served (permissive licence) · get_code("e14045a7568f1af5")
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 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

torch.manual_seed(0)

# The function takes three tensor parameters and performs element-wise operations
# network_output: model predictions
# gt: ground truth values
# weight: per-element weights

network_output = torch.randn(2, 4)
gt = torch.randn(2, 4)
weight = torch.rand(2, 4)

ARGS = {
    "network_output": network_output,
    "gt": gt,
    "weight": weight,
}
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 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
feature_to_rgb Not yet run
unverified (harvested, no recorded run)
leon2000-ai/tsgaussian/render.py
code served (permissive licence) · get_code("955c607d3685039a")
How it ran

no invocation recorded.

visualize_obj Not yet run
unverified (harvested, no recorded run)
leon2000-ai/tsgaussian/render.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Runsong123/COS3D, is pointer only (licence: NOASSERTION) · get_code("74195777dbe870e4")
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 Runsong123/COS3D, 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. No invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 11 are also present in other papers whose code we hold (11 with at least one paper dated earlier, 5 the same month, 11 later) and 1 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
l1_loss 93 other papers
71 dated earlier, 6 the same month, 16 later
2308.04079 (2023-08)
3D Gaussian Splatting for Real-Time Radiance Field Rendering
2309.13101 (2023-09)
Deformable 3D Gaussians for High-Fidelity Monocular Dynamic Scene Reconstruction
2310.08528 (2023-10)
4D Gaussian Splatting for Real-Time Dynamic Scene Rendering
and 90 more not named here
read_next_bytes 70 other papers
62 dated earlier, 2 the same month, 6 later
1804.00650 (2018-04)
DeepMVS: Learning Multi-view Stereopsis
1902.10556 (2019-02)
Recurrent MVSNet for High-resolution Multi-view Stereo Depth Inference
1912.06378 (2019-12)
Cascade Cost Volume for High-Resolution Multi-View Stereo and Stereo Matching
and 67 more not named here
readImages 54 other papers
45 dated earlier, 3 the same month, 6 later
2308.04079 (2023-08)
3D Gaussian Splatting for Real-Time Radiance Field Rendering
2309.13101 (2023-09)
Deformable 3D Gaussians for High-Fidelity Monocular Dynamic Scene Reconstruction
2310.08528 (2023-10)
4D Gaussian Splatting for Real-Time Dynamic Scene Rendering
and 51 more not named here
qvec2rotmat 39 other papers
35 dated earlier, 1 the same month, 3 later
2205.14870 (2022-05)
Compressible-composable NeRF via Rank-residual Decomposition
2207.10762 (2022-07)
MeshLoc: Mesh-Based Visual Localization
2303.03808 (2023-03)
Multiscale Tensor Decomposition and Rendering Equation Encoding for View Synthesis
and 36 more not named here
rotmat2qvec 34 other papers
30 dated earlier, 1 the same month, 3 later
2310.10642 (2023-10)
Real-time Photorealistic Dynamic Scene Representation and Rendering with 4D Gaussian Splatting
2311.13398 (2023-11)
Depth-Regularized Optimization for 3D Gaussian Splatting in Few-Shot Images
2311.17061 (2023-11)
HumanGaussian: Text-Driven 3D Human Generation with Gaussian Splatting
and 31 more not named here
id2rgb 3 other papers
1 dated earlier, 2 later
2312.00732 (2023-12)
Gaussian Grouping: Segment and Edit Anything in 3D Scenes
2503.14029 (2025-03)
Rethinking End-to-End 2D to 3D Scene Segmentation in Gaussian Splatting
2510.20238 (2025-10)
COS3D: Collaborative Open-Vocabulary 3D Segmentation
visualize_obj 3 other papers
1 dated earlier, 2 later
2312.00732 (2023-12)
Gaussian Grouping: Segment and Edit Anything in 3D Scenes
2503.14029 (2025-03)
Rethinking End-to-End 2D to 3D Scene Segmentation in Gaussian Splatting
2510.20238 (2025-10)
COS3D: Collaborative Open-Vocabulary 3D Segmentation
feature_to_rgb 2 other papers
1 dated earlier, 1 later
2312.00732 (2023-12)
Gaussian Grouping: Segment and Edit Anything in 3D Scenes
2503.14029 (2025-03)
Rethinking End-to-End 2D to 3D Scene Segmentation in Gaussian Splatting
masked_l1_loss 2 other papers
1 dated earlier, 1 later
2312.00732 (2023-12)
Gaussian Grouping: Segment and Edit Anything in 3D Scenes
2503.14029 (2025-03)
Rethinking End-to-End 2D to 3D Scene Segmentation in Gaussian Splatting
show_mask 2 other papers
1 dated earlier, 1 later
2312.00732 (2023-12)
Gaussian Grouping: Segment and Edit Anything in 3D Scenes
2503.14029 (2025-03)
Rethinking End-to-End 2D to 3D Scene Segmentation in Gaussian Splatting
weighted_l1_loss 2 other papers
1 dated earlier, 1 later
2312.00732 (2023-12)
Gaussian Grouping: Segment and Edit Anything in 3D Scenes
2503.14029 (2025-03)
Rethinking End-to-End 2D to 3D Scene Segmentation in Gaussian Splatting

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

Recent advances in Gaussian Splatting have significantly advanced the field, achieving both panoptic and interactive segmentation of 3D scenes. However, existing methodologies often overlook the critical need for reconstructing specified targets with complex structures from sparse views. To address this issue, we introduce TSGaussian, a novel framework that combines semantic constraints with depth priors to avoid geometry degradation in challenging novel view synthesis tasks. Our approach prioritizes computational resources on designated targets while minimizing background allocation. Bounding boxes from YOLOv9 serve as prompts for Segment Anything Model to generate 2D mask predictions, ensuring semantic accuracy and cost efficiency. TSGaussian effectively clusters 3D gaussians by introducing a compact identity encoding for each Gaussian ellipsoid and incorporating 3D spatial consistency regularization. Leveraging these modules, we propose a pruning strategy to effectively reduce redundancy in 3D gaussians. Extensive experiments demonstrate that TSGaussian outperforms state-of-the-art methods on three standard datasets and a new challenging dataset we collected, achieving superior results in novel view synthesis of specific objects. Code is available at: https://github.com/leon2000-ai/TSGaussian.

For agents

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

get_harvested_code_for_paper("2412.10051")
get_code_for_paper("2412.10051")
have("2412.10051")

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

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

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

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

Connect an agent — have() is free.