Closed henryzhengr closed 2 months ago
You are right, as mentioned in #20, after that change, we also changed the requirements.txt
to install the more recent huggingface_hub
package to >=0.22.0, so you should update your huggingface_hub, too, to avoid that error.
In the latest commit, import unidepth using the following code will cause errors
The following error will occur:
Cause: This seems to be introduced by: https://github.com/lpiccinelli-eth/UniDepth/blob/bf29320f60943ae5c1c77636f05f232a5a144e1c/unidepth/models/unidepthv1/unidepthv1.py#L100-L104
Solution: Removing #L102 to #L104 seems to work