Add minimal transformers version requirement
#1
by
bthia97
- opened
README.md
CHANGED
@@ -39,6 +39,16 @@ alt="drawing" width="600"/>
|
|
39 |
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
|
40 |
other versions on a task that interests you.
|
41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
### How to use
|
43 |
|
44 |
Here is how to use this model to perform zero-shot depth estimation:
|
|
|
39 |
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
|
40 |
other versions on a task that interests you.
|
41 |
|
42 |
+
### Requirements
|
43 |
+
|
44 |
+
`transformers>=4.45.0`
|
45 |
+
|
46 |
+
Alternatively, use `transformers` latest version installed from the source:
|
47 |
+
|
48 |
+
```
|
49 |
+
pip install git+https://github.com/huggingface/transformers
|
50 |
+
```
|
51 |
+
|
52 |
### How to use
|
53 |
|
54 |
Here is how to use this model to perform zero-shot depth estimation:
|