Replies: 4 comments 4 replies
-
So, I've read this topic https://www.reddit.com/r/StableDiffusion/comments/zu720s/deforum_filenotfounderror_errno_2_no_such_file_or/ |
Beta Was this translation helpful? Give feedback.
-
I am also getting the exact same error and installed it in the same way. |
Beta Was this translation helpful? Give feedback.
-
MiDas repo has messed it up completely, Ive tried so many fixes and they all result in some sort of error, brings to mind the image of the same signpost pointing in all different directions, I'm done with it, is a real shame as this script was excellent for creating new backgrounds. I hope MiDas get around to sorting it soon. |
Beta Was this translation helpful? Give feedback.
-
i think i got it fixed. the path in if there is still something missing, run |
Beta Was this translation helpful? Give feedback.
-
Everything worked earlier, but after I've reinstalled "Stable Diffusion" (Automatic1111), there is an error occurs, and I'm a noob in "Python", so I don't know, what to do (and I can't find anything about it in Google). My "Python" version is 3.10.6
I understand, that this line gives an error:
File "C:\prog\Git\stable-diffusion-webui\repositories\midas\midas\backbones\next_vit.py", line 8, in
file = open("./externals/Next_ViT/classification/nextvit.py", "r")
FileNotFoundError: [Errno 2] No such file or directory: './externals/Next_ViT/classification/nextvit.py'
What should I instal to make it right? It worked before. Please, tell me, should I reinstall "Python" or "Git", or install something on "Git"?
"Depthmap2mask" was installed using this way: "Copy the url of that repository into the extension tab"
Error completing request
Traceback (most recent call last):
File "C:\prog\Git\stable-diffusion-webui\modules\call_queue.py", line 45, in f
res = list(func(*args, **kwargs))
File "C:\prog\Git\stable-diffusion-webui\modules\call_queue.py", line 28, in f
res = func(*args, **kwargs)
File "C:\prog\Git\stable-diffusion-webui\modules\img2img.py", line 150, in img2img
processed = modules.scripts.scripts_img2img.run(p, args)
File "C:\prog\Git\stable-diffusion-webui\modules\scripts.py", line 328, in run
processed = script.run(p, script_args)
File "C:\prog\Git\stable-diffusion-webui\extensions\depthmap2mask\scripts\depth2image_depthmask.py", line 76, in run
sdmg = module_from_file("depthmap_for_depth2img",'extensions/depthmap2mask/scripts/depthmap_for_depth2img.py')
File "C:\prog\Git\stable-diffusion-webui\extensions\depthmap2mask\scripts\depth2image_depthmask.py", line 22, in module_from_file
spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\prog\Git\stable-diffusion-webui\extensions/depthmap2mask/scripts/depthmap_for_depth2img.py", line 11, in
from repositories.midas.midas.dpt_depth import DPTDepthModel
File "C:\prog\Git\stable-diffusion-webui\repositories\midas\midas\dpt_depth.py", line 5, in
from .blocks import (
File "C:\prog\Git\stable-diffusion-webui\repositories\midas\midas\blocks.py", line 21, in
from .backbones.next_vit import (
File "C:\prog\Git\stable-diffusion-webui\repositories\midas\midas\backbones\next_vit.py", line 8, in
file = open("./externals/Next_ViT/classification/nextvit.py", "r")
FileNotFoundError: [Errno 2] No such file or directory: './externals/Next_ViT/classification/nextvit.py'
Beta Was this translation helpful? Give feedback.
All reactions