SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2303.16242 · ICCV · 2023

CuNeRF: Cube-Based Neural Radiance Field for Zero-Shot Medical Image Arbitrary-Scale Super Resolution

Lingxiao Yang, Zixuan Chen, Xiaohua Xie, Jian-Huang Lai

arXiv · PDF · Open in the Atlas

Code that ran

6 of 9 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 6 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/2303.16242.json · badge: /api/ran/2303.16242.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
NarcissusEx/CuNeRF canonical (classifier label)
classifier basis not recorded on the link
6 ran · 3 no recorded run
FunctionStatusWhere it lives
Adaptive_MSE_LOSS Ran
ran on a synthesized input
NarcissusEx/CuNeRF/src/loss.py
code served (permissive licence) · get_code("f3c50241917ff19c")
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
import torch.nn.functional as F

torch.manual_seed(0)

# Create small tensors for the function parameters
# The function expects:
# - rgb: tensor of predicted RGB values
# - rgb0: tensor of initial/reference RGB values
# - target: tensor of target RGB values

batch_size = 2
color_channels = 4

# All tensors should have the same shape for the operations to work
rgb = torch.randn(batch_size, color_channels)
rgb0 = torch.randn(batch_size, color_channels)
target = torch.randn(batch_size, color_channels)

ARGS = {
    "rgb": rgb,
    "rgb0": rgb0,
    "target": target
}
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
MSE_LOSS Ran
ran on a synthesized input
NarcissusEx/CuNeRF/src/loss.py
code served (permissive licence) · get_code("104b872dba291edc")
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
import torch.nn.functional as F

torch.manual_seed(0)

# Create small tensors for rgb, rgb0, and target
# All should have the same shape for MSE loss computation
# Using shape (2, 4) - batch size 2, 4 channels/features
rgb = torch.randn(2, 4)
rgb0 = torch.randn(2, 4)
target = torch.randn(2, 4)

ARGS = {
    "rgb": rgb,
    "rgb0": rgb0,
    "target": target,
}
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
cube_sampling Ran
ran on a synthesized input
NarcissusEx/CuNeRF/src/sampling.py
code served (permissive licence) · get_code("1f85b22303407107")
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 dict. 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 math

torch.manual_seed(0)

# Construct batch: shape [n_cnts, 7]
# Format: [3 for cnts, 2 for LR, 2 for TB]
batch = torch.randn(2, 7)

# Construct depths: tuple of (near, far) tensors
# near and far should have shape [n_cnts]
near = torch.tensor([0.5, 0.6])
far = torch.tensor([5.0, 6.0])
depths = (near, far)

# n_samples: number of samples (should be a perfect cube for clean sampling)
n_samples = 8  # 2^3

# is_train: boolean flag
is_train = True

# R: rotation matrix (3x3) or None
# The function does pts @ R and cnts @ R, so R should be 3x3
R = torch.eye(3)

ARGS = {
    'batch': batch,
    'depths': depths,
    'n_samples': n_samples,
    'is_train': is_train,
    'R': R
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
lr_decay Ran
ran on a synthesized input
NarcissusEx/CuNeRF/src/utils.py
code served (permissive licence) · get_code("7e7cb5262be26f62")
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 float64, ndim 0, 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 torch.nn as nn
import numpy as np

class DummyOptimizer:
    """Stand-in optimizer with param_groups attribute."""
    def __init__(self):
        self.param_groups = [{'lr': 0.001}]

class DummyModel(nn.Module):
    """Minimal model with an optimizer."""
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
        self.optim = DummyOptimizer()

torch.manual_seed(0)

model = DummyModel()

ARGS = {
    'step': 5,
    'self': model,
    'lr_init': 0.001,
    'lr_final': 0.0001,
    'max_iter': 1000,
    'lr_delay_steps': 100,
    'lr_delay_mult': 0.1
}
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 float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
merge_configs Ran
ran on a synthesized input
NarcissusEx/CuNeRF/src/utils.py
code served (permissive licence) · get_code("7bf720cc3d1aca64")
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 dict. 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.nn as nn

torch.manual_seed(0)

class SimpleArgs:
    def __init__(self):
        self.learning_rate = 0.001
        self.batch_size = 32
        self.epochs = 10
        self.model_name = "test_model"
        self.dropout = 0.5

args = SimpleArgs()

bcfg = {
    "learning_rate": 0.0001,
    "batch_size": 16,
    "epochs": 5,
    "optimizer": "adam",
    "weight_decay": 1e-4
}

ARGS = {
    "args": args,
    "bcfg": bcfg
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
mlt_process Ran
ran on a synthesized input
NarcissusEx/CuNeRF/src/utils.py
code served (permissive licence) · get_code("8a9e87aac0a23baf")
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 DictProxy. 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.nn as nn
from multiprocessing import Process, Manager
import queue
from tqdm import tqdm

torch.manual_seed(0)

# Define a simple worker function that the mlt_process will call
def worker_function(rets, idx, const_param1, const_param2, param1, param2):
    """
    Simple worker function that processes parameters and stores results.
    Signature matches how mlt_process calls function:
    function(rets, idx, *const_params, *param)
    """
    # Simulate some work
    result = const_param1 + const_param2 + param1 + param2
    rets[idx] = result

# Create a Manager dict to store results from worker processes
manager = Manager()
rets = manager.dict()

# Define const_params - these are unpacked with *const_params
const_params = (10, 20)

# Define params - each element is unpacked with *param
# Each param should be a tuple/list that will be unpacked
params = [
    (1, 2),
    (3, 4),
    (5, 6),
]

# The function to be called by workers
function = worker_function

# Number of worker processes
num_workers = 2

# Whether to show progress bar
is_tqdm = False

ARGS = {
    'rets': rets,
    'const_params': const_params,
    'params': params,
    'function': function,
    'num_workers': num_workers,
    'is_tqdm': is_tqdm,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, tqdm — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DictProxy — a DictProxy output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DictProxy output the recorded ndim 1 and dtype family int 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
cube_imp Not yet run
unverified (harvested, no recorded run)
NarcissusEx/CuNeRF/src/importance.py
code served (permissive licence) · get_code("7a9b1db4bfe1f8a5")
How it ran

no invocation recorded.

cube_rendering Not yet run
unverified (harvested, no recorded run)
NarcissusEx/CuNeRF/src/rendering.py
code served (permissive licence) · get_code("0ceb5aeaa2384782")
How it ran

no invocation recorded.

cube_sample_pdf Not yet run
unverified (harvested, no recorded run)
NarcissusEx/CuNeRF/src/importance.py
code served (permissive licence) · get_code("03688e55f0b542a8")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 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 9 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

Arbitrary-scale super resolution (a) Medical volume (c) Free-viewpoint slice synthesis (b) Volumetric representation * Corresponding author. periments on magnetic resource imaging (MRI) and computed tomography (CT) modalities, we demonstrate that CuNeRF can synthesize high-quality SR medical images, which outperforms state-of-the-art MISR methods, achieving better visual verisimilitude and fewer objectionable artifacts. Compared to existing MISR methods, our CuNeRF is more applicable in practice.

For agents

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

get_harvested_code_for_paper("2303.16242")
get_code_for_paper("2303.16242")
have("2303.16242")

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

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

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

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

Connect an agent — have() is free.