bthia97 commited on
Commit
3085d5d
1 Parent(s): 4d5187e

Add minimal transformers version requirement

Browse files

This metric depth estimation model will only be available with Release 4.45.0, and users need to install the latest version from the source or otherwise
cc

@qubvel-hf

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: