amyeroberts HF staff bthia97 commited on
Commit
8078d68
1 Parent(s): 4d5187e

Add minimal transformers version requirement (#2)

Browse files

- Add minimal transformers version requirement (3085d5d44ccbc17a915accbce9d8ef78c513bc91)


Co-authored-by: Bertrand Thia <bthia97@users.noreply.huggingface.co>

Files changed (1) hide show
  1. README.md +10 -0
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: