Instructions to use zeromodels/depth_anything_small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasFormers
How to use zeromodels/depth_anything_small with KerasFormers:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Keras
How to use zeromodels/depth_anything_small with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://zeromodels/depth_anything_small") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- README.md +18 -0
- model.weights.h5 +3 -0
README.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pipeline_tag: depth-estimation
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
library_name: kerasformers
|
| 5 |
+
tags:
|
| 6 |
+
- keras
|
| 7 |
+
- kerasformers
|
| 8 |
+
- depth_anything_v1
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# depth_anything_small (Keras 3)
|
| 12 |
+
|
| 13 |
+
Pure-Keras 3 weights for [kerasformers](https://github.com/IMvision12/KerasFormers). License: `apache-2.0`.
|
| 14 |
+
|
| 15 |
+
```python
|
| 16 |
+
from kerasformers.models.depth_anything_v1 import DepthAnythingV1DepthEstimation
|
| 17 |
+
model = DepthAnythingV1DepthEstimation.from_weights("depth_anything_small")
|
| 18 |
+
```
|
model.weights.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1a6ae9aee88443c0050d23a9fefded7a24ef89a6662d34e8e80082106b357d83
|
| 3 |
+
size 99484224
|