Instructions to use pslime/depth-anything-v2-large-api with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pslime/depth-anything-v2-large-api with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("depth-estimation", model="pslime/depth-anything-v2-large-api")# Load model directly from transformers import AutoImageProcessor, AutoModelForDepthEstimation processor = AutoImageProcessor.from_pretrained("pslime/depth-anything-v2-large-api") model = AutoModelForDepthEstimation.from_pretrained("pslime/depth-anything-v2-large-api") - Notebooks
- Google Colab
- Kaggle
Create requirements.txt
Browse files- requirements.txt +4 -0
requirements.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
transformers
|
| 2 |
+
torch
|
| 3 |
+
Pillow
|
| 4 |
+
numpy
|