SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1909.11966 · 2019

Dual-Stream Pyramid Registration Network

arXiv · PDF · Open in the Atlas

Code that ran

6 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 0 failures of our instrument; 3 no recorded run), measured 2026-11-22; 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/1909.11966.json · badge: /api/ran/1909.11966.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
olddriverjinx/reimplemention-of-dual-prnet community (classifier label)
classifier basis not recorded on the link
6 ran · 3 no recorded run
FunctionStatusWhere it lives
find_checkpoint_step Ran
ran on a synthesized input
olddriverjinx/reimplemention-of-dual-prnet/predict.py
code served (permissive licence) · get_code("c2500011559f51a1")
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 os
import tempfile
import shutil

# Create a temporary directory with mock checkpoint files
temp_dir = tempfile.mkdtemp()

# Create some mock checkpoint files matching the pattern 'model-(\\d+).index'
checkpoint_files = [
    'model-1000.index',
    'model-5000.index',
    'model-10000.index',
]

for filename in checkpoint_files:
    filepath = os.path.join(temp_dir, filename)
    # Create both the .index file and the base file (without extension)
    # The function strips .index and returns the base path
    with open(filepath, 'w') as f:
        f.write('')
    # Also create the base file without .index extension
    base_filepath = filepath.replace('.index', '')
    with open(base_filepath, 'w') as f:
        f.write('')

ARGS = {
    'checkpoint_path': temp_dir,
    'target_steps': None,
}
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
get_coef Ran
ran on a synthesized input
olddriverjinx/reimplemention-of-dual-prnet/network/transform.py
code served (permissive licence) · get_code("d0de6300264407c3")
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 3, dtype family float, shape (2, 4, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tensorflow as tf

def get_coef(u):
    return tf.stack([(1 - u) ** 3 / 6, (3 * u ** 3 - 6 * u ** 2 + 4) / 6, (-3 * u ** 3 + 3 * u ** 2 + 3 * u + 1) / 6, u ** 3 / 6], axis=1)

# Create a small TensorFlow tensor as input
u = tf.constant([[0.0, 0.25, 0.5, 0.75],
                  [0.1, 0.3, 0.6, 0.9]], dtype=tf.float32)

ARGS = {
    "u": u
}
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 3, dtype family float, shape (2, 4, 4) — shape (2, 4, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
masked_mean Ran
ran on a synthesized input
olddriverjinx/reimplemention-of-dual-prnet/network/framework.py
code served (permissive licence) · get_code("d3971ed2df2141bf")
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 small tensors for the masked_mean function
arr = tf.constant([[1.0, 2.0, 3.0, 4.0],
                   [5.0, 6.0, 7.0, 8.0]], dtype=tf.float32)

mask = tf.constant([[1.0, 1.0, 0.0, 1.0],
                    [1.0, 0.0, 1.0, 1.0]], dtype=tf.float32)

ARGS = {
    "arr": arr,
    "mask": mask
}
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
pad_3d Ran
ran on a synthesized input
olddriverjinx/reimplemention-of-dual-prnet/network/transform.py
code served (permissive licence) · get_code("d7569a1677102532")
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, 5, 6, 7, 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 5D tensor for padding
# Shape: [batch=2, depth=3, height=4, width=5, channels=1]
mat = tf.constant(np.random.randn(2, 3, 4, 5, 1), dtype=tf.float32)

# Padding amount
pad = 1

ARGS = {
    "mat": mat,
    "pad": pad,
}
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, 5, 6, 7, 1) — shape (2, 5, 6, 7, 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
set_tf_keys Ran
ran on a synthesized input
olddriverjinx/reimplemention-of-dual-prnet/network/framework.py
code served (permissive licence) · get_code("2cc4d063c1d1d0aa")
How it ran

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

import torch

torch.manual_seed(0)

# The function set_tf_keys takes:
# 1. feed_dict - a dictionary to process
# 2. **kwargs - additional keyword arguments to process
# Both are converted to have ':0' appended to keys and merged

feed_dict = {
    'input_tensor': torch.randn(2, 4),
    'output_tensor': torch.randn(2, 3),
}

kwargs_dict = {
    'weights': torch.randn(4, 3),
    'bias': torch.randn(3),
}

ARGS = {
    'feed_dict': feed_dict,
}
ARGS.update(kwargs_dict)
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
short_name Ran
ran on a synthesized input
olddriverjinx/reimplemention-of-dual-prnet/predict.py
code served (permissive licence) · get_code("c9b7147d0add849a")
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 os

# The function short_name takes a checkpoint path, splits it to extract
# the experiment name and steps, then returns them concatenated with a dash.
# It uses os.path.split() twice to parse the path structure.

# A checkpoint path should be structured like:
# /some/path/experiment_name/steps
# where os.path.split(checkpoint) gives (cpath, steps)
# and os.path.split(cpath) gives (_, exp)

checkpoint = "/experiments/my_experiment/checkpoint_100"

ARGS = {
    "checkpoint": checkpoint
}
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
get_range Not yet run
unverified (harvested, no recorded run)
olddriverjinx/reimplemention-of-dual-prnet/data_util/liver.py
code served (permissive licence) · get_code("3a4da2a87b9cc362")
How it ran

no invocation recorded.

leakyReLU Not yet run
unverified (harvested, no recorded run)
olddriverjinx/reimplemention-of-dual-prnet/network/base_networks.py
code served (permissive licence) · get_code("7bfa42c0b7f9e8c4")
How it ran

no invocation recorded.

sample_power Not yet run
unverified (harvested, no recorded run)
olddriverjinx/reimplemention-of-dual-prnet/network/transform.py
code served (permissive licence) · get_code("d560d49c07951d0a")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 8 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 0 the same month, 6 later) and 1 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
get_coef 2 other papers
1 dated earlier, 1 later
1907.12353 (2019-07)
Recursive Cascaded Networks for Unsupervised Medical Image Registration
aaai_25276 (2023 (year only))
Robust One-Shot Segmentation of Brain Tissues via Image-Aligned Style Transformation
masked_mean 2 other papers
1 dated earlier, 1 later
1907.12353 (2019-07)
Recursive Cascaded Networks for Unsupervised Medical Image Registration
aaai_25276 (2023 (year only))
Robust One-Shot Segmentation of Brain Tissues via Image-Aligned Style Transformation
pad_3d 2 other papers
1 dated earlier, 1 later
1907.12353 (2019-07)
Recursive Cascaded Networks for Unsupervised Medical Image Registration
aaai_25276 (2023 (year only))
Robust One-Shot Segmentation of Brain Tissues via Image-Aligned Style Transformation
sample_power 2 other papers
1 dated earlier, 1 later
1907.12353 (2019-07)
Recursive Cascaded Networks for Unsupervised Medical Image Registration
aaai_25276 (2023 (year only))
Robust One-Shot Segmentation of Brain Tissues via Image-Aligned Style Transformation
set_tf_keys 2 other papers
1 dated earlier, 1 later
1907.12353 (2019-07)
Recursive Cascaded Networks for Unsupervised Medical Image Registration
aaai_25276 (2023 (year only))
Robust One-Shot Segmentation of Brain Tissues via Image-Aligned Style Transformation
find_checkpoint_step 1 other paper
1 dated earlier
1907.12353 (2019-07)
Recursive Cascaded Networks for Unsupervised Medical Image Registration
get_range 1 other paper
1 dated earlier
1907.12353 (2019-07)
Recursive Cascaded Networks for Unsupervised Medical Image Registration
leakyReLU 1 other paper
1 later
aaai_25276 (2023 (year only))
Robust One-Shot Segmentation of Brain Tissues via Image-Aligned Style Transformation

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-22.

Repositories linked to this paper

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

Abstract

We propose a Dual-Stream Pyramid Registration Network (referred as Dual-PRNet) for unsupervised 3D medical image registration. Unlike recent CNN-based registration approaches, such as VoxelMorph, which explores a single-stream encoder-decoder network to compute a registration fields from a pair of 3D volumes, we design a two-stream architecture able to compute multi-scale registration fields from convolutional feature pyramids. Our contributions are two-fold: (i) we design a two-stream 3D encoder-decoder network which computes two convolutional feature pyramids separately for a pair of input volumes, resulting in strong deep representations that are meaningful for deformation estimation; (ii) we propose a pyramid registration module able to predict multi-scale registration fields directly from the decoding feature pyramids. This allows it to refine the registration fields gradually in a coarse-to-fine manner via sequential warping, and enable the model with the capability for handling significant deformations between two volumes, such as large displacements in spatial domain or slice space. The proposed Dual-PRNet is evaluated on two standard benchmarks for brain MRI registration, where it outperforms the state-of-the-art approaches by a large margin, e.g., having improvements over recent VoxelMorph [2] with 0.683->0.778 on the LPBA40, and 0.511->0.631 on the Mindboggle101, in term of average Dice score. Code is available at: https://github.com/kangmiao15/Dual-Stream-PRNet-Plus.

For agents

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

get_harvested_code_for_paper("1909.11966")
get_code_for_paper("1909.11966")
have("1909.11966")

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

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

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

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

Connect an agent — have() is free.