SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2312.07315 · 2023

NVS-Adapter: Plug-and-Play Novel View Synthesis from a Single Image

arXiv · PDF · Open in the Atlas

Code that ran

8 of 11 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; 3 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 4 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/2312.07315.json · badge: /api/ran/2312.07315.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
POSTECH-CVLab/nvsadapter canonical (classifier label)
classifier basis: census
8 ran · 3 no recorded run
FunctionStatusWhere it lives
HWC3 Ran
ran; our contract draft was wrong, not the code
POSTECH-CVLab/nvsadapter/sgm/modules/nvsadapter/conditioner.py
code served (permissive licence) · get_code("71b406321e2072eb")
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 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 torch

torch.manual_seed(0)

# The function HWC3 takes a tensor x and concatenates it 3 times along axis 2
# It expects a tensor with at least 3 dimensions (H, W, C format)
# We need to create a small tensor with distinct dimensions

x = torch.randn(2, 4, 1)  # Shape: (H=2, W=4, C=1)

ARGS = {
    "x": x
}
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 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
disabled_train Ran
ran, violated the contract we drafted
POSTECH-CVLab/nvsadapter/sgm/modules/nvsadapter/midas/api.py
code served (permissive licence) · get_code("4cb732f513d69dfd")
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 SimpleModel. 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 SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

model = SimpleModel()

ARGS = {
    "self": model,
    "mode": True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SimpleModel — a SimpleModel output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SimpleModel 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
get_obj_from_str Ran
ran; our contract draft was wrong, not the code
POSTECH-CVLab/nvsadapter/3drec/threestudio/models/guidance/nvsadapter_guidance.py
code served (permissive licence) · get_code("221b2d116fdf1032")
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 type. 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 importlib
import torch
import torch.nn as nn

torch.manual_seed(0)

# The function get_obj_from_str takes a string like "module.path.ClassName"
# and returns the class/object by:
# 1. Splitting on the last dot to get module path and class name
# 2. Optionally reloading the module if reload=True
# 3. Importing the module and getting the attribute (class/object)

# We need to provide:
# - string: a valid module.class path that exists
# - reload: boolean flag

# Using a built-in class that's guaranteed to exist
string_value = "torch.nn.Linear"
reload_value = False

ARGS = {
    "string": string_value,
    "reload": reload_value,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type type — a type output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a type 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
inject_trainable_lora_extended Ran
ran, honoured the contract we drafted
POSTECH-CVLab/nvsadapter/sgm/modules/nvsadapter/lora/lora.py
code served (permissive licence) · get_code("3aec51ff694c19af")
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 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 torch.nn as nn
from typing import Set, Optional

torch.manual_seed(0)

# Create a minimal model that mimics a UNet structure with target modules
class SimpleResnetBlock2D(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear1 = nn.Linear(4, 8)
        self.linear2 = nn.Linear(8, 4)
    
    def forward(self, x):
        x = self.linear1(x)
        x = self.linear2(x)
        return x

class SimpleCrossAttention(nn.Module):
    def __init__(self):
        super().__init__()
        self.to_q = nn.Linear(4, 4)
        self.to_k = nn.Linear(4, 4)
        self.to_v = nn.Linear(4, 4)
    
    def forward(self, x):
        return self.to_q(x)

class SimpleAttention(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 4)
    
    def forward(self, x):
        return self.linear(x)

class SimpleGEGLU(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 8)
    
    def forward(self, x):
        return self.linear(x)

class SimpleUNet(nn.Module):
    def __init__(self):
        super().__init__()
        self.resnet_block = SimpleResnetBlock2D()
        self.cross_attention = SimpleCrossAttention()
        self.attention = SimpleAttention()
        self.geglu = SimpleGEGLU()
    
    def forward(self, x):
        x = self.resnet_block(x)
        x = self.cross_attention(x)
        x = self.attention(x)
        x = self.geglu(x)
        return x

# Create model instance
model = SimpleUNet()

# Define ARGS dictionary with all parameters for inject_trainable_lora_extended
ARGS = {
    'model': model,
    'target_replace_module': {'ResnetBlock2D', 'CrossAttention', 'Attention', 'GEGLU'},
    'r': 2,
    'loras': None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — 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 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
minus_one_to_one Ran
ran, honoured the contract we drafted
POSTECH-CVLab/nvsadapter/sgm/modules/nvsadapter/conditioner.py
code served (permissive licence) · get_code("a3c255c9c008ba70")
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 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 torch
import numpy as np

torch.manual_seed(0)

# The function takes a single parameter 'x' and applies a linear transformation
# x * 2.0 - 1.0, which maps values from [0, 1] to [-1, 1]
# x should be a tensor or array-like object that supports multiplication and subtraction

x = torch.randn(2, 4)

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 Tensor, 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
nms Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
POSTECH-CVLab/nvsadapter/sgm/modules/nvsadapter/hed/api.py
pointer only (licence: MIT); the stored copy get_code serves, from DeepakSridhar/fgdm, is pointer only (licence: NOASSERTION) · get_code("6cce57d1077b8c49")
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 DeepakSridhar/fgdm, 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.

safe_open Ran
ran; our contract draft was wrong, not the code
POSTECH-CVLab/nvsadapter/sgm/modules/nvsadapter/lora/safe_open.py
code served (permissive licence) · get_code("f999bed53b70c3ab")
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 SafetensorsWrapper. 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 tempfile
import json
import os

torch.manual_seed(0)

# Create a temporary safetensors file for testing
temp_dir = tempfile.mkdtemp()
filename = os.path.join(temp_dir, "test.safetensors")

# Create a minimal safetensors file
# Format: [8 bytes header with metadata length][metadata json][tensor data]

# Create some test tensors
tensor1 = torch.randn(2, 4, dtype=torch.float32)
tensor2 = torch.randn(3, 5, dtype=torch.float16)

# Serialize tensors to bytes
tensor1_bytes = tensor1.numpy().tobytes()
tensor2_bytes = tensor2.half().numpy().tobytes()

# Build metadata
metadata = {
    "tensor1": {
        "dtype": "F32",
        "shape": [2, 4],
        "data_offsets": [0, len(tensor1_bytes)]
    },
    "tensor2": {
        "dtype": "F16",
        "shape": [3, 5],
        "data_offsets": [len(tensor1_bytes), len(tensor1_bytes) + len(tensor2_bytes)]
    },
    "__metadata__": {}
}

metadata_json = json.dumps(metadata)
metadata_bytes = metadata_json.encode('utf-8')
header = len(metadata_bytes).to_bytes(8, 'little')

# Write the file
with open(filename, 'wb') as f:
    f.write(header)
    f.write(metadata_bytes)
    f.write(tensor1_bytes)
    f.write(tensor2_bytes)

ARGS = {
    'filename': filename,
    'framework': 'pt',
    'device': 'cpu'
}
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 SafetensorsWrapper — a SafetensorsWrapper output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SafetensorsWrapper 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
zero_to_one Ran
ran, honoured the contract we drafted
POSTECH-CVLab/nvsadapter/sgm/modules/nvsadapter/conditioner.py
code served (permissive licence) · get_code("e4f7e3491a3b642b")
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 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 torch

torch.manual_seed(0)

# The function zero_to_one takes a single parameter x
# and applies the transformation (x + 1) / 2.0
# This suggests x should be a numeric type (tensor, numpy array, or scalar)
# that supports addition and division operations

# Create a small tensor as input
x = torch.randn(2, 4)

ARGS = {
    "x": x
}
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 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
create_tensor Not yet run
unverified (harvested, no recorded run)
POSTECH-CVLab/nvsadapter/sgm/modules/nvsadapter/lora/safe_open.py
code served (permissive licence) · get_code("effb6d8bd6b936e2")
How it ran

no invocation recorded.

extract_lora_as_tensor Not yet run
unverified (harvested, no recorded run)
POSTECH-CVLab/nvsadapter/sgm/modules/nvsadapter/lora/lora.py
code served (permissive licence) · get_code("bcd3958dacd3b2b0")
How it ran

no invocation recorded.

extract_lora_ups_down Not yet run
unverified (harvested, no recorded run)
POSTECH-CVLab/nvsadapter/sgm/modules/nvsadapter/lora/lora.py
code served (permissive licence) · get_code("2f9880b526ff277e")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 7 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 4 the same month, 7 later) and 4 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
disabled_train 173 other papers
64 dated earlier, 10 the same month, 99 later · 5 only as an assembly brick
2012.09841 (2020-12)
Taming Transformers for High-Resolution Image Synthesis
2102.05379 (2021-02)
Argmax Flows and Multinomial Diffusion: Learning Categorical Distributions
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
and 170 more not named here
get_obj_from_str 54 other papers
17 dated earlier, 2 the same month, 34 later, 1 same year, order not determinable · 12 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2102.05379 (2021-02)
Argmax Flows and Multinomial Diffusion: Learning Categorical Distributions
2112.00384 (2021-12)
Exploration into Translation-Equivariant Image Quantization
and 51 more not named here
extract_lora_ups_down 8 other papers
1 dated earlier, 1 the same month, 6 later
2208.12242 (2022-08)
DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation
2312.17250 (2023-12)
iFusion: Inverting Diffusion for Pose-Free Reconstruction from Sparse Views
Cao_LeftRefill_Filling_Right_Canvas_based_on_Left_Reference_through_Generalized_CVPR_2024_paper (2024 (year only))
LeftRefill: Filling Right Canvas based on Left Reference through Generalized Text-to-Image Diffusion Model
and 5 more not named here
inject_trainable_lora_extended 6 other papers
1 dated earlier, 5 later
2208.12242 (2022-08)
DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation
2402.02347 (2024-02)
Riemannian Preconditioned LoRA for Fine-Tuning Foundation Models
2403.07860 (2024-03)
Bridging Different Language Models and Generative Vision Models for Text-to-Image Generation
and 3 more not named here
nms 6 other papers
1 dated earlier, 2 the same month, 3 later
2308.08545 (2023-08)
TeCH: Text-guided Reconstruction of Lifelike Clothed Humans
2312.04524 (2023-12)
RAVE: Randomized Noise Shuffling for Fast and Consistent Video Editing with Diffusion Models
2312.11392 (2023-12)
SCEdit: Efficient and Controllable Image Diffusion Generation via Skip Connection Editing
and 3 more not named here
create_tensor 1 other paper
1 later
2402.02347 (2024-02)
Riemannian Preconditioned LoRA for Fine-Tuning Foundation Models
safe_open 1 other paper
1 later
2402.02347 (2024-02)
Riemannian Preconditioned LoRA for Fine-Tuning Foundation Models

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

Transfer learning of large-scale Text-to-Image (T2I) models has recently shown impressive potential for Novel View Synthesis (NVS) of diverse objects from a single image. While previous methods typically train large models on multi-view datasets for NVS, fine-tuning the whole parameters of T2I models not only demands a high cost but also reduces the generalization capacity of T2I models in generating diverse images in a new domain. In this study, we propose an effective method, dubbed NVS-Adapter, which is a plug-and-play module for a T2I model, to synthesize novel multi-views of visual objects while fully exploiting the generalization capacity of T2I models. NVS-Adapter consists of two main components; view-consistency cross-attention learns the visual correspondences to align the local details of view features, and global semantic conditioning aligns the semantic structure of generated views with the reference view. Experimental results demonstrate that the NVS-Adapter can effectively synthesize geometrically consistent multi-views and also achieve high performance on benchmarks without full fine-tuning of T2I models. The code and data are publicly available in ~\href{https://postech-cvlab.github.io/nvsadapter/}{https://postech-cvlab.github.io/nvsadapter/}.

For agents

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

get_harvested_code_for_paper("2312.07315")
get_code_for_paper("2312.07315")
have("2312.07315")

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

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

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

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

Connect an agent — have() is free.