Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileNotFoundError: [Errno 2] No such file or directory: 'extensions/depthmap2mask/scripts/depthmap_for_depth2img.py' #14

Open
wilzamguerrero opened this issue Nov 30, 2022 · 4 comments

Comments

@wilzamguerrero
Copy link

Hi i hope you are fine i have a problem with the extension

FileNotFoundError: [Errno 2] No such file or directory: 'extensions/depthmap2mask/scripts/depthmap_for_depth2img.py'

Connected
Error completing request
Arguments: (0, '', '', 'None', 'None', <PIL.Image.Image image mode=RGB size=512x512 at 0x7FD06CA987D0>, None, None, None, 0, 20, 0, 4, 1, False, False, 1, 1, 7, 0.75, -1.0, -1.0, 0, 0, 0, False, 512, 512, 0, False, 32, 0, '', '', 9, '

    \n
  • CFG Scale should be 2 or lower.
  • \n
\n', True, True, '', '', True, 50, True, 1, 0, False, 4, 1, '

Recommended settings: Sampling Steps: 80-100, Sampler: Euler a, Denoising strength: 0.8

', 128, 8, ['left', 'right', 'up', 'down'], 1, 0.05, 128, 4, 0, ['left', 'right', 'up', 'down'], False, False, False, '', '

Will upscale the image to twice the dimensions; use width and height sliders to set tile size

', 64, 0, 1, '', 0, '', True, False, False, False, 0, True, 384, 384, False, 2, True, True, False) {}
Traceback (most recent call last):

File "", line 724, in exec_module
File "", line 859, in get_code
File "", line 916, in get_data
FileNotFoundError: [Errno 2] No such file or directory: 'extensions/depthmap2mask/scripts/depthmap_for_depth2img.py'

@brennop
Copy link

brennop commented Nov 30, 2022

Had the same error on a google colab. Had to change the line to have a absolute import instead of a relative one.

@wilzamguerrero
Copy link
Author

wilzamguerrero commented Dec 1, 2022

yeah now is working

@djcedr
Copy link

djcedr commented Dec 2, 2022

Hi, I have the same problem - how/where do you 'change the line to have a absolute import instead of a relative one.' @brennop please? I tried to change the destination folder in the line I added to colab before the block that launches the webUI, but it didn't change anything...

!git clone https://github.com/Extraltodeus/depthmap2mask.git /content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/depthmap2mask

instead of

!git clone https://github.com/Extraltodeus/depthmap2mask.git /content/stable-diffusion-webui/extensions/depthmap2mask

@wilzamguerrero
Copy link
Author

Hi, I have the same problem - how/where do you 'change the line to have a absolute import instead of a relative one.' @brennop please? I tried to change the destination folder in the line I added to colab before the block that launches the webUI, but it didn't change anything...

!git clone https://github.com/Extraltodeus/depthmap2mask.git /content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/depthmap2mask

instead of

!git clone https://github.com/Extraltodeus/depthmap2mask.git /content/stable-diffusion-webui/extensions/depthmap2mask

well you can watch my repo i try to do other implementation more simply about sd, with custom path and other things, https://github.com/wilzamguerrero/SDZ
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants