Skip to content

It's only generating the first frame of a video, and then returning an error?  #106

@KarmaMole

Description

@KarmaMole

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! 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions