SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2002.12186 · 2020

University-1652: A Multi-view Multi-source Benchmark for Drone-based Geo-localization

arXiv · PDF · Open in the Atlas

Code that ran

8 of 15 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, 1 violated it and 4 have no contract verdict; 3 failures of our instrument; 7 no recorded run), measured 2026-11-21; 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/2002.12186.json · badge: /api/ran/2002.12186.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
wtyhub/LPN community (classifier label)
classifier basis: plan_row
5 ran · 3 no recorded run
layumi/AICIty-reID-2020 community (classifier label)
classifier basis not recorded on the link
3 ran · 4 no recorded run
FunctionStatusWhere it lives
L2Normalization Ran
ran on a synthesized input
layumi/AICIty-reID-2020/pytorch/losses.py
code served (permissive licence) · get_code("53aa000deefe4aa4")
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 2, dtype family float, shape (2, 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 torch

torch.manual_seed(0)

# Create a small feature tensor with shape (batch_size=2, features=4)
ff = torch.randn(2, 4)

# Define the arguments dictionary
ARGS = {
    "ff": ff,
    "dim": 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 2, dtype family float, shape (2, 4) — shape (2, 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
find_classes Ran
ran; our contract draft was wrong, not the code
wtyhub/LPN/image_folder.py
code served (permissive licence) · get_code("36a1160d7f36cda6")
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 os
import tempfile
import shutil

# Create a temporary directory with subdirectories to act as classes
temp_dir = tempfile.mkdtemp()

# Create some class directories
class_names = ['cat', 'dog', 'bird']
for class_name in class_names:
    os.makedirs(os.path.join(temp_dir, class_name), exist_ok=True)

# Define arguments for find_classes
ARGS = {
    'dir': temp_dir
}
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 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
fliplr Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
layumi/AICIty-reID-2020/pytorch/submit_result_multimodel.py
pointer only (licence: MIT); the stored copy get_code serves, from BJTUJia/person_reID_DualNorm, is pointer only (licence: NONE) · get_code("e324277ab874fc3a")
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 BJTUJia/person_reID_DualNorm, 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.

has_file_allowed_extension Ran
ran, violated the contract we drafted
wtyhub/LPN/image_folder.py
code served (permissive licence) · get_code("e800290c5ea55efd")
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.

# Setup code for has_file_allowed_extension

# The function checks if a filename ends with any of the allowed extensions
# filename: a string representing a file path
# extensions: an iterable of extension strings (like ['.jpg', '.png'])

filename = "image.jpg"
extensions = ['.jpg', '.png', '.gif', '.bmp', '.jpeg']

ARGS = {
    'filename': filename,
    'extensions': extensions
}
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
make_dataset Ran
ran; our contract draft was wrong, not the code
wtyhub/LPN/image_folder.py
code served (permissive licence) · get_code("53ab69263a033c7a")
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 os
import tempfile
import shutil

# Create a temporary directory structure for testing
temp_dir = tempfile.mkdtemp()

# Create subdirectories for each class
class_names = ['cat', 'dog']
for class_name in class_names:
    class_dir = os.path.join(temp_dir, class_name)
    os.makedirs(class_dir, exist_ok=True)
    
    # Create some dummy image files
    for i in range(2):
        dummy_file = os.path.join(class_dir, f'image_{i}.jpg')
        with open(dummy_file, 'w') as f:
            f.write('dummy')
        
        dummy_file_png = os.path.join(class_dir, f'image_{i}.png')
        with open(dummy_file_png, 'w') as f:
            f.write('dummy')

# Create class_to_idx mapping
class_to_idx = {'cat': 0, 'dog': 1}

# Define allowed extensions
extensions = ('.jpg', '.jpeg', '.png', '.ppm', '.bmp', '.pgm', '.tif', '.tiff', '.webp')

ARGS = {
    'dir': temp_dir,
    'class_to_idx': class_to_idx,
    'extensions': extensions
}
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
myphi Ran
ran on a synthesized input
layumi/AICIty-reID-2020/pytorch/losses.py
code served (permissive licence) · get_code("4edba53421463c1a")
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 2, dtype family float, shape (2, 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 torch
import math

torch.manual_seed(0)

ARGS = {
    "x": torch.tensor([[0.1, 0.2, 0.3, 0.4], [0.5, 0.6, 0.7, 0.8]]),
    "m": 2
}
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 2, dtype family float, shape (2, 4) — shape (2, 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
sample_bilinear Ran
ran on a synthesized input
wtyhub/LPN/prepare_cvusa_pt.py
code served (permissive licence) · get_code("1d92839d1dfa6815")
How it ran

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

import numpy as np

# Create a small signal array with shape (height, width, channels)
# Using distinct dimensions: 5x4x3 for (spatial_x, spatial_y, channels)
signal = np.random.randn(5, 4, 3).astype(np.float32)

# Create coordinate arrays with shape (batch, height)
# Using batch=2, height=3 for distinct dimensions
rx = np.array([[1.2, 2.5, 3.1],
               [0.8, 1.9, 2.3]], dtype=np.float32)

ry = np.array([[0.5, 1.3, 2.8],
               [1.5, 2.1, 0.9]], dtype=np.float32)

ARGS = {
    'signal': signal,
    'rx': rx,
    'ry': ry
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family float, shape (2, 3, 3) — shape (2, 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
sample_within_bounds Ran
ran on a synthesized input
wtyhub/LPN/prepare_cvusa_pt.py
code served (permissive licence) · get_code("2875b342df8aa969")
How it ran

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

# Construct arguments for sample_within_bounds
signal = np.random.randn(10, 8, 4)  # (height, width, channels)
x = np.array([[1, 2, 3, 5],
              [4, 6, 7, 9]])  # (2, 4) shape
y = np.array([[1, 2, 3, 4],
              [2, 3, 4, 5]])  # (2, 4) shape
bounds = (1, 8, 1, 6)  # (xmin, xmax, ymin, ymax)

ARGS = {
    "signal": signal,
    "x": x,
    "y": y,
    "bounds": bounds
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family float, shape (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
calculate_result Not yet run
unverified (harvested, no recorded run)
layumi/AICIty-reID-2020/pytorch/evaluate_gpu.py
code served (permissive licence) · get_code("c1ca7e6cdc195426")
How it ran

no invocation recorded.

compute_mAP Not yet run
unverified (harvested, no recorded run)
wtyhub/LPN/evaluate_gpu.py
code served (permissive licence) · get_code("3f91b09177ddeb33")
How it ran

no invocation recorded.

compute_mAP Not yet run
unverified (harvested, no recorded run)
layumi/AICIty-reID-2020/pytorch/evaluate_gpu.py
code served (permissive licence) · get_code("7e50a19f3f7973ae")
How it ran

no invocation recorded.

evaluate Not yet run
unverified (harvested, no recorded run)
wtyhub/LPN/evaluate_gpu.py
code served (permissive licence) · get_code("89cbd25ccde3f43c")
How it ran

no invocation recorded.

evaluate Not yet run
unverified (harvested, no recorded run)
layumi/AICIty-reID-2020/pytorch/evaluate_gpu.py
code served (permissive licence) · get_code("0d6e985c6341bc25")
How it ran

no invocation recorded.

evaluate Not yet run
unverified (harvested, no recorded run)
layumi/AICIty-reID-2020/pytorch/evaluate_rerank.py
code served (permissive licence) · get_code("ae6281b1a572dfc8")
How it ran

no invocation recorded.

polar Not yet run
unverified (harvested, no recorded run)
wtyhub/LPN/polar_transform.py
code served (permissive licence) · get_code("002a30193332936f")
How it ran

no invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 9 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 0 the same month, 6 later) and 5 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
find_classes 30 other papers
8 dated earlier, 22 later
1406.2661 (2014-06)
Generative Adversarial Networks
1612.06321 (2016-12)
Large-Scale Image Retrieval with Attentive Deep Local Features
1809.04729 (2018-09)
A Less Biased Evaluation of Out-of-distribution Sample Detectors
and 27 more not named here
has_file_allowed_extension 17 other papers
4 dated earlier, 13 later
1612.06321 (2016-12)
Large-Scale Image Retrieval with Attentive Deep Local Features
1902.02476 (2019-02)
A Simple Baseline for Bayesian Uncertainty in Deep Learning
1904.04717 (2019-04)
Label Propagation for Deep Semi-supervised Learning
and 14 more not named here
compute_mAP 7 other papers
4 dated earlier, 3 later
1711.10295 (2017-11)
Camera Style Adaptation for Person Re-identification
1812.03282 (2018-12)
Spatial-Temporal Person Re-identification
1904.07223 (2019-04)
Joint Discriminative and Generative Learning for Person Re-identification
and 4 more not named here
fliplr 4 other papers
2 dated earlier, 2 later
1904.07223 (2019-04)
Joint Discriminative and Generative Learning for Person Re-identification
1905.03422 (2019-05)
Frustratingly Easy Person Re-Identification: Generalizing Person Re-ID in Practice
2205.12144 (2022-05)
Optimizing Performance of Federated Person Re-identification: Benchmarking and Analysis
and 1 more not named here
myphi 2 other papers
1 dated earlier, 1 later
1411.7923 (2014-11)
Learning Face Representation from Scratch
2003.06814 (2020-03)
Towards Face Encryption by Generating Adversarial Identity Masks
L2Normalization 1 other paper
1 dated earlier
1609.01775 (2016-09)
Performance Measures and a Data Set for Multi-Target, Multi-Camera Tracking
evaluate 1 other paper
1 dated earlier
1904.07223 (2019-04)
Joint Discriminative and Generative Learning for Person Re-identification
evaluate 1 other paper
1 later
2204.08381 (2022-04)
Multiple-environment Self-adaptive Network for Aerial-view Geo-localization
make_dataset 1 other paper
1 dated earlier
1612.06321 (2016-12)
Large-Scale Image Retrieval with Attentive Deep Local Features

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

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 consider the problem of cross-view geo-localization. The primary challenge of this task is to learn the robust feature against large viewpoint changes. Existing benchmarks can help, but are limited in the number of viewpoints. Image pairs, containing two viewpoints, e.g., satellite and ground, are usually provided, which may compromise the feature learning. Besides phone cameras and satellites, in this paper, we argue that drones could serve as the third platform to deal with the geo-localization problem. In contrast to the traditional ground-view images, drone-view images meet fewer obstacles, e.g., trees, and could provide a comprehensive view when flying around the target place. To verify the effectiveness of the drone platform, we introduce a new multi-view multi-source benchmark for drone-based geo-localization, named University-1652. University-1652 contains data from three platforms, i.e., synthetic drones, satellites and ground cameras of 1,652 university buildings around the world. To our knowledge, University-1652 is the first drone-based geo-localization dataset and enables two new tasks, i.e., drone-view target localization and drone navigation. As the name implies, drone-view target localization intends to predict the location of the target place via drone-view images. On the other hand, given a satellite-view query image, drone navigation is to drive the drone to the area of interest in the query. We use this dataset to analyze a variety of off-the-shelf CNN features and propose a strong CNN baseline on this challenging dataset. The experiments show that University-1652 helps the model to learn the viewpoint-invariant features and also has good generalization ability in the real-world scenario.

For agents

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

get_harvested_code_for_paper("2002.12186")
get_code_for_paper("2002.12186")
have("2002.12186")

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

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

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

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

Connect an agent — have() is free.