Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,15 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 6.19.0
|
| 8 |
-
python_version:
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
| 11 |
-
license: mit
|
| 12 |
-
short_description: Segment two objects in a photo with a text prompt (SAM3)
|
| 13 |
---
|
| 14 |
|
| 15 |
# Object Distance Estimator
|
|
@@ -50,8 +48,16 @@ warning rather than aborting the whole run.
|
|
| 50 |
add an `HF_TOKEN` secret to this Space (Settings β Repository secrets) with
|
| 51 |
a token that has access to gated repos.
|
| 52 |
- Use a GPU Space (T4 or better) β both models are slow on CPU.
|
| 53 |
-
- Only the metric checkpoints (`da3metric-large`, `
|
| 54 |
give distances in real meters; the mono/relative checkpoints do not carry
|
| 55 |
true scale.
|
| 56 |
-
|
| 57 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Object Distance Estimator
|
| 3 |
+
emoji: π
|
| 4 |
+
colorFrom: purple
|
| 5 |
+
colorTo: yellow
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 6.19.0
|
| 8 |
+
python_version: "3.11"
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
# Object Distance Estimator
|
|
|
|
| 48 |
add an `HF_TOKEN` secret to this Space (Settings β Repository secrets) with
|
| 49 |
a token that has access to gated repos.
|
| 50 |
- Use a GPU Space (T4 or better) β both models are slow on CPU.
|
| 51 |
+
- Only the metric checkpoints (`da3metric-large`, `DA3NESTED-GIANT-LARGE-1.1`)
|
| 52 |
give distances in real meters; the mono/relative checkpoints do not carry
|
| 53 |
true scale.
|
| 54 |
+
- `requirements.txt` installs `depth_anything_3` directly from its GitHub
|
| 55 |
+
source rather than PyPI. Its PyPI availability has been inconsistent
|
| 56 |
+
(sometimes resolvable, sometimes not, depending on when/where you build) β
|
| 57 |
+
installing from the maintainers' repo directly sidesteps that entirely,
|
| 58 |
+
at the cost of a longer build (it compiles from source rather than pulling
|
| 59 |
+
a prebuilt wheel).
|
| 60 |
+
- `python_version: "3.11"` is still pinned above. Even installing from
|
| 61 |
+
GitHub, the package's own metadata declares `Requires-Python: <=3.13,>=3.9`,
|
| 62 |
+
and a `3.13.x` patch release can fail that check due to how version
|
| 63 |
+
comparison works (`3.13.14` sorts after `3.13`) β keep this pin.
|