Open WorldofDepth opened 1 year ago
Update: apparently torch 2.1.0 is the problem; reverting to torch 2.0.1 using !pip install torch==2.0.1
fixes it.
On a related note, it was already clear that MiDaS requires an older version of timm to function (!pip install timm==0.6.13
).
This is for using MiDaS inside a Google Colab python notebook.
Developers, if you are able, please update for torch and timm compatibility!
Hy, I just encountered the same error, but the above solution didn't work for me.
Installing the following packages after git clone, worked for me in performing the inference. !pip install torchvision==0.14.0 !pip install timm==0.6.12 !pip install einops==0.6.0
Colab Notebook Link: https://colab.research.google.com/drive/1wHy3aNNdYR44TqmAJ9rYT_98XbtlB_j-?usp=sharing
Hi, this ran for me fine yesterday, but today gives the following error. Any ideas on how to solve it? I am using timm 0.6.13. Thank you for any help!