-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (84 loc) · 2.24 KB
/
Copy pathpyproject.toml
File metadata and controls
93 lines (84 loc) · 2.24 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
[project]
name = "insect-detect-post"
version = "1.0.0"
description = "Software for post-processing of data captured with the Insect Detect camera trap."
requires-python = ">=3.13,<3.15"
license = "AGPL-3.0-or-later"
license-files = ["LICEN[CS]E*"]
readme = "README.md"
authors = [{name = "Maximilian Sittinger"}]
dependencies = [
"numpy >=2.5.1,<3",
"opencv-python-headless >=5.0.0.93,<6",
"polars >=1.43.2,<2",
"psutil >=7.2.2,<8",
"pybioclip >=2.1.5,<3",
"pydantic >=2.13.4,<3",
"pygbif >=0.6.6,<1",
"pyside6 >=6.11.1,<7",
"pyyaml >=6.0.3,<7",
"qt-logging >=0.1.1,<1",
"qt-parameters >=1.3.2,<2",
"qt-themes >=0.4.0,<1",
"ultralytics-opencv-headless >=8.4.115,<9",
]
[project.optional-dependencies]
cpu = [
"onnx >=1.22.0,<2",
"onnxruntime >=1.28.0,<2",
"torch >=2.13.0,<3",
"torchvision >=0.28.0,<1",
]
cuda126 = [
"onnx >=1.21.0,<1.22.0",
"onnxruntime-gpu >=1.26.0,<1.27.0",
"torch >=2.13.0,<3",
"torchvision >=0.28.0,<1",
]
cuda132 = [
"onnx >=1.22.0,<2",
"onnxruntime-gpu >=1.28.0,<2",
"torch >=2.13.0,<3",
"torchvision >=0.28.0,<1",
]
[project.scripts]
gui = "insectdetect_post.post_processing_gui:main"
update = "insectdetect_post.update:main"
[project.urls]
Documentation = "https://maxsitt.github.io/insect-detect-docs/"
Repository = "https://github.com/maxsitt/insect-detect-post"
Issues = "https://github.com/maxsitt/insect-detect-post/issues"
[tool.uv]
package = true
conflicts = [
[
{ extra = "cpu" },
{ extra = "cuda126" },
{ extra = "cuda132" },
],
]
[tool.uv.sources]
torch = [
{ index = "pytorch-cpu", extra = "cpu" },
{ index = "pytorch-cu126", extra = "cuda126" },
{ index = "pytorch-cu132", extra = "cuda132" },
]
torchvision = [
{ index = "pytorch-cpu", extra = "cpu" },
{ index = "pytorch-cu126", extra = "cuda126" },
{ index = "pytorch-cu132", extra = "cuda132" },
]
[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[[tool.uv.index]]
name = "pytorch-cu126"
url = "https://download.pytorch.org/whl/cu126"
explicit = true
[[tool.uv.index]]
name = "pytorch-cu132"
url = "https://download.pytorch.org/whl/cu132"
explicit = true
[tool.ruff]
line-length = 120