SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1911.11763 · 2019

SuperGlue: Learning Feature Matching with Graph Neural Networks

arXiv · PDF · Open in the Atlas

Code that ran

16 of 22 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, 0 violated it and 10 have no contract verdict; 5 failures of our instrument; 6 no recorded run), measured 2026-11-24; 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/1911.11763.json · badge: /api/ran/1911.11763.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
ucuapps/openglue community (classifier label)
classifier basis not recorded on the link
6 ran · 3 no recorded run
nodarsensor/medium-keypoint-autocal community (classifier label)
classifier basis not recorded on the link
4 ran · 2 no recorded run
xlearning-scu/2023-iccv-common extension (classifier label)
classifier basis: classifier_2025
4 ran · 1 no recorded run
vdvchen/sgmnet extension (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
check_if_features_exist Ran
ran on a synthesized input
ucuapps/openglue/extract_features.py
code served (permissive licence) · get_code("06246573d5b65142")
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 pathlib
import tempfile
import os

# Create a temporary directory to simulate the output path
temp_dir = tempfile.mkdtemp()
output_path_scene = pathlib.Path(temp_dir)

# Create the required .h5 files for a valid scenario
image_base_name = "test_image"
lafs_file = output_path_scene / f'{image_base_name}_lafs.h5'
scores_file = output_path_scene / f'{image_base_name}_scores.h5'
descriptors_file = output_path_scene / f'{image_base_name}_descriptors.h5'
size_file = output_path_scene / f'{image_base_name}_size.h5'

# Create the files
lafs_file.touch()
scores_file.touch()
descriptors_file.touch()
size_file.touch()

ARGS = {
    'output_path_scene': output_path_scene,
    'image_base_name': image_base_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 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
construct_sparse_aff_mat Ran
ran; our contract draft was wrong, not the code
xlearning-scu/2023-iccv-common/src/factorize_graph_matching.py
pointer only (licence: NOASSERTION) · get_code("4fb4d2f6a656f770")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, xlearning-scu/2023-iccv-common (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

feed_match Ran
ran, honoured the contract we drafted
vdvchen/sgmnet/evaluation/evaluate.py
code served (permissive licence) · get_code("a1d64ab06770a931")
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 list, ndim 3, 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 numpy as np
import torch

class MockMatcher:
    def run(self, test_data):
        # Return two correlation arrays
        corr1 = np.array([[0, 1], [2, 3]], dtype=np.float32)
        corr2 = np.array([[4, 5], [6, 7]], dtype=np.float32)
        return corr1, corr2

# Create mock info dict with required keys
info = {
    'x1': np.array([[0.1, 0.2], [0.3, 0.4]], dtype=np.float32),
    'x2': np.array([[0.5, 0.6], [0.7, 0.8]], dtype=np.float32),
    'desc1': np.array([[1, 2, 3, 4], [5, 6, 7, 8]], dtype=np.float32),
    'desc2': np.array([[9, 10, 11, 12], [13, 14, 15, 16]], dtype=np.float32),
    'img1': np.zeros((480, 640, 3), dtype=np.uint8),  # height=480, width=640
    'img2': np.zeros((720, 1280, 3), dtype=np.uint8),  # height=720, width=1280
}

matcher = MockMatcher()

ARGS = {
    'info': info,
    'matcher': matcher,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 3, dtype family float — a list 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
get_ORB_keypoints Ran
ran on a synthesized input
nodarsensor/medium-keypoint-autocal/run_keypoint_autocal.py
code served (permissive licence) · get_code("ba150e661e7879da")
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 3, 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 cv2 as cv
import numpy as np

# Create two small grayscale images with distinct sizes
# These need to have enough features for ORB to detect keypoints
img1 = np.random.randint(0, 256, (100, 120), dtype=np.uint8)
img2 = np.random.randint(0, 256, (100, 120), dtype=np.uint8)

# Add some structure to ensure keypoints are detected
img1[20:30, 20:30] = 255
img1[50:60, 70:80] = 0
img2[20:30, 20:30] = 255
img2[50:60, 70:80] = 0

max_keypoints = 500

ARGS = {
    'img1': img1,
    'img2': img2,
    'max_keypoints': max_keypoints,
}
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 tuple, ndim 3, 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
get_disparity Ran
ran on a synthesized input
nodarsensor/medium-keypoint-autocal/keypoint_utils.py
code served (permissive licence) · get_code("14b3ae26bfe9685b")
How it ran

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

# Create small stereo image pairs for disparity computation
# Left image: grayscale or BGR
left_image = np.random.randint(0, 256, (480, 640, 3), dtype=np.uint8)

# Right image: grayscale or BGR, slightly offset to simulate stereo pair
right_image = np.random.randint(0, 256, (480, 640, 3), dtype=np.uint8)

# Default maxDisparity value
max_disparity = 256

ARGS = {
    "left": left_image,
    "right": right_image,
    "maxDisparity": max_disparity
}
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 2, dtype family float, shape (480, 640) — shape (480, 640) 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_images_list Ran
ran on a synthesized input
ucuapps/openglue/extract_features.py
code served (permissive licence) · get_code("5e8ae53919706ac1")
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 list, ndim 2, 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 pathlib
import tempfile
import os

# Create temporary directory structure for testing
temp_dir = tempfile.mkdtemp()
input_data_path = pathlib.Path(temp_dir)

# Create mock scene directories with the expected structure
scene1 = input_data_path / "scene1" / "dense0" / "imgs"
scene2 = input_data_path / "scene2" / "dense0" / "imgs"

scene1.mkdir(parents=True, exist_ok=True)
scene2.mkdir(parents=True, exist_ok=True)

# Create some dummy image files
(scene1 / "image1.jpg").touch()
(scene1 / "image2.png").touch()
(scene2 / "image3.jpg").touch()

# Define image formats to search for
image_formats = ["jpg", "png"]

ARGS = {
    "input_data_path": input_data_path,
    "image_formats": image_formats,
}
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 list, ndim 2, dtype family float — a list 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
get_output_directory_name Ran
ran on a synthesized input
ucuapps/openglue/extract_features.py
code served (permissive licence) · get_code("7f4c7b4a1f1df8ed")
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 argparse

# Construct feature_extractor_config dict
feature_extractor_config = {
    'name': 'resnet50_features'
}

# Construct argparse.Namespace for args
args = argparse.Namespace(
    target_size=(224, 224)
)

# Map all parameters
ARGS = {
    'feature_extractor_config': feature_extractor_config,
    'args': args
}
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
kronecker_torch Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
xlearning-scu/2023-iccv-common/src/factorize_graph_matching.py
pointer only (licence: NOASSERTION) · get_code("5e21b17e58bd4c27")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, xlearning-scu/2023-iccv-common (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

matched_triplet_criterion Ran
ran on a synthesized input
ucuapps/openglue/utils/losses.py
code served (permissive licence) · get_code("8951184b974ad292")
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 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Create a small distance matrix: shape (batch_size, num_kpts0, num_kpts1)
# batch_size=2, num_kpts0=3, num_kpts1=4
batch_size = 2
num_kpts0 = 3
num_kpts1 = 4

dist = torch.randn(batch_size, num_kpts0, num_kpts1, dtype=torch.float32)

# margin parameter
margin = 0.5

# Create indexes tuple (batch_idx, idx_kpts0, idx_kpts1)
# These represent matched keypoint pairs
batch_idx = torch.tensor([0, 0, 1, 1], dtype=torch.long)
idx_kpts0 = torch.tensor([0, 1, 0, 2], dtype=torch.long)
idx_kpts1 = torch.tensor([1, 2, 0, 3], dtype=torch.long)

indexes = (batch_idx, idx_kpts0, idx_kpts1)

# mean_weights: weights for each matched pair, shape should match number of matches
mean_weights = torch.ones(len(batch_idx), dtype=torch.float32)

ARGS = {
    "dist": dist,
    "margin": margin,
    "indexes": indexes,
    "mean_weights": mean_weights,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 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
matching_precision Ran
ran; our contract draft was wrong, not the code
xlearning-scu/2023-iccv-common/src/evaluation_metric.py
pointer only (licence: NOASSERTION) · get_code("a08c4eaa0b9abea0")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, xlearning-scu/2023-iccv-common (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

matching_recall Ran
ran; our contract draft was wrong, not the code
xlearning-scu/2023-iccv-common/src/evaluation_metric.py
pointer only (licence: NOASSERTION) · get_code("a06dc4b720962ade")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, xlearning-scu/2023-iccv-common (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

preds_to_device Ran
ran on a synthesized input
ucuapps/openglue/inference.py
code served (permissive licence) · get_code("a8f4de29824b51ee")
How it ran

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

import torch

torch.manual_seed(0)

# Construct the preds tuple with three components
# lafs: local affine frames, shape (5, 2, 3) before unsqueeze
# resp: response/confidence scores, shape (6,) before unsqueeze
# desc: descriptors, shape (7, 4) before unsqueeze

lafs = torch.randn(5, 2, 3)
resp = torch.randn(6)
desc = torch.randn(7, 4)

preds = (lafs, resp, desc)
device = 'cpu'

ARGS = {
    'preds': preds,
    'device': device
}
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 — 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
read Ran
ran on a synthesized input
nodarsensor/medium-keypoint-autocal/keypoint_utils.py
code served (permissive licence) · get_code("29dea47dffb92051")
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 yaml
import tempfile
import os

# Create a temporary YAML file with camera intrinsics
yaml_content = """
fx: 500.0
fy: 500.0
cx: 320.0
cy: 240.0
k1: -0.1
k2: 0.05
p1: 0.001
p2: 0.002
k3: -0.01
k4: 0.0
k5: 0.0
k6: 0.0
"""

# Write to temporary file
temp_fd, temp_path = tempfile.mkstemp(suffix='.yaml')
os.write(temp_fd, yaml_content.encode('utf-8'))
os.close(temp_fd)

ARGS = {
    'pathname': temp_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, yaml — 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
rectify Ran
ran on a synthesized input
nodarsensor/medium-keypoint-autocal/keypoint_utils.py
code served (permissive licence) · get_code("1605faf3d7529a14")
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 3, 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 cv2 as cv
import numpy as np

# Create small stereo image pair (grayscale)
left = np.random.randint(0, 256, (480, 640), dtype=np.uint8)
right = np.random.randint(0, 256, (480, 640), dtype=np.uint8)

# Camera intrinsic matrices (3x3)
K1 = np.array([
    [500.0, 0.0, 320.0],
    [0.0, 500.0, 240.0],
    [0.0, 0.0, 1.0]
], dtype=np.float64)

K2 = np.array([
    [500.0, 0.0, 320.0],
    [0.0, 500.0, 240.0],
    [0.0, 0.0, 1.0]
], dtype=np.float64)

# Distortion coefficients (4 or 5 elements)
distCoeffs1 = np.array([0.1, -0.05, 0.0, 0.0], dtype=np.float64)
distCoeffs2 = np.array([0.1, -0.05, 0.0, 0.0], dtype=np.float64)

# Rotation matrix between cameras (3x3)
R = np.eye(3, dtype=np.float64)

# Translation vector between cameras (3x1)
T = np.array([[0.12], [0.0], [0.0]], dtype=np.float64)

ARGS = {
    "left": left,
    "right": right,
    "K1": K1,
    "distCoeffs1": distCoeffs1,
    "K2": K2,
    "distCoeffs2": distCoeffs2,
    "R": R,
    "T": T
}
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 tuple, ndim 3, 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
scale_H Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
this paper's copy was not recorded; identical code first harvested from tzvikif/SuperGlue
pointer only; the stored copy get_code serves, from tzvikif/SuperGlue, is pointer only (licence: NOASSERTION) · get_code("29fcca902e5d12cf")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for 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.

unmatched_margin_criterion Ran
ran on a synthesized input
ucuapps/openglue/utils/losses.py
code served (permissive licence) · get_code("7a7964f270ef78b6")
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 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# dist: tensor indexed as dist[batch_idx, idx_kpts, idx_kpts_closest] or dist[batch_idx, idx_kpts_neg, idx_kpts]
# So dist should have shape (batch_size, num_kpts_1, num_kpts_2)
batch_size = 2
num_kpts_1 = 4
num_kpts_2 = 3

dist = torch.randn(batch_size, num_kpts_1, num_kpts_2)

# margin: scalar or None
margin = 0.5

# indexes: tuple of (batch_idx, idx_kpts)
# batch_idx should index into first dimension of dist
# idx_kpts should index into second dimension of dist
batch_idx = torch.tensor([0, 1])
idx_kpts = torch.tensor([1, 2])
indexes = (batch_idx, idx_kpts)

# mean_weights: used for multiplication with loss and has .device attribute
# Should have same shape as loss, which has shape matching batch_idx/idx_kpts
mean_weights = torch.ones(batch_size)

ARGS = {
    "dist": dist,
    "margin": margin,
    "indexes": indexes,
    "mean_weights": mean_weights,
    "zero_to_one": True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 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
criterion Not yet run
unverified (harvested, no recorded run)
ucuapps/openglue/utils/losses.py
code served (permissive licence) · get_code("94be4c45dc8984f4")
How it ran

no invocation recorded.

get_SIFT_keypoints Not yet run
unverified (harvested, no recorded run)
nodarsensor/medium-keypoint-autocal/run_keypoint_autocal.py
code served (permissive licence) · get_code("384f114063c3f185")
How it ran

no invocation recorded.

get_SuperGlue_keypoints Not yet run
unverified (harvested, no recorded run)
nodarsensor/medium-keypoint-autocal/run_keypoint_autocal.py
code served (permissive licence) · get_code("7fbb2268e4b51bf6")
How it ran

no invocation recorded.

get_laf_to_sideinfo_converter Not yet run
unverified (harvested, no recorded run)
ucuapps/openglue/models/laf_converter.py
code served (permissive licence) · get_code("1a7aa0b908a6c2f5")
How it ran

no invocation recorded.

load_torch_image Not yet run
unverified (harvested, no recorded run)
ucuapps/openglue/inference.py
code served (permissive licence) · get_code("3cdd51bdc821f2d7")
How it ran

no invocation recorded.

pck Not yet run
unverified (harvested, no recorded run)
xlearning-scu/2023-iccv-common/src/evaluation_metric.py
pointer only (licence: NOASSERTION) · get_code("4ff16c7de0975ab1")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, xlearning-scu/2023-iccv-common (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 22 samples lifted from this paper's linked repositories, 22 carry a function identity and 0 do not. Of the 22 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 21 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
scale_H 1 other paper
1 dated earlier
1712.07629 (2017-12)
SuperPoint: Self-Supervised Interest Point Detection and Description

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

Repositories linked to this paper

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

Abstract

This paper introduces SuperGlue, a neural network that matches two sets of local features by jointly finding correspondences and rejecting non-matchable points. Assignments are estimated by solving a differentiable optimal transport problem, whose costs are predicted by a graph neural network. We introduce a flexible context aggregation mechanism based on attention, enabling SuperGlue to reason about the underlying 3D scene and feature assignments jointly. Compared to traditional, hand-designed heuristics, our technique learns priors over geometric transformations and regularities of the 3D world through end-to-end training from image pairs. SuperGlue outperforms other learned approaches and achieves state-of-the-art results on the task of pose estimation in challenging real-world indoor and outdoor environments. The proposed method performs matching in real-time on a modern GPU and can be readily integrated into modern SfM or SLAM systems. The code and trained weights are publicly available at https://github.com/magicleap/SuperGluePretrainedNetwork.

For agents

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

get_harvested_code_for_paper("1911.11763")
get_code_for_paper("1911.11763")
have("1911.11763")

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

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

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

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

Connect an agent — have() is free.