SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2305.00041 · 2023

ViP-NeRF: Visibility Prior for Sparse Input Neural Radiance Fields

arXiv · PDF · Open in the Atlas

Code that ran

7 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; 0 honoured the contract we drafted, 0 violated it and 7 have no contract verdict; 0 failures of our instrument; 3 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/2305.00041.json · badge: /api/ran/2305.00041.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
NagabhushanSN95/ViP-NeRF canonical (classifier label)
classifier basis: census
7 ran · 3 no recorded run
FunctionStatusWhere it lives
compute_average_pose Ran
ran on a synthesized input
NagabhushanSN95/ViP-NeRF/src/database_utils/nerf_llff/train_test_creators/VideoPoseCreator01_Spiral.py
code served (permissive licence) · get_code("394f27a5ebdc6374")
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 (4, 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

numpy.random.seed(0)

# Create a small batch of pose matrices (4x4)
# Each pose is a 4x4 transformation matrix with rotation (3x3) and translation (3x1)
batch_size = 2
poses = numpy.zeros((batch_size, 4, 4), dtype='float32')

# Initialize first pose
poses[0, :3, :3] = numpy.array([
    [0.866, -0.5, 0.0],
    [0.5, 0.866, 0.0],
    [0.0, 0.0, 1.0]
], dtype='float32')
poses[0, :3, 3] = numpy.array([1.0, 2.0, 3.0], dtype='float32')
poses[0, 3, 3] = 1.0

# Initialize second pose
poses[1, :3, :3] = numpy.array([
    [0.707, 0.0, 0.707],
    [0.0, 1.0, 0.0],
    [-0.707, 0.0, 0.707]
], dtype='float32')
poses[1, :3, 3] = numpy.array([4.0, 5.0, 6.0], dtype='float32')
poses[1, 3, 3] = 1.0

ARGS = {
    'poses': poses
}
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 (4, 4) — shape (4, 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
create_data_frame Ran
ran on a synthesized input
NagabhushanSN95/ViP-NeRF/src/database_utils/nerf_llff/train_test_creators/TrainTestCreator01_UniformSparseSampling.py
code served (permissive licence) · get_code("239d97a8bb478fd7")
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 DataFrame. 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
import pandas

ARGS = {
    'frames_data': [
        ['scene_1', 0],
        ['scene_2', 1],
        ['scene_3', 2]
    ]
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 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
create_scene_frames_data Ran
ran on a synthesized input
NagabhushanSN95/ViP-NeRF/src/database_utils/nerf_llff/train_test_creators/TrainTestCreator01_UniformSparseSampling.py
code served (permissive licence) · get_code("0349fe7195c04bcc")
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 2, 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 torch
import numpy as np

torch.manual_seed(0)

scene_name = "kitchen_scene_01"
frame_nums = [0, 1, 2, 5, 10]

ARGS = {
    "scene_name": scene_name,
    "frame_nums": frame_nums,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, 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
normalize Ran
ran on a synthesized input
NagabhushanSN95/ViP-NeRF/src/database_utils/nerf_llff/train_test_creators/VideoPoseCreator01_Spiral.py
code served (permissive licence) · get_code("06dd6b4e79dcfc3b")
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 (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
import torch

torch.manual_seed(0)

# The function normalize takes a single parameter 'x' and computes x / numpy.linalg.norm(x)
# It expects x to be a numpy array or array-like that can be passed to numpy.linalg.norm
# and supports division

x = numpy.array([1.0, 2.0, 3.0, 4.0])

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — 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 (4,) — shape (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
read_image Ran
ran on a synthesized input
NagabhushanSN95/ViP-NeRF/src/prior_generators/sparse_depth/DepthEstimator02_NeRF_LLFF.py
code served (permissive licence) · get_code("e6ca4d2cadc77b4c")
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 (10, 15, 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 tempfile
from pathlib import Path
import numpy as np
from PIL import Image

# Create a temporary directory and a small test image
temp_dir = tempfile.mkdtemp()
temp_path = Path(temp_dir) / "test_image.png"

# Create a simple RGB image using PIL and save it
img_array = np.random.randint(0, 256, (10, 15, 3), dtype=np.uint8)
img = Image.fromarray(img_array)
img.save(temp_path.as_posix())

ARGS = {
    "path": temp_path,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, skimage — 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 (10, 15, 3) — shape (10, 15, 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
sample_sparse_train_frames Ran
ran on a synthesized input
NagabhushanSN95/ViP-NeRF/src/database_utils/nerf_llff/train_test_creators/TrainTestCreator01_UniformSparseSampling.py
code served (permissive licence) · get_code("4092816527da04fb")
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 (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

# The function takes:
# 1. frame_nums: list - a list of frame numbers
# 2. num_frames: int - number of frames to sample, or -1 to return all

# Create a simple list of frame numbers
frame_nums = [10, 20, 30, 40, 50, 60, 70, 80]

# Create a num_frames value (selecting 4 sparse frames from 8)
num_frames = 4

ARGS = {
    "frame_nums": frame_nums,
    "num_frames": num_frames
}
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 (4,) — shape (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
view_matrix Ran
ran on a synthesized input
NagabhushanSN95/ViP-NeRF/src/database_utils/nerf_llff/train_test_creators/VideoPoseCreator01_Spiral.py
code served (permissive licence) · get_code("be0faeb202d0287d")
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 (4, 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

def normalize(x):
    return x / numpy.linalg.norm(x)

def view_matrix(z, up, pos):
    vec2 = normalize(z)
    vec1_avg = up
    vec0 = normalize(numpy.cross(vec1_avg, vec2))
    vec1 = normalize(numpy.cross(vec2, vec0))
    m = numpy.stack([vec0, vec1, vec2, pos], 1)
    bottom = numpy.array([0, 0, 0, 1])[None].astype('float32')
    matrix = numpy.concatenate([m, bottom], axis=0)
    return matrix

# Create valid arguments
z = numpy.array([0.0, 0.0, 1.0], dtype='float32')
up = numpy.array([0.0, 1.0, 0.0], dtype='float32')
pos = numpy.array([1.0, 2.0, 3.0], dtype='float32')

ARGS = {
    'z': z,
    'up': up,
    'pos': pos
}
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 (4, 4) — shape (4, 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
demo2 Not yet run
unverified (harvested, no recorded run)
NagabhushanSN95/ViP-NeRF/src/qa/01_RMSE/src/RMSE02_NeRF_LLFF.py
code served (permissive licence) · get_code("7de7b28aa71fed89")
How it ran

no invocation recorded.

main Not yet run
unverified (harvested, no recorded run)
NagabhushanSN95/ViP-NeRF/src/qa/01_RMSE/src/RMSE02_NeRF_LLFF.py
code served (permissive licence) · get_code("4f7a32b6fe532883")
How it ran

no invocation recorded.

start_qa Not yet run
unverified (harvested, no recorded run)
NagabhushanSN95/ViP-NeRF/src/qa/01_RMSE/src/RMSE02_NeRF_LLFF.py
code served (permissive licence) · get_code("38b1e79bd65c3546")
How it ran

no invocation recorded.

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, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 10 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

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

Abstract

Neural radiance fields (NeRF) have achieved impressive performances in view synthesis by encoding neural representations of a scene. However, NeRFs require hundreds of images per scene to synthesize photo-realistic novel views. Training them on sparse input views leads to overfitting and incorrect scene depth estimation resulting in artifacts in the rendered novel views. Sparse input NeRFs were recently regularized by providing dense depth estimated from pre-trained networks as supervision, to achieve improved performance over sparse depth constraints. However, we find that such depth priors may be inaccurate due to generalization issues. Instead, we hypothesize that the visibility of pixels in different input views can be more reliably estimated to provide dense supervision. In this regard, we compute a visibility prior through the use of plane sweep volumes, which does not require any pre-training. By regularizing the NeRF training with the visibility prior, we successfully train the NeRF with few input views. We reformulate the NeRF to also directly output the visibility of a 3D point from a given viewpoint to reduce the training time with the visibility constraint. On multiple datasets, our model outperforms the competing sparse input NeRF models including those that use learned priors. The source code for our model can be found on our project page: https://nagabhushansn95.github.io/publications/2023/ViP-NeRF.html.

For agents

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

get_harvested_code_for_paper("2305.00041")
get_code_for_paper("2305.00041")
have("2305.00041")

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

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

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

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

Connect an agent — have() is free.