-
Notifications
You must be signed in to change notification settings - Fork 9
[Support for Colab] FileNotFoundError: [Errno 2] No such file or directory #4
Comments
Same issue, but the error here is:
Additionally, 'Executing webui-user.bat file...' yields this error:
|
Can you please provide the following information:
|
OS info: Windows 11 Home, Version 21H2 64bit Please let me know if you need additional info |
Microsoft Windows 10 Pro, 10.0.19044 Build 19044
Locally, via Visions of Chaos's automatic1111 SD webui install
7f8able (HEAD -> master, origin/master, origin/HEAD) I think the second problem in my post (unicode error) is erroring because it is treating the '\U' in 'C:\Users' as the start of a unicode character. There are discussions of this on webui repo, e.g. here: AUTOMATIC1111/stable-diffusion-webui#1987 or maybe the string can be escaped to avoid. |
I've got a similar error when running the script via colab as well, all the images are generated but when the script is going to create the HTML visualization it yields this message and stop the process:
The colab I'm using is this one: |
I did not build in explicit support for colab because I don't use colab, but if there's something easy that I can fix to make it work both on colab and on native PCs, then I would accept a PR for that. |
Hello,
The following error occurs whenever attempting to generate an image using your script: FileNotFoundError: [Errno 2] No such file or directory: 'outputs/txt2img-images\xyz\00000\index.html'
Details from the webui console:
Traceback (most recent call last):
File "C:\dif\stable-diffusion-webui-master\modules\ui.py", line 212, in f
res = list(func(*args, **kwargs))
File "C:\dif\stable-diffusion-webui-master\webui.py", line 64, in f
res = func(*args, **kwargs)
File "C:\dif\stable-diffusion-webui-master\modules\txt2img.py", line 41, in txt2img
processed = modules.scripts.scripts_txt2img.run(p, *args)
File "C:\dif\stable-diffusion-webui-master\modules\scripts.py", line 162, in run
processed = script.run(p, *script_args)
File "C:\dif\stable-diffusion-webui-master\scripts\xyz_grid.py", line 363, in run
processed = draw_xyz_grid(
File "C:\dif\stable-diffusion-webui-master\scripts\xyz_grid.py", line 188, in draw_xyz_grid
shutil.copy2('scripts/xyz_grid.template.html', os.path.join(web_path, 'index.html'))
File "C:\Users\aurik\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 434, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "C:\Users\aurik\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 256, in copyfile
with open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: 'outputs/txt2img-images\xyz\00000\index.html'
The text was updated successfully, but these errors were encountered: