SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1811.11168 · 2018

Deformable ConvNets v2: More Deformable, Better Results

arXiv · PDF · Open in the Atlas

Code that ran

10 of 13 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; 1 honoured the contract we drafted, 1 violated it and 7 have no contract verdict; 1 failure of our instrument; 3 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, 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/1811.11168.json · badge: /api/ran/1811.11168.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
4uiiurz1/pytorch-deform-conv-v2 community (classifier label)
classifier basis not recorded on the link
5 ran · 3 no recorded run
developer0hye/Simple-PyTorch-Deformable-Convolution-v2 community (classifier label)
classifier basis not recorded on the link
3 ran · 0 no recorded run
qilei123/fpn_crop community (classifier label)
classifier basis not recorded on the link
1 ran · 0 no recorded run
qilei123/sod_v1_demo community (classifier label)
classifier basis not recorded on the link
1 ran · 0 no recorded run
FunctionStatusWhere it lives
count_params Ran
ran, honoured the contract we drafted
4uiiurz1/pytorch-deform-conv-v2/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from gdisag/gradient_disaggregation, is pointer only (licence: NONE) · get_code("616b5e82dd2a38f9")
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 gdisag/gradient_disaggregation, 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.

apply_transform Ran
ran on a synthesized input
4uiiurz1/pytorch-deform-conv-v2/scaled_mnist/dataset.py
code served (permissive licence) · get_code("d821268221317ba7")
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 (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 numpy as np
import scipy.ndimage as ndi

# Create a small image array with shape (channels, height, width)
# Using distinct dimensions: 3 channels, 4 height, 5 width
x = np.random.rand(3, 4, 5).astype(np.float32)

# Create a 3x3 affine transformation matrix
# This is a 2D affine matrix in homogeneous coordinates
transform_matrix = np.array([
    [1.0, 0.1, 0.5],  # x transformation
    [0.1, 1.0, 0.3],  # y transformation
    [0.0, 0.0, 1.0]   # homogeneous coordinate (not used in the function)
], dtype=np.float32)

# Define arguments dict
ARGS = {
    'x': x,
    'transform_matrix': transform_matrix,
    'channel_axis': 0,
    'fill_mode': 'nearest',
    'cval': 0.0
}
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 (3, 4, 5) — shape (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
get_rcnn_names Ran
ran on a synthesized input
qilei123/fpn_crop/fpn/core/metric.py
pointer only (licence: MIT); the stored copy get_code serves, from msracver/Flow-Guided-Feature-Aggregation, is pointer only (licence: MIT) · get_code("bbf8005ce03c08cf")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, qilei123/fpn_crop, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

random_rotation Ran
ran on a synthesized input
developer0hye/Simple-PyTorch-Deformable-Convolution-v2/offset_visualization.py
code served (permissive licence) · get_code("b9ffe70adbfccc8f")
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 int, shape (4, 6, 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 cv2

# Create a small test image - using distinct dimensions for clarity
# Shape: (height=4, width=6, channels=3) for RGB image
img = np.random.randint(0, 256, size=(4, 6, 3), dtype=np.uint8)

# Define arguments for random_rotation function
ARGS = {
    'img': img,
    'scale_factor': 1.0,
    'borderValue': 0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, 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 int, shape (4, 6, 3) — shape (4, 6, 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
random_zoom Ran
ran on a synthesized input
4uiiurz1/pytorch-deform-conv-v2/scaled_mnist/dataset.py
code served (permissive licence) · get_code("535237e758ff9a2d")
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 as ndi

# Create a small sample image with shape (height, width, channels)
# Using distinct dimensions: 4 height, 3 width, 2 channels
X = np.random.rand(4, 3, 2).astype(np.float32)

# Define the arguments for random_zoom
ARGS = {
    'X': X,
    'zoom_range': [0.8, 1.2],
    'row_axis': 0,
    'col_axis': 1,
    'channel_axis': 2,
    'fill_mode': 'nearest',
    'cval': 0.0
}
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
rotation_transformation Ran
ran on a synthesized input
developer0hye/Simple-PyTorch-Deformable-Convolution-v2/offset_visualization.py
code served (permissive licence) · get_code("68bd809d7357f434")
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 int, shape (4, 3, 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 cv2
import numpy as np

# Create a small test image (4x3 RGB image)
img = np.random.randint(0, 256, (4, 3, 3), dtype=np.uint8)

ARGS = {
    "img": img,
    "angle": 3.0,
    "borderValue": 0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, 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 int, shape (4, 3, 3) — shape (4, 3, 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_transformation Ran
ran on a synthesized input
developer0hye/Simple-PyTorch-Deformable-Convolution-v2/offset_visualization.py
code served (permissive licence) · get_code("c6af90b54035ca62")
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 int, shape (4, 3, 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 cv2

# Create a small test image with distinct dimensions (4x3 for clarity)
# Using uint8 for typical image data
img = np.random.randint(0, 256, size=(4, 3, 3), dtype=np.uint8)

ARGS = {
    "img": img,
    "scale_factor": 1.5,
    "borderValue": 0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, 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 int, shape (4, 3, 3) — shape (4, 3, 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
search_paths Ran
ran on a synthesized input
qilei123/sod_v1_demo/experiments/faster_rcnn/rcnn_demo.py
pointer only (licence: MIT) · get_code("d73fa5b90dd46680")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, qilei123/sod_v1_demo, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

str2bool Ran
ran, violated the contract we drafted
4uiiurz1/pytorch-deform-conv-v2/utils.py
code served (permissive licence) · get_code("2e468cbd0d4a4241")
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 argparse

def str2bool(v):
    if v.lower() in ['true', 1]:
        return True
    elif v.lower() in ['false', 0]:
        return False
    else:
        raise argparse.ArgumentTypeError('Boolean value expected.')

ARGS = {
    'v': 'true'
}
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
transform_matrix_offset_center Ran
ran; our contract draft was wrong, not the code
4uiiurz1/pytorch-deform-conv-v2/scaled_mnist/dataset.py
code served (permissive licence) · get_code("3c85a6426b383b41")
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 ndarray, ndim 2, dtype family float, shape (3, 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

# Construct a 3x3 transformation matrix (e.g., a rotation or affine transformation)
matrix = np.array([
    [0.9, -0.1, 0.0],
    [0.1, 0.9, 0.0],
    [0.0, 0.0, 1.0]
], dtype=np.float32)

# Image dimensions
x = 64
y = 48

ARGS = {
    "matrix": matrix,
    "x": x,
    "y": y
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 (3, 3) — shape (3, 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
accuracy Not yet run
unverified (harvested, no recorded run)
4uiiurz1/pytorch-deform-conv-v2/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from boone891214/MEST, is pointer only (licence: NONE) · get_code("913d82af53065418")
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 boone891214/MEST, 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. No invocation recorded.

train Not yet run
unverified (harvested, no recorded run)
4uiiurz1/pytorch-deform-conv-v2/scaled_mnist_train.py
code served (permissive licence) · get_code("1c4389015d8afe22")
How it ran

no invocation recorded.

validate Not yet run
unverified (harvested, no recorded run)
4uiiurz1/pytorch-deform-conv-v2/scaled_mnist_train.py
code served (permissive licence) · get_code("d82090d852599504")
How it ran

no invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 5 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 1 the same month, 4 later) and 8 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
accuracy 80 other papers
9 dated earlier, 2 the same month, 69 later
1307.0414 (2013-07)
Challenges in Representation Learning: A report on three machine learning contests
1412.6553 (2014-12)
Speeding-up Convolutional Neural Networks Using Fine-tuned CP-Decomposition
1503.02531 (2015-03)
Distilling the Knowledge in a Neural Network
and 77 more not named here
count_params 13 other papers
1 dated earlier, 12 later
1807.10165 (2018-07)
UNet++: A Nested U-Net Architecture for Medical Image Segmentation
1907.03950 (2019-07)
Learning by Abstraction: The Neural State Machine
2004.03657 (2020-04)
FedMAX: Mitigating Activation Divergence for Accurate and Communication-Efficient Federated Learning
and 10 more not named here
str2bool 5 other papers
1 dated earlier, 4 later
1807.10165 (2018-07)
UNet++: A Nested U-Net Architecture for Medical Image Segmentation
2004.03657 (2020-04)
FedMAX: Mitigating Activation Divergence for Accurate and Communication-Efficient Federated Learning
2106.00487 (2021-06)
Dense Nested Attention Network for Infrared Small Target Detection
and 2 more not named here
get_rcnn_names 4 other papers
4 dated earlier
1611.07715 (2016-11)
Deep Feature Flow for Video Recognition
1703.06211 (2017-03)
Deformable Convolutional Networks
1703.10025 (2017-03)
Flow-Guided Feature Aggregation for Video Object Detection
and 1 more not named here
transform_matrix_offset_center 3 other papers
3 later
1904.09546 (2019-04)
DeepCaps: Going Deeper with Capsule Networks
2204.00008 (2022-04)
Improving Adversarial Transferability via Neuron Attribution-based Attacks
2608.11815 (2026-08)
Learning with Bilevel-Minimax Optimization for Efficient and Reliable Transfer Attacks

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

The superior performance of Deformable Convolutional Networks arises from its ability to adapt to the geometric variations of objects. Through an examination of its adaptive behavior, we observe that while the spatial support for its neural features conforms more closely than regular ConvNets to object structure, this support may nevertheless extend well beyond the region of interest, causing features to be influenced by irrelevant image content. To address this problem, we present a reformulation of Deformable ConvNets that improves its ability to focus on pertinent image regions, through increased modeling power and stronger training. The modeling power is enhanced through a more comprehensive integration of deformable convolution within the network, and by introducing a modulation mechanism that expands the scope of deformation modeling. To effectively harness this enriched modeling capability, we guide network training via a proposed feature mimicking scheme that helps the network to learn features that reflect the object focus and classification power of R-CNN features. With the proposed contributions, this new version of Deformable ConvNets yields significant performance gains over the original model and produces leading results on the COCO benchmark for object detection and instance segmentation.

For agents

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

get_harvested_code_for_paper("1811.11168")
get_code_for_paper("1811.11168")
have("1811.11168")

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

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

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

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

Connect an agent — have() is free.