SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1910.06827 · 2019

Learning Generalisable Omni-Scale Representations for Person Re-Identification

arXiv · PDF · Open in the Atlas

Code that ran

6 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 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/1910.06827.json · badge: /api/ran/1910.06827.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
mszpc/osnet reimplementation (classifier label)
classifier basis: classifier_2025
3 ran · 0 no recorded run
jacobtyo/mudd reimplementation (classifier label)
classifier basis: classifier_2025
2 ran · 1 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 2 no recorded run
FunctionStatusWhere it lives
file_size Ran
ran, honoured the contract we drafted
jacobtyo/mudd/tools/export.py
pointer only (licence: NONE) · get_code("a912fc7b24219286")
How it ran

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

get_model_name Ran
ran; our contract draft was wrong, not the code
jacobtyo/mudd/tools/export.py
pointer only (licence: NONE) · get_code("c5cdc64a6b2b4eee")
How it ran

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

merge Ran
ran; our contract draft was wrong, not the code
mszpc/osnet/osnet/model_utils/config.py
code served (permissive licence) · get_code("b9e24c3e3e0e88a7")
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 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 argparse

torch.manual_seed(0)

# Create a mock args object with some attributes
args = argparse.Namespace(
    learning_rate=0.001,
    batch_size=32,
    epochs=10,
    model_name="test_model",
    debug=True,
    seed=42
)

# Create a base configuration dictionary
cfg = {
    "default_lr": 0.0001,
    "default_batch": 16,
    "dataset": "cifar10"
}

ARGS = {
    "args": args,
    "cfg": cfg
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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
osnet_x1_0 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 MatthewAbugeja/osnet
pointer only; the stored copy get_code serves, from MatthewAbugeja/osnet, is pointer only (licence: NONE) · get_code("326803f4dfec5af1")
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.

parse_cli_to_yaml Ran
ran; our contract draft was wrong, not the code
mszpc/osnet/osnet/model_utils/config.py
code served (permissive licence) · get_code("ff75f4d130ead571")
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 Namespace. 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
import ast

# Create a minimal parent parser
parent_parser = argparse.ArgumentParser(add_help=False)

# Create a base configuration dictionary with various types
cfg = {
    'learning_rate': 0.001,
    'batch_size': 32,
    'epochs': 100,
    'use_cuda': False,
    'model_name': 'resnet50',
    'dropout_rate': 0.5,
    'layer_sizes': [128, 256, 512],
    'optimizer_names': ['adam', 'sgd'],
}

# Create helper descriptions
helper = {
    'learning_rate': 'Learning rate for optimization',
    'batch_size': 'Batch size for training',
    'epochs': 'Number of training epochs',
    'use_cuda': 'Whether to use CUDA',
    'model_name': 'Name of the model architecture',
    'dropout_rate': 'Dropout rate for regularization',
    'layer_sizes': 'Sizes of hidden layers',
    'optimizer_names': 'Names of optimizers to try',
}

# Create choices for certain parameters
choices = {
    'model_name': ['resnet50', 'vgg16', 'inception'],
    'optimizer_names': ['adam', 'sgd', 'rmsprop'],
}

# Define the path to the default config
cfg_path = 'default_config.yaml'

ARGS = {
    'parser': parent_parser,
    'cfg': cfg,
    'helper': helper,
    'choices': choices,
    'cfg_path': cfg_path,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 Namespace — a Namespace output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Namespace 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
parse_yaml Ran
ran; our contract draft was wrong, not the code
mszpc/osnet/osnet/model_utils/config.py
code served (permissive licence) · get_code("8486896224aa5191")
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 tuple, 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 tempfile
import os
import yaml

# Create a temporary YAML file with valid config structure
temp_dir = tempfile.mkdtemp()
yaml_path = os.path.join(temp_dir, "config.yaml")

# Write a valid YAML file with 3 documents (config, helper, choices)
yaml_content = """
model: resnet50
learning_rate: 0.001
batch_size: 32
---
model: "Type of model to use"
learning_rate: "Learning rate for optimizer"
batch_size: "Batch size for training"
---
model: ["resnet50", "vgg16", "mobilenet"]
learning_rate: [0.0001, 0.001, 0.01]
batch_size: [16, 32, 64]
"""

with open(yaml_path, 'w', encoding='utf-8') as f:
    f.write(yaml_content)

ARGS = {
    "yaml_path": yaml_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
yaml — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, 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
export_onnx Not yet run
unverified (harvested, no recorded run)
jacobtyo/mudd/tools/export.py
pointer only (licence: NONE) · get_code("bae3b33459f2e29c")
How it ran

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

init_pretrained_weights Not yet run
unverified (harvested, no recorded run)
this paper's copy was not recorded; identical code first harvested from MatthewAbugeja/osnet
pointer only; the stored copy get_code serves, from MatthewAbugeja/osnet, is pointer only (licence: NONE) · get_code("bd41824b39412f93")
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. No invocation recorded.

osnet_x0_75 Not yet run
unverified (harvested, no recorded run)
this paper's copy was not recorded; identical code first harvested from MatthewAbugeja/osnet
pointer only; the stored copy get_code serves, from MatthewAbugeja/osnet, is pointer only (licence: NONE) · get_code("33a8877d1eb68984")
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. 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, 7 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 3 the same month, 7 later) and 2 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
merge 28 other papers
16 dated earlier, 12 later
1406.1078 (2014-06)
Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation
1409.3215 (2014-09)
Sequence to Sequence Learning with Neural Networks
1512.00567 (2015-12)
Rethinking the Inception Architecture for Computer Vision
and 25 more not named here
init_pretrained_weights 4 other papers
1 dated earlier, 1 the same month, 2 later
1905.00953 (2019-05)
Omni-Scale Feature Learning for Person Re-Identification
1910.10093 (2019-10)
Torchreid: A Library for Deep Learning Person Re-Identification in Pytorch
2007.13890 (2020-07)
Unsupervised Domain Adaptation in the Dissimilarity Space for Person Re-identification
and 1 more not named here
osnet_x0_75 3 other papers
1 dated earlier, 1 the same month, 1 later
1905.00953 (2019-05)
Omni-Scale Feature Learning for Person Re-Identification
1910.10093 (2019-10)
Torchreid: A Library for Deep Learning Person Re-Identification in Pytorch
2203.07740 (2022-03)
Exact Feature Distribution Matching for Arbitrary Style Transfer and Domain Generalization
osnet_x1_0 3 other papers
1 dated earlier, 1 the same month, 1 later
1905.00953 (2019-05)
Omni-Scale Feature Learning for Person Re-Identification
1910.10093 (2019-10)
Torchreid: A Library for Deep Learning Person Re-Identification in Pytorch
2203.07740 (2022-03)
Exact Feature Distribution Matching for Arbitrary Style Transfer and Domain Generalization
get_model_name 1 other paper
1 later
2202.13514 (2022-02)
StrongSORT: Make DeepSORT Great Again
parse_cli_to_yaml 1 other paper
1 later
2001.04193 (2020-01)
Deep Learning for Person Re-identification: A Survey and Outlook
parse_yaml 1 other paper
1 later
2001.04193 (2020-01)
Deep Learning for Person Re-identification: A Survey and Outlook

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

An effective person re-identification (re-ID) model should learn feature representations that are both discriminative, for distinguishing similar-looking people, and generalisable, for deployment across datasets without any adaptation. In this paper, we develop novel CNN architectures to address both challenges. First, we present a re-ID CNN termed omni-scale network (OSNet) to learn features that not only capture different spatial scales but also encapsulate a synergistic combination of multiple scales, namely omni-scale features. The basic building block consists of multiple convolutional streams, each detecting features at a certain scale. For omni-scale feature learning, a unified aggregation gate is introduced to dynamically fuse multi-scale features with channel-wise weights. OSNet is lightweight as its building blocks comprise factorised convolutions. Second, to improve generalisable feature learning, we introduce instance normalisation (IN) layers into OSNet to cope with cross-dataset discrepancies. Further, to determine the optimal placements of these IN layers in the architecture, we formulate an efficient differentiable architecture search algorithm. Extensive experiments show that, in the conventional same-dataset setting, OSNet achieves state-of-the-art performance, despite being much smaller than existing re-ID models. In the more challenging yet practical cross-dataset setting, OSNet beats most recent unsupervised domain adaptation methods without using any target data. Our code and models are released at \texttt{https://github.com/KaiyangZhou/deep-person-reid}.

For agents

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

get_harvested_code_for_paper("1910.06827")
get_code_for_paper("1910.06827")
have("1910.06827")

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

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

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

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

Connect an agent — have() is free.