Error: 'expected str, bytes or os.PathLike object, not NoneType'. Check your schedules/ init values please. Also make sure you don't have a backwards slash in any of your PATHs - use / instead of \. Full error message is in your terminal/ cli. #769
Replies: 1 comment 2 replies
-
What's stable diffusion portable? What version are you actually running? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Apologies in advance, If this is a silly query
The steps I followed before reaching the bug
Step1: Setup Automatic1111
Step2: Install deform from extension tab
Step3: Install sd-webui-controlnet from https://github.com/Mikubill/sd-webui-controlnet
Step4: App start
Step5: Navigate to deforum tab
Step6: Hit generate button
Deforum generate 2 images and saves at output/img2img directory
Then video generation stops this error message can be seen on screen
"Error: 'expected str, bytes or os.PathLike object, not NoneType'. Check your schedules/ init values please. Also make sure you don't have a backwards slash in any of your PATHs - use / instead of . Full error message is in your terminal/ cli.
Time taken: 44.46s
Torch active/reserved: 2624/3174 MiB, Sys VRAM: 5121/8192 MiB (62.51%)"
Following is error message of CLI
START OF TRACEBACK
Traceback (most recent call last):
File "C:\stable-diffusion-portable-main\extensions\deforum\scripts\deforum_helpers\run_deforum.py", line 78, in run_deforum
render_animation(args, anim_args, video_args, parseq_args, loop_args, controlnet_args, root)
File "C:\stable-diffusion-portable-main\extensions\deforum\scripts\deforum_helpers\render.py", line 547, in render_animation
image = generate(args, keys, anim_args, loop_args, controlnet_args, root, frame_idx, sampler_name=scheduled_sampler_name)
File "C:\stable-diffusion-portable-main\extensions\deforum\scripts\deforum_helpers\generate.py", line 55, in generate
return generate_inner(args, keys, anim_args, loop_args, controlnet_args, root, frame, sampler_name)
File "C:\stable-diffusion-portable-main\extensions\deforum\scripts\deforum_helpers\generate.py", line 240, in generate_inner
processed = processing.process_images(p)
File "C:\stable-diffusion-portable-main\modules\processing.py", line 610, in process_images
res = process_images_inner(p)
File "C:\stable-diffusion-portable-main\extensions\sd-webui-controlnet\scripts\batch_hijack.py", line 42, in processing_process_images_hijack
return getattr(processing, '__controlnet_original_process_images_inner')(p, *args, **kwargs)
File "C:\stable-diffusion-portable-main\modules\processing.py", line 824, in process_images_inner
images.save_image(grid, p.outpath_grids, "grid", p.all_seeds[0], p.all_prompts[0], opts.grid_format, info=infotext(), short_filename=not opts.grid_extended_filename, p=p, grid=True)
File "C:\stable-diffusion-portable-main\modules\images.py", line 567, in save_image
os.makedirs(path, exist_ok=True)
File "C:\stable-diffusion-portable-main\python\lib\os.py", line 210, in makedirs
head, tail = path.split(name)
File "C:\stable-diffusion-portable-main\python\lib\ntpath.py", line 211, in split
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType
END OF TRACEBACK
Thankyou
Beta Was this translation helpful? Give feedback.
All reactions