Skip to content

Commit 1f78f64

Browse files
committed
Add pyproject.toml for metric_depth
Same of DepthAnything#159, but for the subdir metric_depth
1 parent e5a2732 commit 1f78f64

File tree

4 files changed

+199
-0
lines changed

4 files changed

+199
-0
lines changed

metric_depth/.gitignore

Lines changed: 176 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,176 @@
1+
# Initially taken from Github's Python gitignore file
2+
3+
# Byte-compiled / optimized / DLL files
4+
__pycache__/
5+
*.py[cod]
6+
*$py.class
7+
8+
# C extensions
9+
*.so
10+
11+
# tests and logs
12+
tests/fixtures/cached_*_text.txt
13+
logs/
14+
lightning_logs/
15+
lang_code_data/
16+
tests/outputs
17+
18+
# Distribution / packaging
19+
.Python
20+
build/
21+
develop-eggs/
22+
dist/
23+
downloads/
24+
eggs/
25+
.eggs/
26+
lib/
27+
lib64/
28+
parts/
29+
sdist/
30+
var/
31+
wheels/
32+
*.egg-info/
33+
.installed.cfg
34+
*.egg
35+
MANIFEST
36+
37+
# PyInstaller
38+
# Usually these files are written by a python script from a template
39+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
40+
*.manifest
41+
*.spec
42+
43+
# Installer logs
44+
pip-log.txt
45+
pip-delete-this-directory.txt
46+
47+
# Unit test / coverage reports
48+
htmlcov/
49+
.tox/
50+
.nox/
51+
.coverage
52+
.coverage.*
53+
.cache
54+
nosetests.xml
55+
coverage.xml
56+
*.cover
57+
.hypothesis/
58+
.pytest_cache/
59+
60+
# Translations
61+
*.mo
62+
*.pot
63+
64+
# Django stuff:
65+
*.log
66+
local_settings.py
67+
db.sqlite3
68+
69+
# Flask stuff:
70+
instance/
71+
.webassets-cache
72+
73+
# Scrapy stuff:
74+
.scrapy
75+
76+
# Sphinx documentation
77+
docs/_build/
78+
79+
# PyBuilder
80+
target/
81+
82+
# Jupyter Notebook
83+
.ipynb_checkpoints
84+
85+
# IPython
86+
profile_default/
87+
ipython_config.py
88+
89+
# pyenv
90+
.python-version
91+
92+
# celery beat schedule file
93+
celerybeat-schedule
94+
95+
# SageMath parsed files
96+
*.sage.py
97+
98+
# Environments
99+
.env
100+
.venv
101+
env/
102+
venv/
103+
ENV/
104+
env.bak/
105+
venv.bak/
106+
107+
# Spyder project settings
108+
.spyderproject
109+
.spyproject
110+
111+
# Rope project settings
112+
.ropeproject
113+
114+
# mkdocs documentation
115+
/site
116+
117+
# mypy
118+
.mypy_cache/
119+
.dmypy.json
120+
dmypy.json
121+
122+
# Pyre type checker
123+
.pyre/
124+
125+
# vscode
126+
.vs
127+
.vscode
128+
129+
# Pycharm
130+
.idea
131+
132+
# TF code
133+
tensorflow_code
134+
135+
# Models
136+
proc_data
137+
138+
# examples
139+
runs
140+
/runs_old
141+
/wandb
142+
/examples/runs
143+
/examples/**/*.args
144+
/examples/rag/sweep
145+
146+
# data
147+
/data
148+
serialization_dir
149+
150+
# emacs
151+
*.*~
152+
debug.env
153+
154+
# vim
155+
.*.swp
156+
157+
#ctags
158+
tags
159+
160+
# .lock
161+
*.lock
162+
163+
# DS_Store (MacOS)
164+
.DS_Store
165+
# RL pipelines may produce mp4 outputs
166+
*.mp4
167+
168+
# dependencies
169+
/transformers
170+
171+
# ruff
172+
.ruff_cache
173+
174+
wandb
175+
176+
ckpts/

metric_depth/depth_anything_v2/__init__.py

Whitespace-only changes.

metric_depth/depth_anything_v2/util/__init__.py

Whitespace-only changes.

metric_depth/pyproject.toml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[build-system]
2+
requires = ["setuptools", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[tool.setuptools.packages.find]
6+
include = ["depth_anything_v2*"]
7+
8+
[project]
9+
name = "depth-anything-v2-metric"
10+
description = "Most capable monocular depth estimation (MDE) model. - Metric Version"
11+
readme = "README.md"
12+
requires-python = ">=3.8"
13+
dependencies = [
14+
"matplotlib",
15+
"opencv-python",
16+
"torch",
17+
"torchvision",
18+
"open3d"
19+
]
20+
version = "1.0.0"
21+
22+
[project.urls]
23+
repository = "https://github.com/DepthAnything/Depth-Anything-V2"

0 commit comments

Comments
 (0)