Commit
•
d2fc6a9
1
Parent(s):
092c82a
Add minimal transformers version requirement (#1)
Browse files- Add minimal transformers version requirement (1a3e39936c6c794bb2dfb531f0ff9f5eafc3a283)
Co-authored-by: Bertrand Thia <bthia97@users.noreply.huggingface.co>
README.md
CHANGED
@@ -38,6 +38,16 @@ alt="drawing" width="600"/>
|
|
38 |
You can use the raw model for tasks like zero-shot depth estimation. See the [model hub](https://huggingface.co/models?search=depth-anything) to look for
|
39 |
other versions on a task that interests you.
|
40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
### How to use
|
42 |
|
43 |
Here is how to use this model to perform zero-shot depth estimation:
|
|
|
38 |
You can use the raw model for tasks like zero-shot depth estimation. See the [model hub](https://huggingface.co/models?search=depth-anything) to look for
|
39 |
other versions on a task that interests you.
|
40 |
|
41 |
+
### Requirements
|
42 |
+
|
43 |
+
`transformers>=4.45.0`
|
44 |
+
|
45 |
+
Alternatively, use `transformers` latest version installed from the source:
|
46 |
+
|
47 |
+
```
|
48 |
+
pip install git+https://github.com/huggingface/transformers
|
49 |
+
```
|
50 |
+
|
51 |
### How to use
|
52 |
|
53 |
Here is how to use this model to perform zero-shot depth estimation:
|