SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2308.08479 · 2023

DeDoDe: Detect, Don't Describe -- Describe, Don't Detect for Local Feature Matching

arXiv · PDF · Open in the Atlas

Code that ran

7 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; 1 failure of our instrument; 2 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/2308.08479.json · badge: /api/ran/2308.08479.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
fabio-sim/DeDoDe-ONNX-TensorRT community (classifier label)
classifier basis not recorded on the link
7 ran · 2 no recorded run
FunctionStatusWhere it lives
draw_matches Ran
ran on a synthesized input
fabio-sim/DeDoDe-ONNX-TensorRT/onnx_runner/viz_utils.py
code served (permissive licence) · get_code("3ead9a8db068631b")
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 (100, 300, 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 small test images
im_A = np.random.randint(0, 256, (100, 150, 3), dtype=np.uint8)
im_B = np.random.randint(0, 256, (100, 150, 3), dtype=np.uint8)

# Create keypoint coordinates
kpts_A = [(10.0, 20.0), (30.0, 40.0), (50.0, 60.0)]
kpts_B = [(12.0, 22.0), (32.0, 42.0), (52.0, 62.0)]

ARGS = {
    "im_A": im_A,
    "kpts_A": kpts_A,
    "im_B": im_B,
    "kpts_B": kpts_B,
}
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 (100, 300, 3) — shape (100, 300, 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
dual_softmax_matcher Ran
ran on a synthesized input
fabio-sim/DeDoDe-ONNX-TensorRT/DeDoDe/matchers/dual_softmax_matcher.py
code served (permissive licence) · get_code("2dc31f31f1126fbf")
How it ran

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

import torch

torch.manual_seed(0)

# Create small descriptor tensors
# Shape: (batch, num_points, channels)
batch_size = 2
num_points_A = 4
num_points_B = 3
channels = 8

desc_A = torch.randn(batch_size, num_points_A, channels)
desc_B = torch.randn(batch_size, num_points_B, channels)

ARGS = {
    'desc_A': desc_A,
    'desc_B': desc_B,
    'normalize': False,
    'inv_temperature': 1,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 4, 3) — shape (2, 4, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_grid Ran
ran on a synthesized input
fabio-sim/DeDoDe-ONNX-TensorRT/DeDoDe/detectors/dedode_detector.py
code served (permissive licence) · get_code("7c61f8133d2acd4f")
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, 12, 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

torch.manual_seed(0)

ARGS = {
    "B": 2,
    "H": 3,
    "W": 4,
    "device": torch.device("cpu")
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 12, 2) — shape (2, 12, 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
load_image Ran
ran on a synthesized input
fabio-sim/DeDoDe-ONNX-TensorRT/DeDoDe/utils.py
code served (permissive licence) · get_code("8e8f5b59e512cdbb")
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 (1, 3, 784, 784) 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
import torchvision.transforms as transforms
from PIL import Image
import io

torch.manual_seed(0)

IMAGENET_PREPROCESS = transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225])

# Create a small test image and save it to a bytes buffer
# We'll create a simple 784x784 RGB image
test_image_array = np.random.randint(0, 256, size=(784, 784, 3), dtype=np.uint8)
test_image = Image.fromarray(test_image_array, mode='RGB')

# Save to bytes buffer
image_buffer = io.BytesIO()
test_image.save(image_buffer, format='PNG')
image_buffer.seek(0)

# Write to a temporary file path representation
# Since we can't do actual file I/O, we'll create a mock that Image.open can handle
# Actually, we need a real file-like approach. Let's use a different strategy:
# Create the image in memory and provide a path-like object

import tempfile
import os

# Create a temporary directory and file
temp_dir = tempfile.gettempdir()
temp_image_path = os.path.join(temp_dir, 'test_image_setup.png')
test_image.save(temp_image_path)

ARGS = {
    'im_path': temp_image_path,
    'H': 784,
    'W': 784,
    'transform': IMAGENET_PREPROCESS
}
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 Tensor, ndim 4, dtype family float, shape (1, 3, 784, 784) — shape (1, 3, 784, 784) 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
sample_keypoints Ran
ran on a synthesized input
fabio-sim/DeDoDe-ONNX-TensorRT/DeDoDe/detectors/dedode_detector.py
code served (permissive licence) · get_code("fb4c146bb1e3a690")
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, 8, 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 torch.nn.functional as F

torch.manual_seed(0)

# Create a small scoremap tensor
# Shape: (B, H, W) where B=2, H=4, W=3
scoremap = torch.rand(2, 4, 3) + 0.1

ARGS = {
    "scoremap": scoremap,
    "num_samples": 8,
    "use_nms": True,
    "sample_topk": False,
    "return_scoremap": False,
    "sharpen": False,
    "upsample": False,
    "increase_coverage": False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 8, 2) — shape (2, 8, 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
to_normalized_coords Ran
ran; our contract draft was wrong, not the code
fabio-sim/DeDoDe-ONNX-TensorRT/DeDoDe/utils.py
code served (permissive licence) · get_code("c10ee0f852bbdf33")
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, 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

torch.manual_seed(0)

# flow is a tensor with shape (..., 2) where the last dimension contains x and y components
flow = torch.randn(2, 4, 2)

# h1 is the height dimension (integer)
h1 = 3

# w1 is the width dimension (integer)
w1 = 5

ARGS = {
    "flow": flow,
    "h1": h1,
    "w1": w1,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 4, 2) — shape (2, 4, 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
to_pixel_coords Ran
ran on a synthesized input
fabio-sim/DeDoDe-ONNX-TensorRT/DeDoDe/utils.py
code served (permissive licence) · get_code("d68210e88633a3ff")
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, 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

torch.manual_seed(0)

# flow is a tensor with shape (..., 2) where the last dimension contains [x, y] flow values
# The function expects values in range [-1, 1] and converts them to pixel coordinates
flow = torch.randn(2, 4, 2) * 0.5  # shape (2, 4, 2) with values roughly in [-1, 1]

# h1 and w1 are height and width dimensions (scalars)
h1 = 480
w1 = 640

ARGS = {
    "flow": flow,
    "h1": h1,
    "w1": w1,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 4, 2) — shape (2, 4, 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
DeDoDeDescriptorB Not yet run
unverified (harvested, no recorded run)
fabio-sim/DeDoDe-ONNX-TensorRT/DeDoDe/model_zoo.py
code served (permissive licence) · get_code("ce6427c3c07de632")
How it ran

no invocation recorded.

DeDoDeDetectorL Not yet run
unverified (harvested, no recorded run)
fabio-sim/DeDoDe-ONNX-TensorRT/DeDoDe/model_zoo.py
code served (permissive licence) · get_code("bb353de918f7a6f3")
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, 1 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 1 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
to_normalized_coords 1 other paper
1 later
2407.11668 (2024-07)
Learning to Make Keypoints Sub-Pixel Accurate

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

Keypoint detection is a pivotal step in 3D reconstruction, whereby sets of (up to) K points are detected in each view of a scene. Crucially, the detected points need to be consistent between views, i.e., correspond to the same 3D point in the scene. One of the main challenges with keypoint detection is the formulation of the learning objective. Previous learning-based methods typically jointly learn descriptors with keypoints, and treat the keypoint detection as a binary classification task on mutual nearest neighbours. However, basing keypoint detection on descriptor nearest neighbours is a proxy task, which is not guaranteed to produce 3D-consistent keypoints. Furthermore, this ties the keypoints to a specific descriptor, complicating downstream usage. In this work, we instead learn keypoints directly from 3D consistency. To this end, we train the detector to detect tracks from large-scale SfM. As these points are often overly sparse, we derive a semi-supervised two-view detection objective to expand this set to a desired number of detections. To train a descriptor, we maximize the mutual nearest neighbour objective over the keypoints with a separate network. Results show that our approach, DeDoDe, achieves significant gains on multiple geometry benchmarks. Code is provided at https://github.com/Parskatt/DeDoDe

For agents

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

get_harvested_code_for_paper("2308.08479")
get_code_for_paper("2308.08479")
have("2308.08479")

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

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

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

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

Connect an agent — have() is free.