SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.12218 · ECCV · 2024

MVSGaussian: Fast Generalizable Gaussian Splatting Reconstruction from Multi-View Stereo

Ziwei Liu, Wei Li, Zhiguo Cao, Tianqi Liu, Guangcong Wang, Yuhang Zang, Shoukang Hu, Xinyi Ye, Liao Shen

arXiv · PDF · Open in the Atlas

Code that ran

7 of 8 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 1 has no contract verdict; 4 failures of our instrument; 1 no recorded run), measured 2026-11-24; 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/2405.12218.json · badge: /api/ran/2405.12218.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
TQTQliu/MVSGaussian canonical (classifier label)
classifier basis: census
7 ran · 1 no recorded run
FunctionStatusWhere it lives
RGB2SH Ran
ran, honoured the contract we drafted
TQTQliu/MVSGaussian/fusion.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.

make_data_sampler Ran
ran on a synthesized input
TQTQliu/MVSGaussian/lib/datasets/make_dataset.py
code served (permissive licence) · get_code("87df4437d34bb35f")
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 RandomSampler. 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.utils.data

torch.manual_seed(0)

# Create a minimal dataset
class SimpleDataset(torch.utils.data.Dataset):
    def __init__(self, size=10):
        self.size = size
    
    def __len__(self):
        return self.size
    
    def __getitem__(self, idx):
        return torch.randn(4), torch.tensor(idx)

dataset = SimpleDataset(size=10)

ARGS = {
    "dataset": dataset,
    "shuffle": True,
    "is_distributed": 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 RandomSampler — a RandomSampler output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a RandomSampler 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
make_evaluator Ran
ran; our contract draft was wrong, not the code
TQTQliu/MVSGaussian/lib/evaluators/make_evaluator.py
code served (permissive licence) · get_code("b0c00209a1cb4ff9")
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 Evaluator. 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 tempfile
import os

# Create a minimal evaluator module to be loaded
evaluator_code = '''
class Evaluator:
    def __init__(self):
        pass
'''

# Write the evaluator module to a temporary file
temp_dir = tempfile.mkdtemp()
evaluator_path = os.path.join(temp_dir, 'evaluator_module.py')
with open(evaluator_path, 'w') as f:
    f.write(evaluator_code)

# Create a config object with the required attributes
class Config:
    def __init__(self):
        self.skip_eval = False
        self.evaluator_module = 'evaluator_module'
        self.evaluator_path = evaluator_path

ARGS = {
    'cfg': Config()
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
imp — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Evaluator — a Evaluator output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Evaluator 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
readImages Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
TQTQliu/MVSGaussian/lib/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_img Ran
ran, honoured the contract we drafted
TQTQliu/MVSGaussian/fusion.py
code served (permissive licence) · get_code("a1db096963f65ed2")
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 (4, 3, 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 PIL import Image
import tempfile
import os

# Create a temporary image file for testing
temp_dir = tempfile.mkdtemp()
temp_filename = os.path.join(temp_dir, "test_image.png")

# Create a small test image (4x3 pixels, RGB)
test_array = np.random.randint(0, 256, (4, 3, 3), dtype=np.uint8)
test_image = Image.fromarray(test_array, mode='RGB')
test_image.save(temp_filename)

ARGS = {
    "filename": temp_filename
}
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 float, shape (4, 3, 3) — shape (4, 3, 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
read_pfm Ran
ran; our contract draft was wrong, not the code
TQTQliu/MVSGaussian/fusion.py
code served (permissive licence) · get_code("18ed79bdb5f6cf13")
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 tempfile
import numpy as np
import os

# Create a temporary PFM file for testing
def create_test_pfm(filename, width=4, height=3, color=True, scale=1.0):
    """Create a minimal valid PFM file for testing"""
    with open(filename, 'wb') as f:
        # Write header
        header = 'PF' if color else 'Pf'
        f.write(header.encode('utf-8') + b'\n')
        
        # Write dimensions
        f.write(f'{width} {height}\n'.encode('utf-8'))
        
        # Write scale
        f.write(f'{scale}\n'.encode('utf-8'))
        
        # Write data
        if color:
            data = np.random.rand(height, width, 3).astype(np.float32)
        else:
            data = np.random.rand(height, width).astype(np.float32)
        
        # Flip data vertically to match PFM format
        data = np.flipud(data)
        
        # Write as big-endian float
        data.astype('>f').tofile(f)

# Create temporary PFM file
temp_dir = tempfile.gettempdir()
test_pfm_path = os.path.join(temp_dir, 'test_image.pfm')
create_test_pfm(test_pfm_path, width=4, height=3, color=True, scale=1.0)

ARGS = {
    'filename': test_pfm_path
}
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
sample_patch Ran
ran; our contract draft was wrong, not the code
TQTQliu/MVSGaussian/lib/datasets/mvsgs_utils.py
code served (permissive licence) · get_code("e94ed7d31400e408")
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 2, dtype family int; 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 numpy as np

# Set seed for reproducibility
np.random.seed(0)

# Define parameters for sample_patch function
num_patch = 5  # Total number of patches to sample
patch_size = 8  # Size of each patch (8x8)
H = 64  # Height of the image
W = 96  # Width of the image

# Create a mask with some foreground pixels
msk_sample = np.zeros((H, W), dtype=np.uint8)
# Add some foreground pixels (non-zero values)
msk_sample[10:20, 15:30] = 1
msk_sample[40:50, 60:75] = 1

ARGS = {
    "num_patch": num_patch,
    "patch_size": patch_size,
    "H": H,
    "W": W,
    "msk_sample": msk_sample
}
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, ndim 2, dtype family int — 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
load_cfg Not yet run
unverified (harvested, no recorded run)
TQTQliu/MVSGaussian/lib/config/yacs.py
code served (permissive licence) · get_code("65d6513bc44b700c")
How it ran

no invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 8 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 1 the same month, 3 later) and 0 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
readImages 54 other papers
22 dated earlier, 6 the same month, 26 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
RGB2SH 12 other papers
6 dated earlier, 6 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
read_pfm 12 other papers
9 dated earlier, 3 later
1912.06378 (2019-12)
Cascade Cost Volume for High-Resolution Multi-View Stereo and Stereo Matching
2008.02268 (2020-08)
NeRF in the Wild: Neural Radiance Fields for Unconstrained Photo Collections
2108.03824 (2021-08)
AA-RMVSNet: Adaptive Aggregation Recurrent Multi-view Stereo Network
and 9 more not named here
read_img 7 other papers
7 dated earlier
2007.10872 (2020-07)
Dense Hybrid Recurrent Multi-view Stereo Net with Dynamic Consistency Checking
2108.03824 (2021-08)
AA-RMVSNet: Adaptive Aggregation Recurrent Multi-view Stereo Network
and 4 more not named here
load_cfg 2 other papers
2 dated earlier
2203.14402 (2022-03)
UV Volumes for Real-time Rendering of Editable Free-view Human Performance
2310.08585 (2023-10)
Im4D: High-Fidelity and Real-Time Novel View Synthesis for Dynamic Scenes
make_data_sampler 1 other paper
1 dated earlier
2310.08585 (2023-10)
Im4D: High-Fidelity and Real-Time Novel View Synthesis for Dynamic Scenes
make_evaluator 1 other paper
1 dated earlier
2203.14402 (2022-03)
UV Volumes for Real-time Rendering of Editable Free-view Human Performance
sample_patch 1 other paper
1 dated earlier
2404.17528 (2024-04)
Geometry-aware Reconstruction and Fusion-refined Rendering for Generalizable Neural Radiance Fields

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

We present MVSGaussian, a new generalizable 3D Gaussian representation approach derived from Multi-View Stereo (MVS) that can efficiently reconstruct unseen scenes. Specifically, 1) we leverage MVS to encode geometry-aware Gaussian representations and decode them into Gaussian parameters. 2) To further enhance performance, we propose a hybrid Gaussian rendering that integrates an efficient volume rendering design for novel view synthesis. 3) To support fast fine-tuning for specific scenes, we introduce a multi-view geometric consistent aggregation strategy to effectively aggregate the point clouds generated by the generalizable model, serving as the initialization for per-scene optimization. Compared with previous generalizable NeRF-based methods, which typically require minutes of fine-tuning and seconds of rendering per image, MVSGaussian achieves real-time rendering with better synthesis quality for each scene. Compared with the vanilla 3D-GS, MVSGaussian achieves better view synthesis with less training computational cost. Extensive experiments on DTU, Real Forward-facing, NeRF Synthetic, and Tanks and Temples datasets validate that MVSGaussian attains state-ofthe-art performance with convincing generalizability, real-time rendering speed, and fast per-scene optimization.

For agents

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

get_harvested_code_for_paper("2405.12218")
get_code_for_paper("2405.12218")
have("2405.12218")

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

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

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

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

Connect an agent — have() is free.