SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1904.07223 · 2019

Joint Discriminative and Generative Learning for Person Re-identification

arXiv · PDF · Open in the Atlas

Code that ran

12 of 19 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 8 have no contract verdict; 3 failures of our instrument; 7 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/1904.07223.json · badge: /api/ran/1904.07223.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
ivychill/reid community (classifier label)
classifier basis not recorded on the link
10 ran · 1 no recorded run
Proxim123/person-reID-No1- community (classifier label)
classifier basis: plan_row
2 ran · 2 no recorded run
taroogura/Person_reID_baseline_pytorch community (classifier label)
classifier basis not recorded on the link
0 ran · 2 no recorded run
jiangsikai/Person_reID_baseline_pytorch reimplementation (classifier label)
classifier basis: classifier_2025
0 ran · 1 no recorded run
lsh110600/person_re_id reimplementation (classifier label)
classifier basis: classifier_2025
0 ran · 1 no recorded run
FunctionStatusWhere it lives
euclidean_dist Ran
ran; our contract draft was wrong, not the code
ivychill/reid/loss.py
pointer only (licence: MIT); the stored copy get_code serves, from needylove/regression_tightness, is pointer only (licence: NONE) · get_code("c83d9f7fca950b77")
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 needylove/regression_tightness, 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.

eval_func Ran
ran on a synthesized input
ivychill/reid/reid_metric.py
code served (permissive licence) · get_code("979f7c2f5bb4a9ec")
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

# Set random seed for reproducibility
np.random.seed(0)

# Create small sample data for a person re-identification evaluation scenario
# distmat: distance matrix of shape (num_queries, num_gallery)
num_queries = 2
num_gallery = 5

# Random distance matrix (lower is better match)
distmat = np.random.rand(num_queries, num_gallery).astype(np.float32)

# Query person IDs: which person each query image represents
q_pids = np.array([0, 1], dtype=np.int32)

# Gallery person IDs: which person each gallery image represents
# Include some matches and non-matches for each query
g_pids = np.array([0, 0, 1, 2, 1], dtype=np.int32)

# Query camera IDs: which camera each query was taken with
q_camids = np.array([0, 1], dtype=np.int32)

# Gallery camera IDs: which camera each gallery image was taken with
g_camids = np.array([1, 0, 0, 1, 1], dtype=np.int32)

# max_rank parameter
max_rank = 200

ARGS = {
    "distmat": distmat,
    "q_pids": q_pids,
    "g_pids": g_pids,
    "q_camids": q_camids,
    "g_camids": g_camids,
    "max_rank": max_rank,
}
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 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)
ivychill/reid/evaluate_online.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.

getDataFromTxt Ran
ran on a synthesized input
ivychill/reid/data_split.py
code served (permissive licence) · get_code("c5ee3b062fa991cd")
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 tempfile
import os

# Create a temporary text file with sample data
temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt')
temp_file_path = temp_file.name

# Write sample data: image_name and person_id pairs
sample_data = [
    "image_001.jpg 1\n",
    "image_002.jpg 1\n",
    "image_003.jpg 1\n",
    "image_004.jpg 2\n",
    "image_005.jpg 2\n",
    "image_006.jpg 3\n",
    "image_007.jpg 4\n",
    "image_008.jpg 4\n",
    "image_009.jpg 4\n",
    "image_010.jpg 4\n",
]

temp_file.writelines(sample_data)
temp_file.close()

ARGS = {
    'train_all_txt': temp_file_path
}
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 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_id Ran
ran on a synthesized input
ivychill/reid/evaluate_online.py
code served (permissive licence) · get_code("1647e452ac25bf3c")
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 2, 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 os
import tempfile

# Create temporary image file paths that the function expects
# The function expects paths where:
# - filename[0:4] is the label (or starts with '-1')
# - filename contains 'c' followed by a digit for camera_id

temp_dir = tempfile.mkdtemp()

# Create mock file paths with expected naming convention
# Format: {label}c{camera_id}_{rest}
path1 = os.path.join(temp_dir, "0001c1_frame.jpg")
path2 = os.path.join(temp_dir, "-1-1c2_frame.jpg")

# Create the actual files so os.path.basename works
open(path1, 'w').close()
open(path2, 'w').close()

# The function expects img_path to be an iterable of (path, v) tuples
img_path = [
    (path1, 0),
    (path2, 1),
]

ARGS = {
    'img_path': img_path,
}
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, ndim 2, 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
hard_example_mining Ran
ran on a synthesized input
ivychill/reid/loss.py
code served (permissive licence) · get_code("93f2c0b80ea7f36e")
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 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 torch

torch.manual_seed(0)

# Create a distance matrix of shape [N, N]
# N = 4 samples
N = 4
dist_mat = torch.randn(N, N)
dist_mat = torch.abs(dist_mat)  # Make distances positive

# Create labels - we need samples grouped by class
# For hard example mining to work properly, we need multiple samples per class
# Let's have 2 classes with 2 samples each
labels = torch.LongTensor([0, 0, 1, 1])

ARGS = {
    "dist_mat": dist_mat,
    "labels": labels,
    "return_inds": 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 tuple, ndim 2, 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
k_reciprocal_neigh Ran
ran on a synthesized input
Proxim123/person-reID-No1-/re_ranking.py
code served (permissive licence) · get_code("a610e67edff490e6")
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 1, dtype family int, shape (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 initial_rank matrix
# The function indexes into this with [i, :k1+1] and [forward_k_neigh_index, :k1+1]
# So we need enough rows and columns
initial_rank = np.array([
    [0, 1, 2, 3, 4],
    [1, 0, 3, 2, 4],
    [2, 3, 0, 1, 4],
    [3, 2, 1, 0, 4],
    [4, 0, 1, 2, 3]
], dtype=np.int64)

# i is an index into the first dimension of initial_rank
i = 0

# k1 is used to slice the rank matrix up to k1+1
k1 = 2

ARGS = {
    "initial_rank": initial_rank,
    "i": i,
    "k1": k1
}
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 1, dtype family int, shape (3,) — shape (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
normalize Ran
ran; our contract draft was wrong, not the code
ivychill/reid/loss.py
code served (permissive licence) · get_code("e3b2a83f52101f2d")
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 tensor with batch size 2 and feature dimension 4
x = torch.randn(2, 4)

ARGS = {
    "x": x,
    "axis": -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
re_ranking Ran
ran on a synthesized input
Proxim123/person-reID-No1-/re_ranking.py
code served (permissive licence) · get_code("59df0fc45b7bbcca")
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 (2, 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 small distance matrices
# q_g_dist: query-to-gallery distances (num_queries x num_gallery)
# q_q_dist: query-to-query distances (num_queries x num_queries)
# g_g_dist: gallery-to-gallery distances (num_gallery x num_gallery)

num_queries = 2
num_gallery = 3

# Create small symmetric distance matrices with values in [0, 1]
np.random.seed(0)

q_g_dist = np.random.rand(num_queries, num_gallery).astype(np.float32)
q_q_dist = np.random.rand(num_queries, num_queries).astype(np.float32)
q_q_dist = (q_q_dist + q_q_dist.T) / 2  # Make symmetric

g_g_dist = np.random.rand(num_gallery, num_gallery).astype(np.float32)
g_g_dist = (g_g_dist + g_g_dist.T) / 2  # Make symmetric

ARGS = {
    "q_g_dist": q_g_dist,
    "q_q_dist": q_q_dist,
    "g_g_dist": g_g_dist,
    "k1": 2,
    "k2": 1,
    "lambda_value": 0.3,
}
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 2, dtype family float, shape (2, 3) — shape (2, 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
read_image Ran
ran, honoured the contract we drafted
ivychill/reid/dataset_loader.py
code served (permissive licence) · get_code("6cd98fed94c1be75")
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 Image. 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
from PIL import Image

# Create a temporary directory and a test image file
temp_dir = tempfile.mkdtemp()
img_path = os.path.join(temp_dir, "test_image.jpg")

# Create a simple RGB image and save it
test_image = Image.new('RGB', (10, 10), color=(255, 0, 0))
test_image.save(img_path)

ARGS = {
    'img_path': img_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int 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
selectDataFromDataDic Ran
ran on a synthesized input
ivychill/reid/data_split.py
code served (permissive licence) · get_code("4fb1bffe87902d0a")
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 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)

# The function selectDataFromDataDic takes two parameters:
# 1. inds: a collection of keys to filter by
# 2. data_dic: a dictionary with keys that will be checked against inds

# Construct a sample data_dic with various data types
data_dic = {
    'tensor_data': torch.randn(2, 4),
    'list_data': [1, 2, 3, 4],
    'scalar_data': 42,
    'string_data': 'example',
    'nested_dict': {'a': 1, 'b': 2}
}

# Construct inds as a collection of some keys from data_dic
inds = ['tensor_data', 'string_data']

ARGS = {
    'inds': inds,
    'data_dic': data_dic
}
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, 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
splitQueryDataGallayrData Ran
ran on a synthesized input
ivychill/reid/data_split.py
code served (permissive licence) · get_code("29539deb062cf054")
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

# Set random seed for reproducibility
np.random.seed(0)

# Construct a minimal data_all_dic
# The function expects a dict where keys are indices and values are lists of image paths
data_all_dic = {
    0: ['img_0_0.jpg', 'img_0_1.jpg', 'img_0_2.jpg', 'img_0_3.jpg', 'img_0_4.jpg'],
    1: ['img_1_0.jpg', 'img_1_1.jpg', 'img_1_2.jpg'],
    2: ['img_2_0.jpg', 'img_2_1.jpg', 'img_2_2.jpg', 'img_2_3.jpg', 'img_2_4.jpg', 'img_2_5.jpg'],
}

ARGS = {
    'data_all_dic': data_all_dic,
    'skip': 1,
    'max_len': 300,
    'ratios': 0.15,
    'remain_skip': False,
}
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 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
compute_mAP Not yet run
unverified (harvested, no recorded run)
Proxim123/person-reID-No1-/evaluate.py
code served (permissive licence) · get_code("3f91b09177ddeb33")
How it ran

no invocation recorded.

compute_mAP Not yet run
unverified (harvested, no recorded run)
ivychill/reid/reid_metric.py
code served (permissive licence) · get_code("5ae586aedc34bdd6")
How it ran

no invocation recorded.

evaluate Not yet run
unverified (harvested, no recorded run)
jiangsikai/Person_reID_baseline_pytorch/evaluate.py
code served (permissive licence) · get_code("3713e246e333c32a")
How it ran

no invocation recorded.

evaluate Not yet run
unverified (harvested, no recorded run)
lsh110600/person_re_id/evaluate_gpu.py
code served (permissive licence) · get_code("aa35d5d95fb54d49")
How it ran

no invocation recorded.

evaluate Not yet run
unverified (harvested, no recorded run)
Proxim123/person-reID-No1-/evaluate_rerank.py
code served (permissive licence) · get_code("c3d73c7bc76855c8")
How it ran

no invocation recorded.

evaluate Not yet run
unverified (harvested, no recorded run)
taroogura/Person_reID_baseline_pytorch/evaluate_gpu.py
code served (permissive licence) · get_code("a87e51760037d9e3")
How it ran

no invocation recorded.

sort_img Not yet run
unverified (harvested, no recorded run)
taroogura/Person_reID_baseline_pytorch/demo1.py
code served (permissive licence) · get_code("52efb1cc6b07efc4")
How it ran

no invocation recorded.

Also present in other papers' code

Of 19 samples lifted from this paper's linked repositories, 19 carry a function identity and 0 do not. Of the 19 distinct functions with an identity, 10 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 2 the same month, 10 later) and 9 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
normalize 29 other papers
5 dated earlier, 1 the same month, 23 later
1609.01775 (2016-09)
Performance Measures and a Data Set for Multi-Target, Multi-Camera Tracking
1804.01438 (2018-04)
Learning Discriminative Features with Multiple Granularities for Person Re-Identification
1811.07130 (2018-11)
Batch DropBlock Network for Person Re-identification and Beyond
and 26 more not named here
euclidean_dist 20 other papers
2 dated earlier, 1 the same month, 17 later · 4 only as an assembly brick
1902.09212 (2019-02)
Deep High-Resolution Representation Learning for Human Pose Estimation
1903.07071 (2019-03)
Bag of Tricks and A Strong Baseline for Deep Person Re-identification
1904.02998 (2019-04)
Relation-Aware Global Attention for Person Re-identification
and 17 more not named here
read_image 10 other papers
1 dated earlier, 9 later
1903.07071 (2019-03)
Bag of Tricks and A Strong Baseline for Deep Person Re-identification
1905.13143 (2019-05)
Semantics-Aligned Representation Learning for Person Re-identification
1908.01114 (2019-08)
ABD-Net: Attentive but Diverse Person Re-Identification
and 7 more not named here
compute_mAP 7 other papers
2 dated earlier, 5 later
1711.10295 (2017-11)
Camera Style Adaptation for Person Re-identification
1812.03282 (2018-12)
Spatial-Temporal Person Re-identification
2001.04193 (2020-01)
Deep Learning for Person Re-identification: A Survey and Outlook
and 4 more not named here
hard_example_mining 7 other papers
2 dated earlier, 5 later
1902.09212 (2019-02)
Deep High-Resolution Representation Learning for Human Pose Estimation
1903.07071 (2019-03)
Bag of Tricks and A Strong Baseline for Deep Person Re-identification
2001.04193 (2020-01)
Deep Learning for Person Re-identification: A Survey and Outlook
and 4 more not named here
k_reciprocal_neigh 5 other papers
4 dated earlier, 1 later
1804.01438 (2018-04)
Learning Discriminative Features with Multiple Granularities for Person Re-Identification
1805.09501 (2018-05)
AutoAugment: Learning Augmentation Policies from Data
1811.07130 (2018-11)
Batch DropBlock Network for Person Re-identification and Beyond
and 2 more not named here
fliplr 4 other papers
4 later
1905.03422 (2019-05)
Frustratingly Easy Person Re-Identification: Generalizing Person Re-ID in Practice
2002.12186 (2020-02)
University-1652: A Multi-view Multi-source Benchmark for Drone-based Geo-localization
2205.12144 (2022-05)
Optimizing Performance of Federated Person Re-identification: Benchmarking and Analysis
and 1 more not named here
evaluate 2 other papers
1 dated earlier, 1 later
1711.10295 (2017-11)
Camera Style Adaptation for Person Re-identification
2205.12144 (2022-05)
Optimizing Performance of Federated Person Re-identification: Benchmarking and Analysis
evaluate 2 other papers
1 dated earlier, 1 later
1711.10295 (2017-11)
Camera Style Adaptation for Person Re-identification
2001.04193 (2020-01)
Deep Learning for Person Re-identification: A Survey and Outlook
evaluate 1 other paper
1 later
2002.12186 (2020-02)
University-1652: A Multi-view Multi-source Benchmark for Drone-based Geo-localization

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

Person re-identification (re-id) remains challenging due to significant intra-class variations across different cameras. Recently, there has been a growing interest in using generative models to augment training data and enhance the invariance to input changes. The generative pipelines in existing methods, however, stay relatively separate from the discriminative re-id learning stages. Accordingly, re-id models are often trained in a straightforward manner on the generated data. In this paper, we seek to improve learned re-id embeddings by better leveraging the generated data. To this end, we propose a joint learning framework that couples re-id learning and data generation end-to-end. Our model involves a generative module that separately encodes each person into an appearance code and a structure code, and a discriminative module that shares the appearance encoder with the generative module. By switching the appearance or structure codes, the generative module is able to generate high-quality cross-id composed images, which are online fed back to the appearance encoder and used to improve the discriminative module. The proposed joint learning framework renders significant improvement over the baseline without using generated data, leading to the state-of-the-art performance on several benchmark datasets.

For agents

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

get_harvested_code_for_paper("1904.07223")
get_code_for_paper("1904.07223")
have("1904.07223")

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

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

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

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

Connect an agent — have() is free.