Instructions to use facebook/dpt-dinov2-base-kitti with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/dpt-dinov2-base-kitti with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("depth-estimation", model="facebook/dpt-dinov2-base-kitti")# Load model directly from transformers import AutoImageProcessor, AutoModelForDepthEstimation processor = AutoImageProcessor.from_pretrained("facebook/dpt-dinov2-base-kitti") model = AutoModelForDepthEstimation.from_pretrained("facebook/dpt-dinov2-base-kitti") - Notebooks
- Google Colab
- Kaggle
Update preprocessor_config.json
Browse files- preprocessor_config.json +1 -1
preprocessor_config.json
CHANGED
|
@@ -22,5 +22,5 @@
|
|
| 22 |
"height": 384,
|
| 23 |
"width": 384
|
| 24 |
},
|
| 25 |
-
"
|
| 26 |
}
|
|
|
|
| 22 |
"height": 384,
|
| 23 |
"width": 384
|
| 24 |
},
|
| 25 |
+
"size_divisor": 14
|
| 26 |
}
|