-
Notifications
You must be signed in to change notification settings - Fork 18
Description
The masking process works and it generates all the mask frames for my video (8 seconds at 25 fps), but then it generates the first image of the new video and stops with an error message:
inpainting fragment 1 / 1
Aspect ratio has been corrected from 512x512 to 384x680
Use cn inpaint instead of sd inpaint
*** object of type 'NoneType' has no len() ***
Traceback (most recent call last):
File "C:\stable-diffusion-webui\extensions\sd-webui-replacer\replacer\video_animatediff.py", line 165, in animatediffGenerate
processed = processFragment(fragmentPath, initImage, gArgs)
File "C:\stable-diffusion-webui\extensions\sd-webui-replacer\replacer\video_animatediff.py", line 26, in processFragment
processed, _ = inpaint(initImage, gArgs)
File "C:\stable-diffusion-webui\extensions\sd-webui-replacer\replacer\inpaint.py", line 122, in inpaint
processed = process_images(p)
File "C:\stable-diffusion-webui\modules\processing.py", line 847, in process_images
res = process_images_inner(p)
File "C:\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\batch_hijack.py", line 56, in processing_process_images_hijack
cn_is_batch, batches, output_dir, input_file_names = get_cn_batches(p)
File "C:\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\batch_hijack.py", line 210, in get_cn_batches
cn_batch_size = min(len(getattr(unit, 'batch_images', []))
File "C:\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\batch_hijack.py", line 210, in
cn_batch_size = min(len(getattr(unit, 'batch_images', []))
TypeError: object of type 'NoneType' has no len()
Any help much appreciated!