Error loading script: depthmap.py
setothegreat opened this issue · 2 comments
I cannot run the script because I get a loading script error involving depthmap.py.
In the final line of the console, it lists "FileNotFoundError: [Errno 2] No such file or directory: './externals/Next_ViT/classification/nextvit.py'" as the specific error in question.
Not sure how to fix it, as a Google search doesn't turn up any similar results.
There were some changes in MiDaS repo recently. As a quick and dirty workaround until it is fixed correctly you can download old repo.
To do this edit /stable-diffusion-webui/extensions/multi-subject-render/install.py
to
import launch
launch.git_clone("https://github.com/isl-org/MiDaS.git", "repositories/midas", "midas","f28885afc4c6c8907e0555b00e28b299ba2e5a16")
You may also need to delete midas folder in: /stable-diffusion-webui/repositories/
https://github.com/isl-org/MiDaS.git", "repositories/midas", "midas","f28885afc4c6c8907e0555b00e28b299ba2e5a16
Looks like issue was just fixed over at midas github.
If you go into the midas folder directly and do a 'git pull' this fixed it for me.