Closed JargeZ closed 1 year ago
You need to run install_next_vit.sh that is in the root of the repo, but it should be run from the root of the repo - not from, in the case of colab, /content
if you cloned using this command (resulting in the repo root being /deps/MiDaS/)
!git clone -q https://github.com/isl-org/MiDaS.git /deps/MiDaS
then you could use this trick to ensure the files end up in the right place
!cd /deps/MiDaS/; bash /deps/MiDaS/install_next_vit.sh
Same issue when using colab
I want to take the opportunity to thank you warmly all of you guys, these AI notebooks give in my hands an artistic revolution. Hope you'll fix it soon Thank you so much !
We are working on a fix. Thanks for raising this issue.
Fixed with #194
Hello! I am using the following jupiter notebook https://github.com/deforum/stable-diffusion/blob/main/Deforum_Stable_Diffusion.ipynb
When setting up the environment, the following line causes problems https://github.com/isl-org/MiDaS/blob/eaa249ff68fde82cad78982d0a36523e3ebfbfdf/midas/backbones/next_vit.py#L8
It looks like it wasn't intended to be used this way.