-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Expand file tree
/
Copy pathpyproject.toml
More file actions
177 lines (152 loc) · 4.2 KB
/
Copy pathpyproject.toml
File metadata and controls
177 lines (152 loc) · 4.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
# =====================================================
# pyproject.toml for BoxMOT
# =====================================================
#########################
# UV-specific Overrides #
#########################
[tool.uv]
preview = true
extra-build-dependencies = { yolox = ["setuptools", "torch<3.0.0,>=2.2.1"] }
# Override yolox's outdated dependencies
[[tool.uv.dependency-metadata]]
name = "yolox"
version = "0.3.0"
requires-dist = [
"onnx>=1.17.0",
"onnxsim>=0.4.33,<0.5 ; python_version < '3.12'",
"onnxsim-prebuilt>=0.4.36.post1 ; python_version >= '3.12'",
"tabulate",
]
[tool.ruff]
line-length = 120
exclude = [".tox", "*.egg", "build", "temp"]
[tool.ruff.lint]
select = ["E", "W", "F", "I"]
ignore = ["E731", "F405", "E402", "E741"]
[tool.pytest.ini_options]
norecursedirs = [
"boxmot/datasets/mot",
"boxmot/datasets/reid",
"data",
"runs",
]
##############
# Build System #
##############
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
###########
# Project #
###########
[project]
name = "boxmot"
version = "22.0.0"
description = "BoxMOT: pluggable SOTA tracking modules for segmentation, object detection and pose estimation models"
readme = "README.md"
requires-python = ">=3.10,<3.14"
license = { text = "AGPL-3.0" }
authors = [
{ name = "Mikel Broström" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Image Recognition",
"Topic :: Scientific/Engineering :: Image Processing",
]
keywords = [
"tracking",
"tracking-by-detection",
"machine-learning",
"deep-learning",
"vision",
"ML",
"DL",
"AI",
"YOLO",
]
dependencies = [
# Kalman filters for motion models (SORT/OCSort/HybridSort)
"filterpy<2.0.0,>=1.4.5",
# Download pretrained weights/checkpoints from Google Drive
"gdown<6.0.0,>=5.1.0",
# Fast LAP/Hungarian solver for data association
"lapx<1.0.0,>=0.5.5",
"numpy>=2.2.0",
"scikit-learn<2.0.0,>=1.3.0",
"pandas<3.0.0,>=2.0.0",
"opencv-python<5.0.0,>=4.7.0",
"torch>=2.2.1,<3.0.0",
"torchvision>=0.17.1,<1.0.0",
# MobileNetV4 ImageNet backbones and weights from Hugging Face pytorch-image-models.
"timm>=1.0.15,<2.0.0",
"click>=8.1.8",
# Rich console + logging UI used across the CLI workflows.
"rich>=15.0.0",
"huggingface-hub>=1.7.1",
]
[project.scripts]
boxmot = "boxmot.engine.cli:main"
########################################
# local-only “dev/test/docs/ci” stacks #
########################################
[dependency-groups]
dev = ["ipykernel>=6.29.5,<7.0.0", "pre-commit>=4.0.1"]
test = ["pytest>=8.0.2,<10.0.0", "pytest-cov>=6.0.0,<7.0.0"]
docs = [
"mkdocs>=1.6.1", "mkdocs-click>=0.9.0",
"mkdocs-include-markdown-plugin>=7.1.6",
"mkdocs-material==9.6.15",
"mkdocstrings>=0.30.0", "mkdocstrings-python>=1.16.12",
]
#############################
# runtime / feature toggles #
#############################
[project.optional-dependencies]
yolo = [
"ultralytics>=8.4.58",
"yolox==0.3.0",
# yolox 0.3.0 imports loguru in its dist utilities but does not declare it
# in the metadata uv reads, so pull it in explicitly here.
"loguru>=0.7.2,<1.0.0",
]
evolve = [
"ray[tune]==2.52.1",
"matplotlib>=3.8.0,<4.0.0",
"seaborn>=0.13.0,<1.0.0",
"scipy>=1.11.0,<2.0.0",
"plotly==5.19.0",
"bayesian-optimization==2.0.4",
"optuna==3.5.0",
"hyperopt>=0.2.7",
"pydantic>=2.5.0,<2.12.0"
]
research = [
"gepa[full]>=0.1.1",
]
onnx = [
"onnx==1.20.1",
"onnxruntime==1.24.3",
"onnxslim>=0.1.67",
"onnxscript>=0.1.0"
]
openvino = ["openvino>=2025.2.0"]
tflite = [
"ai-edge-litert>=2.1.0",
"litert-torch==0.9.1",
]
rtdetr = [
"transformers>=5.0.0",
]