SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2308.04008 · ICCV · 2023

Coarse-to-Fine: Learning Compact Discriminative Representation for Single-Stage Image Retrieval

Xing Sun, Ruizhi Qiao, Bo Ke, Yunquan Zhu, Xinkai Gao

arXiv · PDF · Open in the Atlas

Code that ran

18 of 21 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 0 have no contract verdict; 16 failures of our instrument; 3 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.04008.json · badge: /api/ran/2308.04008.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
feymanpriv/DOLG-paddle canonical (classifier label)
classifier basis: census
9 ran · 2 no recorded run
bassyess/CFCD canonical (classifier label)
classifier basis: census
9 ran · 1 no recorded run
FunctionStatusWhere it lives
cache_url Ran
ran; our contract draft was wrong, not the code
bassyess/CFCD/core/io.py
code served (permissive licence) · get_code("f623b3e3625d4e42")
How it ran

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

import os
import tempfile
import re

# Create a temporary directory to use as cache_dir
cache_dir = tempfile.mkdtemp()

# Test case 1: local file path (not a URL)
local_file_path = "/path/to/local/file.txt"

# Test case 2: URL that matches the pycls base URL pattern
# We'll use a valid-looking URL but won't actually try to download
pycls_url = "https://dl.fbaipublicfiles.com/pycls/models/model.pth"

# For testing purposes, we'll use a local file path since downloading is not allowed
url_or_file = local_file_path

ARGS = {
    "url_or_file": url_or_file,
    "cache_dir": cache_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 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
complexity_batchnorm2d Ran
ran; our contract draft was wrong, not the code
bassyess/CFCD/core/net.py
code served (permissive licence) · get_code("4136b6e9df422178")
How it ran

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

import torch
import torch.nn as nn

torch.manual_seed(0)

# The function expects:
# - cx: a dict with keys 'h', 'w', 'flops', 'params', 'acts'
# - w_in: an integer representing input width/channels

# Construct the cx dict with all required keys
cx = {
    'h': 32,           # height dimension
    'w': 64,           # width dimension
    'flops': 1000,     # floating point operations
    'params': 500,     # number of parameters
    'acts': 2048       # number of activations
}

# w_in is the input width/channels for BatchNorm2D
w_in = 16

ARGS = {
    'cx': cx,
    'w_in': w_in
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
complexity_conv2d Ran
ran; our contract draft was wrong, not the code
bassyess/CFCD/core/net.py
code served (permissive licence) · get_code("b299737079f619a1")
How it ran

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

import torch
import numpy as np

torch.manual_seed(0)

# Construct a valid complexity state dictionary
cx = {
    'h': 32,           # height
    'w': 32,           # width
    'flops': 0,        # floating point operations
    'params': 0,       # parameters
    'acts': 0          # activations
}

# Conv2D parameters
w_in = 3             # input channels
w_out = 64           # output channels
k = 3                # kernel size
stride = 1           # stride
padding = 1          # padding
groups = 1           # groups (default)
bias = False         # bias (default)

ARGS = {
    'cx': cx,
    'w_in': w_in,
    'w_out': w_out,
    'k': k,
    'stride': stride,
    'padding': padding,
    'groups': groups,
    'bias': bias
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
complexity_maxpool2d Ran
ran; our contract draft was wrong, not the code
bassyess/CFCD/core/net.py
code served (permissive licence) · get_code("ee4b7c6aef3ebb1f")
How it ran

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

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a valid complexity context dict
cx = {
    'h': 32,
    'w': 32,
    'flops': 1000,
    'params': 100,
    'acts': 500
}

# Define kernel size, stride, and padding for MaxPool2d
k = 2
stride = 2
padding = 0

# Map all parameters to their values
ARGS = {
    'cx': cx,
    'k': k,
    'stride': stride,
    'padding': padding
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
compute_ap Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
feymanpriv/DOLG-paddle/revisitop/compute.py
pointer only (licence: NONE) · get_code("a07ad22c46aa3105")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, feymanpriv/DOLG-paddle 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.

config_imname Ran
ran; our contract draft was wrong, not the code
feymanpriv/DOLG-paddle/revisitop/dataset.py
pointer only (licence: NONE); the stored copy get_code serves, from mahmoodlab/HIPT, is pointer only (licence: NOASSERTION) · get_code("49cf1f4ce52e9613")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, feymanpriv/DOLG-paddle 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.

config_qimname Ran
ran; our contract draft was wrong, not the code
feymanpriv/DOLG-paddle/revisitop/dataset.py
pointer only (licence: NONE); the stored copy get_code serves, from mahmoodlab/HIPT, is pointer only (licence: NOASSERTION) · get_code("91c5ae2396603107")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, feymanpriv/DOLG-paddle 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.

configdataset Ran
ran; our contract draft was wrong, not the code
feymanpriv/DOLG-paddle/revisitop/dataset.py
pointer only (licence: NONE) · get_code("ba576e373d900666")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, feymanpriv/DOLG-paddle 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.

dump_log_data Ran
ran; our contract draft was wrong, not the code
bassyess/CFCD/core/logging.py
code served (permissive licence) · get_code("24756d5881b92c4f")
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 decimal
import simplejson
import torch

torch.manual_seed(0)

# Analyze the function dump_log_data:
# - data: a dictionary that gets modified (adds _TYPE key) and processed
# - data_type: a string describing the type
# - prec: precision parameter (default 6)
# 
# The function:
# 1. Adds a _TYPE key to data dict
# 2. Calls float_to_decimal on data (handles dicts and floats recursively)
# 3. Calls simplejson.dumps with sort_keys=True and use_decimal=True
# 4. Returns a formatted string with _TAG prefix

# Create test data with various types to test float_to_decimal
test_data = {
    'loss': 0.123456789,
    'accuracy': 0.987654321,
    'count': 42,
    'nested': {
        'value1': 3.14159265,
        'value2': 2.71828182,
    },
    'list_data': [1, 2.5, 3],
}

test_data_type = 'training_metrics'

test_prec = 4

ARGS = {
    'data': test_data,
    'data_type': test_data_type,
    'prec': test_prec,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
simplejson, torch — 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
float_to_decimal Ran
ran; our contract draft was wrong, not the code
bassyess/CFCD/core/logging.py
code served (permissive licence) · get_code("d163ebb8549c1402")
How it ran

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

import decimal
import torch
import numpy as np

torch.manual_seed(0)

# Analyze the function:
# - data: can be dict, float, or other types
# - prec: integer precision parameter (default 6)
# The function recursively processes dicts and converts floats to Decimal

# Test data: nested structure with floats
test_data = {
    "loss": 0.123456789,
    "accuracy": 0.987654321,
    "metrics": {
        "precision": 0.856,
        "recall": 0.912
    },
    "count": 42,
    "name": "test"
}

ARGS = {
    "data": test_data,
    "prec": 6
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_logger Ran
ran; our contract draft was wrong, not the code
bassyess/CFCD/core/logging.py
code served (permissive licence) · get_code("8e4e129cb77e7f8b")
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 Logger. 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 logging

ARGS = {
    "name": "test_logger"
}
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 Logger — a Logger output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Logger 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
global_search Ran
ran, honoured the contract we drafted
feymanpriv/DOLG-paddle/revisitop/example_evaluate.py
pointer only (licence: NONE) · get_code("cac699a42dd367b4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, feymanpriv/DOLG-paddle 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.

normalize Ran
ran, violated the contract we drafted
feymanpriv/DOLG-paddle/infer.py
pointer only (licence: NONE) · get_code("ebcc600b4c421051")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, feymanpriv/DOLG-paddle 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.

process Ran
ran; our contract draft was wrong, not the code
feymanpriv/DOLG-paddle/revisitop/example_evaluate.py
pointer only (licence: NONE) · get_code("959d3177b743555a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, feymanpriv/DOLG-paddle 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.

resize Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
feymanpriv/DOLG-paddle/infer.py
pointer only (licence: NONE) · get_code("192cb22df1633f0e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, feymanpriv/DOLG-paddle 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.

time_string Ran
ran; our contract draft was wrong, not the code
bassyess/CFCD/core/meters.py
code served (permissive licence) · get_code("803bcd86e3301891")
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 torch

torch.manual_seed(0)

# Looking at the time_string function:
# - It takes one parameter: seconds
# - It performs divmod operations on an integer version of seconds
# - It formats the result as a string with days, hours, minutes, seconds

ARGS = {
    "seconds": 123456.789
}
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 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
topk_errors Ran
ran; our contract draft was wrong, not the code
bassyess/CFCD/core/meters.py
code served (permissive licence) · get_code("b997b70e1ac2c2f1")
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 1, 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 torch

torch.manual_seed(0)

# preds: predictions tensor with shape (batch_size, num_classes)
# The function calls torch.topk(preds, max(ks), dim=1, ...) so preds needs at least max(ks) classes
# labels: ground truth class indices with shape (batch_size,)
# ks: list of k values for top-k error computation

batch_size = 2
num_classes = 4

preds = torch.randn(batch_size, num_classes)
labels = torch.randint(0, num_classes, (batch_size,))
ks = [1, 2]

ARGS = {
    "preds": preds,
    "labels": labels,
    "ks": ks
}
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 list, ndim 1, 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
zero_pad Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
feymanpriv/DOLG-paddle/infer.py
pointer only (licence: NONE); the stored copy get_code serves, from blackfeather-wang/AdaFocus, is pointer only (licence: NONE) · get_code("8e712c383c677282")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, feymanpriv/DOLG-paddle 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.

compute_map Not yet run
unverified (harvested, no recorded run)
feymanpriv/DOLG-paddle/revisitop/compute.py
pointer only (licence: NONE) · get_code("5ff2df48c3c7db02")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, feymanpriv/DOLG-paddle 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.

download_url Not yet run
unverified (harvested, no recorded run)
bassyess/CFCD/core/io.py
code served (permissive licence) · get_code("e10bd0e3f25f2b57")
How it ran

no invocation recorded.

load_checkpoint Not yet run
unverified (harvested, no recorded run)
feymanpriv/DOLG-paddle/convertor/convert.py
pointer only (licence: NONE) · get_code("72a59e3adb80fc0b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, feymanpriv/DOLG-paddle 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.

Also present in other papers' code

Of 21 samples lifted from this paper's linked repositories, 21 carry a function identity and 0 do not. Of the 21 distinct functions with an identity, 13 are also present in other papers whose code we hold (13 with at least one paper dated earlier, 0 the same month, 6 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
get_logger 8 other papers
4 dated earlier, 4 later
1905.13214 (2019-05)
On Network Design Spaces for Visual Recognition
2108.02927 (2021-08)
DOLG: Single-Stage Image Retrieval with Deep Orthogonal Fusion of Local and Global Features
2301.12132 (2023-01)
AutoPEFT: Automatic Configuration Search for Parameter-Efficient Fine-Tuning
and 5 more not named here
config_imname 4 other papers
3 dated earlier, 1 later
1711.02512 (2017-11)
Fine-tuning CNN Image Retrieval with No Human Annotation
2106.09681 (2021-06)
XCiT: Cross-Covariance Image Transformers
2109.13228 (2021-09)
PASS: An ImageNet replacement for self-supervised pretraining without humans
and 1 more not named here
config_qimname 4 other papers
3 dated earlier, 1 later
1711.02512 (2017-11)
Fine-tuning CNN Image Retrieval with No Human Annotation
2106.09681 (2021-06)
XCiT: Cross-Covariance Image Transformers
2109.13228 (2021-09)
PASS: An ImageNet replacement for self-supervised pretraining without humans
and 1 more not named here
complexity_batchnorm2d 3 other papers
3 dated earlier
1905.13214 (2019-05)
On Network Design Spaces for Visual Recognition
2003.13678 (2020-03)
Designing Network Design Spaces
2108.02927 (2021-08)
DOLG: Single-Stage Image Retrieval with Deep Orthogonal Fusion of Local and Global Features
time_string 3 other papers
3 dated earlier
1905.13214 (2019-05)
On Network Design Spaces for Visual Recognition
2108.02927 (2021-08)
DOLG: Single-Stage Image Retrieval with Deep Orthogonal Fusion of Local and Global Features
2209.12892 (2022-09)
Learning to Learn with Generative Models of Neural Network Checkpoints
zero_pad 3 other papers
2 dated earlier, 1 later
2105.03245 (2021-05)
Adaptive Focus for Efficient Video Recognition
2209.12892 (2022-09)
Learning to Learn with Generative Models of Neural Network Checkpoints
2408.03282 (2024-08)
AMES: Asymmetric and Memory-Efficient Similarity Estimation for Instance-level Retrieval
cache_url 2 other papers
2 dated earlier
1905.13214 (2019-05)
On Network Design Spaces for Visual Recognition
2108.02927 (2021-08)
DOLG: Single-Stage Image Retrieval with Deep Orthogonal Fusion of Local and Global Features
complexity_conv2d 2 other papers
2 dated earlier
1905.13214 (2019-05)
On Network Design Spaces for Visual Recognition
2108.02927 (2021-08)
DOLG: Single-Stage Image Retrieval with Deep Orthogonal Fusion of Local and Global Features
complexity_maxpool2d 2 other papers
2 dated earlier
1905.13214 (2019-05)
On Network Design Spaces for Visual Recognition
2108.02927 (2021-08)
DOLG: Single-Stage Image Retrieval with Deep Orthogonal Fusion of Local and Global Features
compute_ap 2 other papers
1 dated earlier, 1 later
1711.02512 (2017-11)
Fine-tuning CNN Image Retrieval with No Human Annotation
2309.05438 (2023-09)
Towards Content-based Pixel Retrieval in Revisited Oxford and Paris
compute_map 2 other papers
1 dated earlier, 1 later
1711.02512 (2017-11)
Fine-tuning CNN Image Retrieval with No Human Annotation
2309.05438 (2023-09)
Towards Content-based Pixel Retrieval in Revisited Oxford and Paris
download_url 2 other papers
2 dated earlier
1905.13214 (2019-05)
On Network Design Spaces for Visual Recognition
2108.02927 (2021-08)
DOLG: Single-Stage Image Retrieval with Deep Orthogonal Fusion of Local and Global Features
topk_errors 1 other paper
1 dated earlier
1905.13214 (2019-05)
On Network Design Spaces for Visual Recognition

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

Image retrieval targets to find images from a database that are visually similar to the query image. Twostage methods following retrieve-and-rerank paradigm have achieved excellent performance, but their separate local and global modules are inefficient to real-world applications. To better trade-off retrieval efficiency and accuracy, some approaches fuse global and local feature into a joint representation to perform single-stage image retrieval. However, they are still challenging due to various situations to tackle, e.g., background, occlusion and viewpoint. In this work, we design a Coarse-to-Fine framework to learn Compact Discriminative representation (CFCD) for endto-end single-stage image retrieval-requiring only imagelevel labels. Specifically, we first design a novel adaptive softmax-based loss which dynamically tunes its scale and margin within each mini-batch and increases them progressively to strengthen supervision during training and intraclass compactness. Furthermore, we propose a mechanism which attentively selects prominent local descriptors and infuse fine-grained semantic relations into the global representation by a hard negative sampling strategy to optimize inter-class distinctiveness at a global scale. Extensive experimental results have demonstrated the effectiveness of our method, which achieves state-of-the-art singlestage image retrieval performance on benchmarks such as Revisited Oxford and Revisited Paris. Code is available at https://github.com/bassyess/CFCD.

For agents

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

get_harvested_code_for_paper("2308.04008")
get_code_for_paper("2308.04008")
have("2308.04008")

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

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

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

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

Connect an agent — have() is free.