-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathpyproject.toml
60 lines (53 loc) · 1.21 KB
/
pyproject.toml
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
[tool.black]
line-length = 79
#include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "samexporter"
version = "0.4.1"
description = "Exporting Segment Anything models ONNX format"
authors = [
{name = "Viet Anh Nguyen", email = "[email protected]"},
]
readme = "README.md"
requires-python = ">=3.10"
license = {file = "LICENSE"}
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"onnx==1.16.2",
"onnxruntime==1.16.3",
"opencv-python==4.7.0.72",
"segment-anything==1.0",
"torch==2.4.0",
"torchvision",
"timm==0.9.2",
"onnxsim==0.4.36",
]
[project.urls]
"Homepage" = "https://github.com/vietanhdev/samexporter"
"Bug Tracker" = "https://github.com/vietanhdev/samexporter/issues"
[project.optional-dependencies]
dev = ["flake8", "isort", "black", "pre-commit"]
[tool.setuptools]
packages = ["samexporter"]
[tool.setuptools.package-data]
"samexporter.sam2_configs" = ["*.py", "*.yaml"]