Instructions to use kerasformers/depth_anything_small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasFormers
How to use kerasformers/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 kerasformers/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://kerasformers/depth_anything_small") - Notebooks
- Google Colab
- Kaggle
| { | |
| "library_name": "kerasformers", | |
| "kerasformers_version": "1.1.3", | |
| "model_module": "kerasformers.models.depth_anything_v1", | |
| "model_class": "DepthAnythingV1DepthEstimation", | |
| "variant": "depth_anything_small", | |
| "weights": "model.weights.h5", | |
| "model_type": "depth_anything", | |
| "backbone_dim": 384, | |
| "backbone_depth": 12, | |
| "backbone_num_heads": 6, | |
| "out_indices": [ | |
| 9, | |
| 10, | |
| 11, | |
| 12 | |
| ], | |
| "neck_hidden_sizes": [ | |
| 48, | |
| 96, | |
| 192, | |
| 384 | |
| ], | |
| "fusion_hidden_size": 64, | |
| "reassemble_factors": [ | |
| 4, | |
| 2, | |
| 1, | |
| 0.5 | |
| ], | |
| "depth_estimation_type": "relative", | |
| "max_depth": 1.0, | |
| "image_size": 518 | |
| } |