SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2105.04349 · ICCV · 2021

Generative Adversarial Registration for Improved Conditional Deformable Templates

Neel Dey, Mengwei Ren, Guido Gerig, Adrian Dalca

arXiv · PDF · Open in the Atlas

Code that ran

15 of 19 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; 9 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 5 failures of our instrument; 4 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/2105.04349.json · badge: /api/ran/2105.04349.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
neel-dey/Atlas-GAN canonical (classifier label)
classifier basis: census
14 ran · 3 no recorded run
fjr9516/dbm_with_dl community (classifier label)
classifier basis not recorded on the link
1 ran · 1 no recorded run
FunctionStatusWhere it lives
boundingbox Ran
ran, honoured the contract we drafted
neel-dey/Atlas-GAN/ext/pynd-lib/pynd/ndutils.py
code served (permissive licence) · get_code("c516c53184ea0a6b")
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 (6,) 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 binary volume (nd array)
# The function finds bounding box of non-zero elements
# Using a 3D array as an example
bwvol = np.zeros((5, 6, 7), dtype=np.uint8)
# Add some non-zero values to define a bounding box
bwvol[1:3, 2:4, 3:5] = 1

ARGS = {
    "bwvol": bwvol
}
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 (6,) — shape (6,) 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
bw2sdtrf Ran
ran, honoured the contract we drafted
neel-dey/Atlas-GAN/ext/pynd-lib/pynd/ndutils.py
code served (permissive licence) · get_code("52abec54f9082f54")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 3, dtype family float, shape (2, 3, 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 scipy.ndimage

# Create a small binary volume for testing
# Using a 4x3x2 volume with some True values and some False values
bwvol = np.array([
    [[True, False],
     [False, True],
     [True, True]],
    [[False, True],
     [True, False],
     [False, False]]
])

ARGS = {
    "bwvol": bwvol
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family float, shape (2, 3, 2) — shape (2, 3, 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
bwdist Ran
ran, honoured the contract we drafted
neel-dey/Atlas-GAN/ext/pynd-lib/pynd/ndutils.py
code served (permissive licence) · get_code("7d3d4ac668b84a80")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 3, dtype family float, shape (4, 3, 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 scipy.ndimage

# Create a small logical volume (binary array) for testing
# Using a 4x3x2 array to have distinct dimensions
bwvol = np.array([
    [[True, False], [False, True], [True, False]],
    [[False, True], [True, False], [False, True]],
    [[True, True], [False, False], [True, True]],
    [[False, False], [True, True], [False, False]]
], dtype=bool)

ARGS = {
    "bwvol": bwvol
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family float, shape (4, 3, 2) — shape (4, 3, 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
const_inp Ran
ran, honoured the contract we drafted
neel-dey/Atlas-GAN/src/networks.py
code served (permissive licence) · get_code("ca21b5c7c7f55f82")
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 EagerTensor, ndim 2, dtype family float, shape (2, 1) 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 tensorflow as tf

# Create a small tensor with batch_size=2 and feature_dim=4
tensor = tf.constant([[1.0, 2.0, 3.0, 4.0],
                      [5.0, 6.0, 7.0, 8.0]], dtype=tf.float32)

ARGS = {
    "tensor": tensor
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, ndim 2, dtype family float, shape (2, 1) — shape (2, 1) 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
disc_augment Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
neel-dey/Atlas-GAN/src/discriminator_augmentations.py
code served (permissive licence) · get_code("9e354373b0c52b89")
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 EagerTensor, ndim 5, 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 tensorflow as tf
import numpy as np

# Create a small 5D tensor batch: (batch_size, depth, height, width, channels)
# Using distinct sizes: 2, 4, 3, 5, 1 for each dimension
batch_size = 2
depth = 4
height = 3
width = 5
channels = 1

image_batch = tf.constant(
    np.random.randn(batch_size, depth, height, width, channels).astype(np.float32)
)

flip_choice = tf.constant(1, dtype=tf.int32)

intensity_mods = True

ARGS = {
    "image_batch": image_batch,
    "flip_choice": flip_choice,
    "intensity_mods": intensity_mods,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, ndim 5, dtype family float — no output shape is stated: observe_signature.py could not observe it (call:OperatorNotAllowedInGraphError)
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
discriminator_loss Ran
ran, honoured the contract we drafted
neel-dey/Atlas-GAN/src/losses.py
code served (permissive licence) · get_code("e5c04030e5a5b589")
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 EagerTensor, 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 tensorflow as tf
import numpy as np

# Set seed for reproducibility
tf.random.set_seed(0)

# Create small discriminator opinion tensors
# These represent the discriminator's feedback on fake and real images
# Shape: (batch_size, spatial_dims...) - keeping it simple with (2, 4)
batch_size = 2
feature_dim = 4

disc_opinion_fake_local = tf.random.normal(shape=(batch_size, feature_dim), dtype=tf.float32)
disc_opinion_real_local = tf.random.normal(shape=(batch_size, feature_dim), dtype=tf.float32)

ARGS = {
    "disc_opinion_real_local": disc_opinion_real_local,
    "disc_opinion_fake_local": disc_opinion_fake_local,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, 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
ini_to_struct Ran
ran; our contract draft was wrong, not the code
neel-dey/Atlas-GAN/ext/pytools-lib/pytools/iniparse.py
code served (permissive licence) · get_code("5a12367bbd55b7a2")
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 Struct. 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 configparser
import tempfile
import os

# Create a temporary INI file for testing
temp_ini = tempfile.NamedTemporaryFile(mode='w', suffix='.ini', delete=False)
temp_ini.write("""[section1]
int_value = 42
float_value = 3.14
bool_value = True
none_value = None
string_value = hello
list_value = 1, 2, 3
list_strings = apple banana orange

[section2]
another_int = 100
another_bool = False
""")
temp_ini.close()

ARGS = {
    'file': temp_ini.name
}
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 Struct — a Struct output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Struct 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
oversample Ran
ran, honoured the contract we drafted
neel-dey/Atlas-GAN/src/data_generators.py
code served (permissive licence) · get_code("5eddb7bdf1083086")
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 (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
import tempfile
import os

# Create temporary npz files with age data
temp_dir = tempfile.mkdtemp()
img_paths = []

# Create 3 npz files with different age values
ages_data = [
    {'age': np.array(25.0)},
    {'age': np.array(25.0)},
    {'age': np.array(35.0)},
]

for i, age_dict in enumerate(ages_data):
    path = os.path.join(temp_dir, f'img_{i}.npz')
    np.savez(path, **age_dict)
    img_paths.append(path)

ARGS = {
    'img_paths': img_paths
}
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 float, shape (3,) — shape (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
rand_brightness Ran
ran, honoured the contract we drafted
neel-dey/Atlas-GAN/src/discriminator_augmentations.py
code served (permissive licence) · get_code("f300ff22600cd932")
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 EagerTensor, ndim 5, dtype family float, shape (2, 4, 3, 3, 1) 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 tensorflow as tf
import numpy as np

# Create a small input tensor for rand_brightness
# The function expects x to be a 5D tensor (batch, dim1, dim2, dim3, dim4)
# We'll create a small batch of 2 with shape [2, 4, 3, 3, 1]
x = tf.constant(np.random.randn(2, 4, 3, 3, 1), dtype=tf.float32)

ARGS = {
    'x': x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, ndim 5, dtype family float, shape (2, 4, 3, 3, 1) — shape (2, 4, 3, 3, 1) 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
rand_saturation Ran
ran, honoured the contract we drafted
neel-dey/Atlas-GAN/src/discriminator_augmentations.py
code served (permissive licence) · get_code("7af0ab054d5e2a78")
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 EagerTensor, ndim 5, dtype family float, shape (2, 4, 3, 5, 6) 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 tensorflow as tf
import numpy as np

# Create a small 5D tensor with shape [batch=2, dim1=4, dim2=3, dim3=5, dim4=6]
# The function expects a 5D tensor based on the indexing pattern
x = tf.constant(
    np.random.randn(2, 4, 3, 5, 6).astype(np.float32),
    dtype=tf.float32
)

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, ndim 5, dtype family float, shape (2, 4, 3, 5, 6) — shape (2, 4, 3, 5, 6) 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
seg_overlay Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
neel-dey/Atlas-GAN/ext/pynd-lib/pynd/segutils.py
code served (permissive licence) · get_code("8700e6df23bb537e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 3, dtype family float, shape (4, 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 small test volumes and segmentation maps
vol = np.random.rand(4, 5).astype(np.float32)  # 2D volume
seg = np.random.randint(0, 3, size=(4, 5)).astype(np.int32)  # 2D segmentation with 3 labels

# Test with default cmap (None)
ARGS = {
    'vol': vol,
    'seg': seg,
    'do_rgb': True,
    'seg_wt': 0.5,
    'cmap': 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 3, dtype family float, shape (4, 5, 3) — shape (4, 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
slices Ran
ran on a synthesized input
fjr9516/dbm_with_dl/src/visualize_tools.py
code served (permissive licence) · get_code("7b70111b7192754e")
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 numpy as np
import matplotlib.pyplot as plt

# Create sample 2D image data
slice1 = np.random.rand(64, 64).astype(np.float32)
slice2 = np.random.rand(64, 64).astype(np.float32)
slice3 = np.random.rand(64, 64, 3).astype(np.float32)  # RGB image

# Create titles
titles_list = ['Slice 1', 'Slice 2', 'Slice 3']

# Create cmaps
cmaps_list = ['gray', 'viridis', None]

# Create norms
norms_list = [None, None, None]

# Create imshow_args
imshow_args_list = [{}, {'alpha': 0.9}, None]

# Define ARGS dictionary with all parameters
ARGS = {
    'slices_in': [slice1, slice2, slice3],
    'titles': titles_list,
    'suptitle': 'Test Slices',
    'cmaps': cmaps_list,
    'norms': norms_list,
    'do_colorbars': False,
    'grid': False,
    'width': 15,
    'show': False,
    'axes_off': True,
    'save': False,
    'save_path': None,
    'imshow_args': imshow_args_list,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
str_to_none Ran
ran; our contract draft was wrong, not the code
neel-dey/Atlas-GAN/ext/pytools-lib/pytools/iniparse.py
code served (permissive licence) · get_code("251ac4b74f33a8fb")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, 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

ARGS = {
    'val': 'None'
}
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 tuple, ndim 1, 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
str_to_type Ran
ran, honoured the contract we drafted
neel-dey/Atlas-GAN/ext/pytools-lib/pytools/iniparse.py
code served (permissive licence) · get_code("ca172e37da9658e2")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

ARGS = {
    "val": "42",
    "ctype": int
}
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 tuple, ndim 1, dtype family int — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
total_variation3D Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
neel-dey/Atlas-GAN/src/losses.py
code served (permissive licence) · get_code("e929bd581ac50bfa")
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 EagerTensor, 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 tensorflow as tf
import numpy as np

# Create a small 5D tensor: [batch, depth, height, width, channels]
# Using distinct sizes: batch=2, depth=4, height=3, width=5, channels=2
ypred = tf.constant(
    np.random.randn(2, 4, 3, 5, 2).astype(np.float32),
    dtype=tf.float32
)

ARGS = {
    "ypred": ypred
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, 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
get_optimizers Not yet run
unverified (harvested, no recorded run)
neel-dey/Atlas-GAN/src/optimizers.py
code served (permissive licence) · get_code("4a578e56f8dcbdb7")
How it ran

no invocation recorded.

read_csv Not yet run
unverified (harvested, no recorded run)
fjr9516/dbm_with_dl/dev_steps/step2_test_trained_model.py
code served (permissive licence) · get_code("b37e62e976bb6f4c")
How it ran

no invocation recorded.

seg2contour Not yet run
unverified (harvested, no recorded run)
neel-dey/Atlas-GAN/ext/pynd-lib/pynd/segutils.py
code served (permissive licence) · get_code("535dc39623289621")
How it ran

no invocation recorded.

seg_overlap Not yet run
unverified (harvested, no recorded run)
neel-dey/Atlas-GAN/ext/pynd-lib/pynd/segutils.py
code served (permissive licence) · get_code("21023c2f69ffe913")
How it ran

no invocation recorded.

Also present in other papers' code

Of 19 samples lifted from this paper's linked repositories, 19 carry a function identity and 0 do not. Of the 19 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 0 later) and 16 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
boundingbox 1 other paper
1 dated earlier
2004.14557 (2020-04)
Learning Deformable Image Registration from Optimization: Perspective, Modules, Bilevel Training and Beyond
bw2sdtrf 1 other paper
1 dated earlier
2004.14557 (2020-04)
Learning Deformable Image Registration from Optimization: Perspective, Modules, Bilevel Training and Beyond
bwdist 1 other paper
1 dated earlier
2004.14557 (2020-04)
Learning Deformable Image Registration from Optimization: Perspective, Modules, Bilevel Training and Beyond

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

Deformable templates are essential to large-scale medical image registration, segmentation, and population analysis. Current conventional and deep network-based methods for template construction use only regularized registration objectives and often yield templates with blurry and/or anatomically implausible appearance, confounding downstream biomedical interpretation. We reformulate deformable registration and conditional template estimation as an adversarial game wherein we encourage realism in the moved templates with a generative adversarial registration framework conditioned on flexible image covariates. The resulting templates exhibit significant gain in specificity to attributes such as age and disease, better fit underlying group-wise spatiotemporal trends, and achieve improved sharpness and centrality. These improvements enable more accurate population modeling with diverse covariates for standardized downstream analyses and easier anatomical delineation for structures of interest.

For agents

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

get_harvested_code_for_paper("2105.04349")
get_code_for_paper("2105.04349")
have("2105.04349")

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

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

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

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

Connect an agent — have() is free.