amyeroberts HF staff bthia97 commited on
Commit
4eab4cf
1 Parent(s): f79cc1b

Add minimal transformers version requirement (#1)

Browse files

- Add minimal transformers version requirement (fc30733a1f21ed50b9d01fc0da17418ebf24c63e)


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: