Instructions to use kerasformers/depth_anything_base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasFormers
How to use kerasformers/depth_anything_base 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 kerasformers/depth_anything_base with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://kerasformers/depth_anything_base") - Notebooks
- Google Colab
- Kaggle
File size: 679 Bytes
13a380d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | {
"library_name": "kerasformers",
"kerasformers_version": "1.1.3",
"model_module": "kerasformers.models.depth_anything_v1",
"model_class": "DepthAnythingV1DepthEstimation",
"variant": "depth_anything_base",
"weights": "model.weights.h5",
"model_type": "depth_anything",
"backbone_dim": 768,
"backbone_depth": 12,
"backbone_num_heads": 12,
"out_indices": [
9,
10,
11,
12
],
"neck_hidden_sizes": [
96,
192,
384,
768
],
"fusion_hidden_size": 128,
"reassemble_factors": [
4,
2,
1,
0.5
],
"depth_estimation_type": "relative",
"max_depth": 1.0,
"image_size": 518
} |