SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2110.06864 · 2021

ByteTrack: Multi-Object Tracking by Associating Every Detection Box

arXiv · PDF · Open in the Atlas

Code that ran

10 of 12 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, 0 violated it and 7 have no contract verdict; 3 failures of our instrument; 2 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/2110.06864.json · badge: /api/ran/2110.06864.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
ifzhang/ByteTrack canonical (classifier label)
classifier basis not recorded on the link
4 ran · 2 no recorded run
kadirnar/bytetrack-pip community (classifier label)
classifier basis not recorded on the link
6 ran · 0 no recorded run
FunctionStatusWhere it lives
clip_boxes Ran
ran on a synthesized input
ifzhang/ByteTrack/yolox/motdt_tracker/reid_model.py
code served (permissive licence) · get_code("b5a232fabf1662a3")
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, 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

# Create sample boxes in format [x1, y1, x2, y2, ...]
# Using 2 boxes with 4 coordinates each
boxes = np.array([
    [-10.5, -5.3, 150.2, 120.8],
    [30.1, 40.5, 200.9, 180.3]
], dtype=np.float32)

# Image shape as (height, width)
im_shape = (100, 200)

ARGS = {
    "boxes": boxes,
    "im_shape": im_shape
}
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, 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
get_activation Ran
ran; our contract draft was wrong, not the code
ifzhang/ByteTrack/yolox/models/network_blocks.py
code served (permissive licence) · get_code("6e3d5f4c3ce305d7")
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 SiLU. 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)

ARGS = {
    'name': 'silu',
    'inplace': 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 SiLU — a SiLU output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SiLU 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
ious Ran
ran on a synthesized input
kadirnar/bytetrack-pip/bytetracker/matching.py
code served (permissive licence) · get_code("eaec7fd70e56f5c1")
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 sample bounding boxes in [top, left, bottom, right] format
# atlbrs: list of bounding boxes (each is [t, l, b, r])
atlbrs = [
    [10, 20, 50, 80],
    [15, 25, 60, 90],
]

# btlbrs: list of query bounding boxes (each is [t, l, b, r])
btlbrs = [
    [12, 22, 52, 82],
    [20, 30, 70, 100],
    [5, 10, 30, 40],
]

ARGS = {
    "atlbrs": atlbrs,
    "btlbrs": btlbrs,
}
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
linear_assignment Ran
ran; our contract draft was wrong, not the code
kadirnar/bytetrack-pip/bytetracker/matching.py
code served (permissive licence) · get_code("23b675d2fae7c414")
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 lap
import numpy as np

# Create a small cost matrix for linear assignment
# Using a 4x3 matrix (4 detections, 3 tracks) to have distinct dimensions
cost_matrix = np.array([
    [1.2, 2.5, 3.1],
    [0.8, 1.5, 2.0],
    [3.0, 0.5, 1.8],
    [2.2, 1.9, 0.3]
], dtype=np.float32)

# Threshold for cost limit
thresh = 2.0

ARGS = {
    "cost_matrix": cost_matrix,
    "thresh": thresh
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
lap, 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
make_layers Ran
ran on a synthesized input
ifzhang/ByteTrack/yolox/deepsort_tracker/reid_model.py
code served (permissive licence) · get_code("c0b3d0e6e5a858ad")
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 Sequential. 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)

ARGS = {
    "c_in": 3,
    "c_out": 64,
    "repeat_times": 2,
    "is_downsample": False
}
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 Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 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
merge_matches Ran
ran on a synthesized input
kadirnar/bytetrack-pip/bytetracker/matching.py
code served (permissive licence) · get_code("de19615aab6efe36")
How it ran

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

import numpy as np
import scipy

# Construct valid arguments for merge_matches function
# The function takes m1, m2, and shape as parameters
# m1 and m2 are match arrays with pairs of indices
# shape is a tuple (O, P, Q) representing matrix dimensions

# Define dimensions
O = 5  # rows in first matrix
P = 4  # columns in first matrix, rows in second matrix
Q = 3  # columns in second matrix

# Create m1: matches between O and P (shape: (num_matches, 2))
# Each row is a pair (i, j) where i in [0, O) and j in [0, P)
m1 = np.array([
    [0, 0],
    [1, 1],
    [2, 2],
    [3, 3],
    [4, 1]
])

# Create m2: matches between P and Q (shape: (num_matches, 2))
# Each row is a pair (i, j) where i in [0, P) and j in [0, Q)
m2 = np.array([
    [0, 0],
    [1, 1],
    [2, 2],
    [3, 0]
])

# Define shape tuple
shape = (O, P, Q)

ARGS = {
    "m1": m1,
    "m2": m2,
    "shape": shape
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — 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
sigmoid_focal_loss Ran
ran; our contract draft was wrong, not the code
ifzhang/ByteTrack/yolox/models/losses.py
pointer only (licence: MIT); the stored copy get_code serves, from rainbowluocs/diffusiontrack, is pointer only (licence: NOASSERTION) · get_code("774f31ba06110943")
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 rainbowluocs/diffusiontrack, and GitHub could not classify the licence of that repository (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

xywh2xyxy Ran
ran on a synthesized input
kadirnar/bytetrack-pip/bytetracker/byte_tracker.py
code served (permissive licence) · get_code("868ee4234d591b9d")
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 numpy as np

torch.manual_seed(0)

# The function xywh2xyxy takes a single parameter 'x'
# It expects x to be either a torch tensor or numpy array with shape (N, 4)
# where columns are [center_x, center_y, width, height]
# It converts to [x_min, y_min, x_max, y_max] format

# Create a small test tensor (batch_size=2, features=4)
x_tensor = torch.tensor([
    [10.0, 20.0, 4.0, 6.0],
    [15.0, 25.0, 8.0, 10.0]
])

ARGS = {
    'x': x_tensor
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 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
xyxy2ltwh Ran
ran on a synthesized input
kadirnar/bytetrack-pip/bytetracker/byte_tracker.py
code served (permissive licence) · get_code("98eb5091f9b29b36")
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 numpy as np

torch.manual_seed(0)

# The function xyxy2ltwh expects input x that supports either:
# 1. .clone() method (torch tensor)
# 2. Falls back to np.copy() (numpy array)
# It then indexes x with [:, 0], [:, 1], [:, 2], [:, 3]
# So x must be 2D with at least 4 columns

# Create a torch tensor with shape (2, 4) - batch of 2, 4 coordinates
x_torch = torch.tensor([
    [10.0, 20.0, 30.0, 40.0],
    [50.0, 60.0, 70.0, 80.0]
])

ARGS = {
    "x": x_torch
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 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
xyxy2xywh Ran
ran on a synthesized input
kadirnar/bytetrack-pip/bytetracker/byte_tracker.py
code served (permissive licence) · get_code("a4670e5c22212ec4")
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 numpy as np
import torch

torch.manual_seed(0)

# The function xyxy2xywh converts bounding boxes from xyxy format to xywh format
# It expects x to be a 2D array/tensor where:
# - First dimension is batch size (number of boxes)
# - Second dimension is 4 values: [x1, y1, x2, y2]

# Create a small tensor with 2 boxes, 4 coordinates each
x_tensor = torch.tensor([
    [10.0, 20.0, 30.0, 40.0],
    [50.0, 60.0, 100.0, 120.0]
])

ARGS = {
    "x": x_tensor
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 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
load_net Not yet run
unverified (harvested, no recorded run)
ifzhang/ByteTrack/yolox/motdt_tracker/reid_model.py
code served (permissive licence) · get_code("f817f88d2e7ca234")
How it ran

no invocation recorded.

load_reid_model Not yet run
unverified (harvested, no recorded run)
ifzhang/ByteTrack/yolox/motdt_tracker/reid_model.py
code served (permissive licence) · get_code("8002b7c39cb1946f")
How it ran

no invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 8 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 8 later) and 4 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_activation 10 other papers
3 dated earlier, 7 later
1803.11365 (2018-03)
Cross-Domain Weakly-Supervised Object Detection through Progressive Domain Adaptation
2107.08430 (2021-07)
YOLOX: Exceeding YOLO Series in 2021
2108.04230 (2021-08)
Workshop on Autonomous Driving at CVPR 2021: Technical Report for Streaming Perception Challenge
and 7 more not named here
linear_assignment 4 other papers
2 dated earlier, 2 later
1909.12605 (2019-09)
Towards Real-Time Multi-Object Tracking
2010.12138 (2020-10)
Rethinking the competition between detection and ReID in Multi-Object Tracking
2206.14651 (2022-06)
BoT-SORT: Robust Associations Multi-Pedestrian Tracking
and 1 more not named here
make_layers 4 other papers
3 dated earlier, 1 later
1703.07402 (2017-03)
Simple Online and Realtime Tracking with a Deep Association Metric
1904.07850 (2019-04)
Objects as Points
2004.10934 (2020-04)
YOLOv4: Optimal Speed and Accuracy of Object Detection
and 1 more not named here
merge_matches 4 other papers
2 dated earlier, 2 later
1909.12605 (2019-09)
Towards Real-Time Multi-Object Tracking
2010.12138 (2020-10)
Rethinking the competition between detection and ReID in Multi-Object Tracking
2206.14651 (2022-06)
BoT-SORT: Robust Associations Multi-Pedestrian Tracking
and 1 more not named here
clip_boxes 1 other paper
1 later
2302.11813 (2023-02)
Deep OC-SORT: Multi-Pedestrian Tracking by Adaptive Re-Identification
load_net 1 other paper
1 later
2302.11813 (2023-02)
Deep OC-SORT: Multi-Pedestrian Tracking by Adaptive Re-Identification
load_reid_model 1 other paper
1 later
2302.11813 (2023-02)
Deep OC-SORT: Multi-Pedestrian Tracking by Adaptive Re-Identification
sigmoid_focal_loss 1 other paper
1 later
2308.09905 (2023-08)
DiffusionTrack: Diffusion Model For Multi-Object Tracking

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

Multi-object tracking (MOT) aims at estimating bounding boxes and identities of objects in videos. Most methods obtain identities by associating detection boxes whose scores are higher than a threshold. The objects with low detection scores, e.g. occluded objects, are simply thrown away, which brings non-negligible true object missing and fragmented trajectories. To solve this problem, we present a simple, effective and generic association method, tracking by associating almost every detection box instead of only the high score ones. For the low score detection boxes, we utilize their similarities with tracklets to recover true objects and filter out the background detections. When applied to 9 different state-of-the-art trackers, our method achieves consistent improvement on IDF1 score ranging from 1 to 10 points. To put forwards the state-of-the-art performance of MOT, we design a simple and strong tracker, named ByteTrack. For the first time, we achieve 80.3 MOTA, 77.3 IDF1 and 63.1 HOTA on the test set of MOT17 with 30 FPS running speed on a single V100 GPU. ByteTrack also achieves state-of-the-art performance on MOT20, HiEve and BDD100K tracking benchmarks. The source code, pre-trained models with deploy versions and tutorials of applying to other trackers are released at https://github.com/ifzhang/ByteTrack.

For agents

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

get_harvested_code_for_paper("2110.06864")
get_code_for_paper("2110.06864")
have("2110.06864")

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

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

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

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

Connect an agent — have() is free.