SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2401.12517 · 2024

DDMI: Domain-Agnostic Latent Diffusion Models for Synthesizing High-Quality Implicit Neural Representations

arXiv · PDF · Open in the Atlas

Code that ran

18 of 21 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; 5 honoured the contract we drafted, 3 violated it and 0 have no contract verdict; 10 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/2401.12517.json · badge: /api/ran/2401.12517.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
mlvlab/DDMI canonical (classifier label)
classifier basis: census
18 ran · 3 no recorded run
FunctionStatusWhere it lives
DiffAugment Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mlvlab/DDMI/losses/diffaugment.py
code served (permissive licence) · get_code("4206702962945b57")
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 4, dtype family float, shape (2, 3, 4, 5) 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 a small input tensor with shape (batch_size, channels, height, width)
# Using distinct dimensions: batch=2, channels=3, height=4, width=5
x = torch.randn(2, 3, 4, 5, dtype=torch.float32)

ARGS = {
    'x': x,
    'policy': 'color,translation,cutout',
    'channels_first': True,
}
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 4, dtype family float, shape (2, 3, 4, 5) — shape (2, 3, 4, 5) 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
adopt_weight Ran
ran, honoured the contract we drafted
mlvlab/DDMI/losses/perceptual.py
code served (permissive licence) · get_code("984662e094837171")
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 float, 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 as nn

torch.manual_seed(0)

ARGS = {
    "global_step": 5,
    "threshold": 10,
    "value": 0.5
}
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 float, 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
calculate_activation_statistics Ran
ran; our contract draft was wrong, not the code
mlvlab/DDMI/evals/fid/fid_score.py
code served (permissive licence) · get_code("9ca749a5ce7dc9a6")
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 torch
import torch.nn as nn
import numpy as np
from PIL import Image
import tempfile
import os

torch.manual_seed(0)

# Create a minimal mock Inception model that returns the expected output shape
class MockInceptionModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.conv = nn.Conv2d(3, 2048, kernel_size=3, padding=1)
    
    def forward(self, x):
        # Return a tuple where first element is the activation map
        # Shape: (batch_size, 2048, height, width)
        out = self.conv(x)
        return (out,)

# Create temporary image files for the dataset
def create_temp_images(num_images=2, size=(4, 3)):
    """Create temporary dummy images"""
    temp_dir = tempfile.mkdtemp()
    image_paths = []
    for i in range(num_images):
        # Create a simple RGB image
        img_array = np.random.randint(0, 256, (size[0], size[1], 3), dtype=np.uint8)
        img = Image.fromarray(img_array, mode='RGB')
        img_path = os.path.join(temp_dir, f'image_{i}.png')
        img.save(img_path)
        image_paths.append(img_path)
    return image_paths

# Create the mock model
model = MockInceptionModel()

# Create temporary image files
image_files = create_temp_images(num_images=2, size=(4, 3))

# Construct ARGS dictionary with all required parameters
ARGS = {
    'files': image_files,
    'model': model,
    'batch_size': 2,
    'dims': 2048,
    'device': 'cpu',
    'max_samples': None,
}
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
chamfer_distance_naive Ran
ran; our contract draft was wrong, not the code
mlvlab/DDMI/convocc/src/common.py
code served (permissive licence) · get_code("8e6b5059f61d84e6")
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 1, dtype family float, shape (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 torch
import numpy as np

torch.manual_seed(0)

# The function expects two tensors of point clouds
# Shape: (batch_size, num_points, 3)
# The function uses .size(), .view(), .pow(), .sum(), .min(), .mean()
# So we need torch tensors, not numpy arrays

batch_size = 2
num_points = 4
point_dim = 3

points1 = torch.randn(batch_size, num_points, point_dim)
points2 = torch.randn(batch_size, num_points, point_dim)

ARGS = {
    "points1": points1,
    "points2": points2,
}
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 1, dtype family float, shape (2,) — shape (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
compute_iou Ran
ran, honoured the contract we drafted
mlvlab/DDMI/convocc/src/common.py
code served (permissive licence) · get_code("0072de07b144b152")
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 (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
import torch

torch.manual_seed(0)

# Create two small occupancy tensors
# occ1: shape (2, 4) - batch of 2, flattened occupancy values of 4
# occ2: shape (2, 4) - same shape for comparison
occ1 = torch.rand(2, 4)
occ2 = torch.rand(2, 4)

ARGS = {
    "occ1": occ1,
    "occ2": occ2,
}
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 (2,) — shape (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
default Ran
ran, violated the contract we drafted
mlvlab/DDMI/diffusion/ddpm.py
code served (permissive licence) · get_code("424012cb37b31172")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned int, ndim 0, dtype family int, 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.

from inspect import isfunction

def exists(val):
    return val is not None

def default(val, d):
    if exists(val):
        return val
    return d() if isfunction(d) else d

# Test case 1: val exists (not None), d is a regular value
ARGS_1 = {
    'val': 42,
    'd': 100
}

# Test case 2: val is None, d is a regular value
ARGS_2 = {
    'val': None,
    'd': 100
}

# Test case 3: val is None, d is a function
def default_func():
    return 200

ARGS_3 = {
    'val': None,
    'd': default_func
}

# Test case 4: val exists, d is a function
ARGS_4 = {
    'val': "existing_value",
    'd': lambda: "default_value"
}

# Use one of the test cases as the final ARGS
ARGS = ARGS_3
Setup block drafted by
a language model, Claude Sonnet 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 int, ndim 0, dtype family int, 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
exists Ran
ran, violated the contract we drafted
mlvlab/DDMI/diffusion/ddpm.py
pointer only (licence: MIT); the stored copy get_code serves, from ThomasMrY/VCT, is pointer only (licence: NONE) · get_code("aa5486a3650902d8")
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 ThomasMrY/VCT, 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.

get_activations Ran
ran, honoured the contract we drafted
mlvlab/DDMI/evals/fid/fid_score.py
code served (permissive licence) · get_code("69fdcf265bb8f96e")
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, 2048) 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 as nn
import numpy as np
from torch.utils.data import DataLoader
import torchvision.transforms as TF
from PIL import Image
import io

torch.manual_seed(0)

# Create a minimal mock Inception model
class MockInceptionModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.conv = nn.Conv2d(3, 2048, kernel_size=3, padding=1)
    
    def forward(self, x):
        # Return tuple where first element is the activation
        batch_size = x.shape[0]
        # Output spatial dims of 5x5 for testing adaptive_avg_pool2d
        out = self.conv(x)
        out = torch.nn.functional.interpolate(out, size=(5, 5), mode='bilinear', align_corners=False)
        return (out,)

# Create minimal test images as RGB PIL Images
def create_dummy_image():
    """Create a small RGB image as bytes"""
    img = Image.new('RGB', (8, 8), color='red')
    return img

# Create a small list of file paths (we'll use a mock approach)
# Since we can't do actual file I/O, we'll create a custom dataset that doesn't need files
class MockImagesPathDataset(torch.utils.data.Dataset):
    def __init__(self, num_images=2, transforms=None):
        self.num_images = num_images
        self.transforms = transforms
    
    def __len__(self):
        return self.num_images
    
    def __getitem__(self, i):
        # Create a dummy tensor instead of loading from file
        img = torch.rand(3, 8, 8)
        if self.transforms is not None:
            # transforms expect PIL Images, so convert back
            pil_img = TF.ToPILImage()(img)
            img = self.transforms(pil_img)
        return img

# Create model
model = MockInceptionModel()

# Create a custom dataloader using mock dataset
mock_dataset = MockImagesPathDataset(num_images=4, transforms=TF.ToTensor())
mock_dataloader = DataLoader(mock_dataset, batch_size=2, drop_last=False, num_workers=0)

# Build ARGS dictionary
ARGS = {
    'files': mock_dataloader,  # Pass dataloader directly
    'model': model,
    'batch_size': 2,
    'dims': 2048,
    'device': 'cpu',
    'max_samples': None
}
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 ndarray, ndim 2, dtype family float, shape (4, 2048) — shape (4, 2048) 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
hinge_d_loss Ran
ran; our contract draft was wrong, not the code
mlvlab/DDMI/losses/perceptual.py
pointer only (licence: MIT); the stored copy get_code serves, from joanrod/ocr-vqgan, is pointer only (licence: NONE) · get_code("22a83df891d750c6")
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 joanrod/ocr-vqgan, 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.

is_url Ran
ran, violated the contract we drafted
mlvlab/DDMI/convocc/src/checkpoints.py
code served (permissive licence) · get_code("e39d881796e8d67e")
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 bool, 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 urllib

def is_url(url):
    scheme = urllib.parse.urlparse(url).scheme
    return scheme in ('http', 'https')

ARGS = {
    'url': 'https://example.com'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
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 bool, 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
md5_hash Ran
ran; our contract draft was wrong, not the code
mlvlab/DDMI/losses/lpips.py
code served (permissive licence) · get_code("c8d9d38b144e401f")
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 str. 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 temporary file with some content
temp_file = tempfile.NamedTemporaryFile(mode='wb', delete=False, suffix='.txt')
temp_file.write(b"This is test content for md5 hashing")
temp_file.close()
temp_path = temp_file.name

ARGS = {
    "path": temp_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
noise_like Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mlvlab/DDMI/diffusion/ddpm.py
code served (permissive licence) · get_code("104973640b230918")
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
from einops import rearrange, repeat

torch.manual_seed(0)

ARGS = {
    "shape": (2, 4, 3),
    "device": torch.device("cpu"),
    "repeat": False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, 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
normalize_tensor Ran
ran; our contract draft was wrong, not the code
mlvlab/DDMI/losses/lpips.py
pointer only (licence: MIT); the stored copy get_code serves, from zh460045050/V2L-Tokenizer, is pointer only (licence: NONE) · get_code("7257fdf155f5ef45")
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 zh460045050/V2L-Tokenizer, 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.

rand_brightness Ran
ran; our contract draft was wrong, not the code
mlvlab/DDMI/losses/diffaugment.py
pointer only (licence: MIT); the stored copy get_code serves, from postech-cvlab/pytorch-studiogan, is pointer only (licence: NOASSERTION) · get_code("011230b2b9b8fb6f")
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 postech-cvlab/pytorch-studiogan, 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.

rand_saturation Ran
ran; our contract draft was wrong, not the code
mlvlab/DDMI/losses/diffaugment.py
pointer only (licence: MIT); the stored copy get_code serves, from postech-cvlab/pytorch-studiogan, is pointer only (licence: NOASSERTION) · get_code("5b0d8787e670fc63")
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 postech-cvlab/pytorch-studiogan, 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.

scale_to_half_unit_sphere Ran
ran, honoured the contract we drafted
mlvlab/DDMI/evals_3d/compute_metrics_3d.py
code served (permissive licence) · get_code("c369c8d351cb82f8")
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, 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

# Create sample points data
# The function expects points as a 2D array where each row is a point
# Using shape (5, 3) - 5 points in 3D space
points = np.array([
    [1.0, 2.0, 3.0],
    [4.0, 5.0, 6.0],
    [7.0, 8.0, 9.0],
    [10.0, 11.0, 12.0],
    [13.0, 14.0, 15.0]
], dtype=np.float32)

# The 'center' parameter is defined but never used in the function body
center = None

ARGS = {
    "points": points,
    "center": center
}
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, 3) — shape (5, 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
scale_to_unit_sphere Ran
ran, honoured the contract we drafted
mlvlab/DDMI/evals_3d/compute_metrics_3d.py
code served (permissive licence) · get_code("f36a62b0569c535d")
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 (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 numpy as np

# Create a small set of random 3D points for testing
np.random.seed(0)
points = np.random.randn(2, 4)

# The function takes points and an optional center parameter
# Looking at the function body, it doesn't actually use the center parameter
# So we can pass None (the default)

ARGS = {
    "points": points,
    "center": None,
}
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 (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
vanilla_d_loss Ran
ran; our contract draft was wrong, not the code
mlvlab/DDMI/losses/perceptual.py
pointer only (licence: MIT); the stored copy get_code serves, from joanrod/ocr-vqgan, is pointer only (licence: NONE) · get_code("263c54290c553ddd")
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 joanrod/ocr-vqgan, 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.

calculate_frechet_distance Not yet run
unverified (harvested, no recorded run)
mlvlab/DDMI/evals/fid/fid_score.py
code served (permissive licence) · get_code("0def50a351111624")
How it ran

no invocation recorded. this sample carries JSON test cases instead of a setup block; get_reference_implementation serves them with the level they back.

get_ckpt_path Not yet run
unverified (harvested, no recorded run)
mlvlab/DDMI/losses/lpips.py
code served (permissive licence) · get_code("6ce9524fa24899fa")
How it ran

no invocation recorded.

load_config Not yet run
unverified (harvested, no recorded run)
mlvlab/DDMI/convocc/src/config.py
code served (permissive licence) · get_code("3b4e062ced70eb9f")
How it ran

no invocation recorded.

Also present in other papers' code

Of 21 samples lifted from this paper's linked repositories, 21 carry a function identity and 0 do not. Of the 21 distinct functions with an identity, 16 are also present in other papers whose code we hold (15 with at least one paper dated earlier, 5 the same month, 12 later) and 5 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
exists 486 other papers
283 dated earlier, 9 the same month, 183 later, 9 same year, order not determinable, 2 undated · 78 only as an assembly brick
1603.08155 (2016-03)
Perceptual Losses for Real-Time Style Transfer and Super-Resolution
1611.07004 (2016-11)
Image-to-Image Translation with Conditional Adversarial Networks
1804.04637 (2018-04)
EMBER: An Open Dataset for Training Static PE Malware Machine Learning Models
and 483 more not named here
default 207 other papers
117 dated earlier, 6 the same month, 78 later, 6 same year, order not determinable · 41 only as an assembly brick
1711.11585 (2017-11)
High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANs
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.08162 (2020-10)
SidechainNet: An All-Atom Protein Structure Dataset for Machine Learning
and 204 more not named here
calculate_frechet_distance 74 other papers
51 dated earlier, 1 the same month, 21 later, 1 same year, order not determinable
1610.09585 (2016-10)
Conditional Image Synthesis With Auxiliary Classifier GANs
1706.08500 (2017-06)
GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium
1807.11458 (2018-07)
To learn image super-resolution, use a GAN to learn how to do image degradation first
and 71 more not named here
md5_hash 30 other papers
13 dated earlier, 16 later, 1 same year, order not determinable
2008.01777 (2020-08)
Making Sense of CNNs: Interpreting Deep Representations & Their Invariances with INNs
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
2112.00384 (2021-12)
Exploration into Translation-Equivariant Image Quantization
and 27 more not named here
noise_like 17 other papers
10 dated earlier, 1 the same month, 6 later · 12 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
and 14 more not named here
rand_brightness 17 other papers
13 dated earlier, 2 later, 2 same year, order not determinable
1912.04958 (2019-12)
Analyzing and Improving the Image Quality of StyleGAN
2006.10738 (2020-06)
Differentiable Augmentation for Data-Efficient GAN Training
2007.15646 (2020-07)
Rewriting a Deep Generative Model
and 14 more not named here
rand_saturation 16 other papers
12 dated earlier, 2 later, 2 same year, order not determinable
1912.04958 (2019-12)
Analyzing and Improving the Image Quality of StyleGAN
2006.10738 (2020-06)
Differentiable Augmentation for Data-Efficient GAN Training
2007.15646 (2020-07)
Rewriting a Deep Generative Model
and 13 more not named here
hinge_d_loss 15 other papers
5 dated earlier, 10 later
2012.09841 (2020-12)
Taming Transformers for High-Resolution Image Synthesis
2112.00384 (2021-12)
Exploration into Translation-Equivariant Image Quantization
2211.13221 (2022-11)
Latent Video Diffusion Models for High-Fidelity Long Video Generation
and 12 more not named here
normalize_tensor 13 other papers
7 dated earlier, 6 later
2112.00384 (2021-12)
Exploration into Translation-Equivariant Image Quantization
2203.10897 (2022-03)
Unified Multivariate Gaussian Mixture for Efficient Neural Image Compression
2203.16521 (2022-03)
CoordGAN: Self-Supervised Dense Correspondences Emerge from GANs
and 10 more not named here
is_url 12 other papers
11 dated earlier, 1 the same month
1912.07372 (2019-12)
Differentiable Volumetric Rendering: Learning Implicit 3D Representations without 3D Supervision
2001.05119 (2020-01)
Learning multiview 3D point cloud registration
2003.04618 (2020-03)
Convolutional Occupancy Networks
and 9 more not named here
vanilla_d_loss 11 other papers
5 dated earlier, 6 later
2012.09841 (2020-12)
Taming Transformers for High-Resolution Image Synthesis
2112.00384 (2021-12)
Exploration into Translation-Equivariant Image Quantization
2211.13221 (2022-11)
Latent Video Diffusion Models for High-Fidelity Long Video Generation
and 8 more not named here
get_ckpt_path 10 other papers
3 dated earlier, 6 later, 1 same year, order not determinable
2112.00384 (2021-12)
Exploration into Translation-Equivariant Image Quantization
Li_MAGE_MAsked_Generative_Encoder_To_Unify_Representation_Learning_and_Image_CVPR_2023_paper (2023 (year only))
MAGE: MAsked Generative Encoder to Unify Representation Learning and Image Synthesis
2308.07228 (2023-08)
RestoreFormer++: Towards Real-World Blind Face Restoration from Undegraded Key-Value Pairs
and 7 more not named here
compute_iou 9 other papers
9 dated earlier
2003.04618 (2020-03)
Convolutional Occupancy Networks
2104.01148 (2021-04)
Decomposing 3D Scenes into Objects via Unsupervised Volume Segmentation
2107.01899 (2021-07)
Ray-ONet: Efficient 3D Reconstruction From A Single RGB Image
and 6 more not named here
chamfer_distance_naive 6 other papers
6 dated earlier
2003.04618 (2020-03)
Convolutional Occupancy Networks
2107.01899 (2021-07)
Ray-ONet: Efficient 3D Reconstruction From A Single RGB Image
2204.01264 (2022-04)
Probabilistic Implicit Scene Completion
and 3 more not named here
adopt_weight 1 other paper
1 later
2407.16125 (2024-07)
Diffusion Prior-Based Amortized Variational Inference for Noisy Inverse Problems
calculate_activation_statistics 1 other paper
1 dated earlier
2302.04305 (2023-02)
Mask Conditional Synthetic Satellite Imagery

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 studies have introduced a new class of generative models for synthesizing implicit neural representations (INRs) that capture arbitrary continuous signals in various domains. These models opened the door for domain-agnostic generative models, but they often fail to achieve high-quality generation. We observed that the existing methods generate the weights of neural networks to parameterize INRs and evaluate the network with fixed positional embeddings (PEs). Arguably, this architecture limits the expressive power of generative models and results in low-quality INR generation. To address this limitation, we propose Domain-agnostic Latent Diffusion Model for INRs (DDMI) that generates adaptive positional embeddings instead of neural networks' weights. Specifically, we develop a Discrete-to-continuous space Variational AutoEncoder (D2C-VAE), which seamlessly connects discrete data and the continuous signal functions in the shared latent space. Additionally, we introduce a novel conditioning mechanism for evaluating INRs with the hierarchically decomposed PEs to further enhance expressive power. Extensive experiments across four modalities, e.g., 2D images, 3D shapes, Neural Radiance Fields, and videos, with seven benchmark datasets, demonstrate the versatility of DDMI and its superior performance compared to the existing INR generative models.

For agents

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

get_harvested_code_for_paper("2401.12517")
get_code_for_paper("2401.12517")
have("2401.12517")

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

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

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

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

Connect an agent — have() is free.