Skip to content

Commit 719d2a8

Browse files
committed
doc update for model link
1 parent 67dbe27 commit 719d2a8

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

docs/features/depth_estimation.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ Depth estimation predicts the per-pixel distance from the camera for every pixel
99

1010
## Model backends
1111

12+
Default checkpoint download:
13+
[depth_anything_v2_vitb.pth](https://github.com/OlafenwaMoses/vizion3D/releases/download/essentials-v1/depth_anything_v2_vitb.pth)
14+
15+
```bash
16+
curl -L \
17+
https://github.com/OlafenwaMoses/vizion3D/releases/download/essentials-v1/depth_anything_v2_vitb.pth \
18+
-o depth_anything_v2_vitb.pth
19+
```
20+
1221
| Value | What happens |
1322
|---|---|
1423
| *(default)* | Downloads the vizion3D release checkpoint (`depth_anything_v2_vitb.pth`) to `~/.cache/vizion3d/models/` on first use, then loads it directly |
@@ -220,7 +229,10 @@ print(f"Backend: {result.backend_used}")
220229
# Remote checkpoint URL (downloaded and cached on first use)
221230
cmd = DepthEstimationCommand(
222231
image_input="scene.png",
223-
model_backend="https://example.com/weights/depth_anything_v2_vits.pth",
232+
model_backend=(
233+
"https://github.com/OlafenwaMoses/vizion3D/releases/download/"
234+
"essentials-v1/depth_anything_v2_vitb.pth"
235+
),
224236
)
225237
result = DepthEstimation().run(cmd)
226238
print(f"Backend: {result.backend_used}")

docs/features/stereo_depth.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ vizion3d uses [S2M2](https://github.com/Dongyeop-Yoo/S2M2) (Stereo Matching Mode
1515

1616
## Model backends
1717

18+
Default checkpoint download:
19+
[stereo-depth-s2m2-L.pth](https://github.com/OlafenwaMoses/vizion3D/releases/download/essentials-v1/stereo-depth-s2m2-L.pth)
20+
21+
```bash
22+
curl -L \
23+
https://github.com/OlafenwaMoses/vizion3D/releases/download/essentials-v1/stereo-depth-s2m2-L.pth \
24+
-o stereo-depth-s2m2-L.pth
25+
```
26+
1827
| Value | What happens |
1928
|---|---|
2029
| *(default)* | Downloads the vizion3D release checkpoint (`stereo-depth-s2m2-L.pth`, the L variant) to `~/.cache/vizion3d/models/` on first use, then loads it |

0 commit comments

Comments
 (0)