Downloads · 30 days
0
Rewatiramans/bytetrack-onnx-static
bytetrack-onnx-static is a machine learning model from Rewatiramans. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
ONNX exports of pretrained ByteTrack models from the official ByteTrack repository.
Downloads · 30 days
0
Access
Public
Updated May 16, 2026
Repo size
3.1 GB
Likes
1
Public
Click a slice to open those files.
.data1.5 GB · 50%
From the Hugging Face model README
ONNX exports of pretrained ByteTrack models from the official ByteTrack repository.
Original repository:
| Model | Description |
|---|---|
| bytetrack_ablation.onnx | Ablation model from paper |
| bytetrack_x_mot17.onnx | Highest accuracy MOT17 model |
| bytetrack_l_mot17.onnx | Large model |
| bytetrack_m_mot17.onnx | Medium model |
| bytetrack_s_mot17.onnx | Small production-friendly model |
| bytetrack_x_mot20.onnx | MOT20 model |
Some models may also include:
model.onnx.data
This file contains external tensor weights for large ONNX exports. Keep it beside the .onnx file.
These models were exported using:
The original ByteTrack repository required small compatibility fixes for modern PyTorch versions.
These exports use static input shapes.
Example:
[1, 3, 608, 1088]
Meaning:
Your input must exactly match the exported shape unless you re-export with dynamic axes.
import onnxruntime as ort
import numpy as np
session = ort.InferenceSession(
"bytetrack_s_mot17.onnx",
providers=["CPUExecutionProvider"]
)
img = np.random.rand(
1,
3,
608,
1088
).astype(np.float32)
outputs = session.run(
None,
{"images": img}
)
print(outputs[0].shape)
Expected output:
(1, 13566, 6)
These models can be converted to TensorRT engines using:
Example:
trtexec \
--onnx=bytetrack_s_mot17.onnx \
--saveEngine=bytetrack_s.engine
Recommended models:
| Scenario | Recommended Model |
|---|---|
| Maximum accuracy | bytetrack_x_mot17 |
| Balanced production deployment | bytetrack_m_mot17 |
| Lightweight deployment | bytetrack_s_mot17 |
The s model is generally the best balance between:
ByteTrack itself is only the tracker.
These ONNX models contain the detector component used alongside ByteTrack tracking logic.
Typical pipeline:
video frame
→ detector inference
→ ByteTrack association/tracking
→ tracked objects
ByteTrack Paper:
@article{zhang2022bytetrack,
title={ByteTrack: Multi-Object Tracking by Associating Every Detection Box},
author={Zhang, Yifu and Sun, Peize and Jiang, Yi and Yu, Dongdong and Weng, Fucheng and Yuan, Zehuan and Luo, Ping and Liu, Wenyu and Wang, Xinggang},
booktitle={ECCV},
year={2022}
}
Official repository: