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
File size: 808 Bytes
838f486 f1f5d4d 838f486 f1f5d4d f9c69d8 838f486 f1f5d4d 838f486 | 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 35 36 37 38 | {
"library_name": "kerasformers",
"kerasformers_version": "1.2.1",
"model_module": "kerasformers.models.depth_anything_v1",
"model_class": "DepthAnythingV1DepthEstimation",
"variant": "depth_anything_small",
"weights": "model.weights.h5",
"schema_version": 2,
"weight_dtype": "float32",
"model_type": "depth_anything",
"vision_config": {
"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
}
} |