Spaces:
Runtime error
Runtime error
Delete pyproject.toml
Browse files- pyproject.toml +0 -59
pyproject.toml
DELETED
@@ -1,59 +0,0 @@
|
|
1 |
-
[project]
|
2 |
-
name = "depth_pro"
|
3 |
-
version = "0.1"
|
4 |
-
description = "Inference/Network/Model code for Apple Depth Pro monocular depth estimation."
|
5 |
-
readme = "README.md"
|
6 |
-
dependencies = [
|
7 |
-
"torch",
|
8 |
-
"torchvision",
|
9 |
-
"timm",
|
10 |
-
"numpy<2",
|
11 |
-
"pillow_heif",
|
12 |
-
"matplotlib",
|
13 |
-
]
|
14 |
-
|
15 |
-
[project.scripts]
|
16 |
-
depth-pro-run = "depth_pro.cli:run_main"
|
17 |
-
|
18 |
-
[project.urls]
|
19 |
-
Homepage = "https://github.com/apple/ml-depth-pro"
|
20 |
-
Repository = "https://github.com/apple/ml-depth-pro"
|
21 |
-
|
22 |
-
[build-system]
|
23 |
-
requires = ["setuptools", "setuptools-scm"]
|
24 |
-
build-backend = "setuptools.build_meta"
|
25 |
-
|
26 |
-
[tool.setuptools.packages.find]
|
27 |
-
where = ["src"]
|
28 |
-
|
29 |
-
[tool.pyright]
|
30 |
-
include = ["src"]
|
31 |
-
exclude = [
|
32 |
-
"**/node_modules",
|
33 |
-
"**/__pycache__",
|
34 |
-
]
|
35 |
-
pythonVersion = "3.9"
|
36 |
-
|
37 |
-
[tool.pytest.ini_options]
|
38 |
-
minversion = "6.0"
|
39 |
-
addopts = "-ra -q"
|
40 |
-
testpaths = [
|
41 |
-
"tests"
|
42 |
-
]
|
43 |
-
filterwarnings = [
|
44 |
-
"ignore::DeprecationWarning"
|
45 |
-
]
|
46 |
-
|
47 |
-
[tool.lint.per-file-ignores]
|
48 |
-
"__init__.py" = ["F401", "D100", "D104"]
|
49 |
-
|
50 |
-
[tool.ruff]
|
51 |
-
line-length = 100
|
52 |
-
lint.select = ["E", "F", "D", "I"]
|
53 |
-
lint.ignore = ["D100", "D105"]
|
54 |
-
extend-exclude = [
|
55 |
-
"*external*",
|
56 |
-
"third_party",
|
57 |
-
]
|
58 |
-
src = ["depth_pro", "tests"]
|
59 |
-
target-version = "py39"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|