-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
54 lines (46 loc) · 1.09 KB
/
pyproject.toml
File metadata and controls
54 lines (46 loc) · 1.09 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
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "vision-analysis-benchmark"
version = "2.0.0"
description = "Benchmarking suite for object detection models — powers visionanalysis.org"
requires-python = ">=3.10"
license = "Apache-2.0"
authors = [{ name = "Xuban Ceccon" }]
dependencies = [
"torch>=2.0",
"torchvision>=0.15",
"numpy>=1.24",
"Pillow>=9.0",
"pycocotools>=2.0",
"psutil>=5.9",
"tqdm>=4.65",
"libreyolo>=0.1",
]
[project.optional-dependencies]
# ONNX Runtime CPU (works on any hardware — use for Raspberry Pi 5)
onnx = [
"onnx>=1.15",
"onnxruntime>=1.17",
]
# ONNX Runtime GPU (CUDA — use for RTX 5080 and other NVIDIA GPUs)
onnx-gpu = [
"onnx>=1.15",
"onnxruntime-gpu>=1.17",
]
dev = [
"pytest>=7.0",
"ruff>=0.4",
]
[project.scripts]
va-bench = "va_bench.cli:main"
[tool.setuptools.packages.find]
include = ["va_bench*"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
[tool.pytest.ini_options]
testpaths = ["tests"]