deforum-art / sd-webui-deforum

Deforum extension for AUTOMATIC1111's Stable Diffusion webui
https://deforum.github.io
Other
2.69k stars 389 forks source link

[Bug]: after the last update deforum generates 1 frame and crashes #392

Closed bismark211 closed 1 year ago

bismark211 commented 1 year ago

Have you read the latest version of the FAQ?

Is there an existing issue for this?

Are you using the latest version of the Deforum extension?

What happened?

after the last update deforum generates 1 frame and crashes

Steps to reproduce the problem

  1. Go to .... deforum
  2. Press ....generate 3.generate 1 frame and crashes

What should have happened?

generate 300 frames

WebUI and Deforum extension Commit IDs

webui commit id - https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8 deforum exten commit id - ff7201b5a5b8b79dcca769c81937f22d005446a9

On which platform are you launching the webui with the extension?

Local PC setup (Windows)

Webui core settings

https://gist.github.com/bismark211/6c03eac430fd308eb37e2d62091c08bc

Console logs

Traceback (most recent call last):
  File "C:\stable-diffusion-webui\modules\call_queue.py", line 56, in f
    res = list(func(*args, **kwargs))
  File "C:\stable-diffusion-webui\modules\call_queue.py", line 37, in f
    res = func(*args, **kwargs)
  File "C:\stable-diffusion-webui\extensions\deforum-for-automatic1111-webui\scripts\deforum.py", line 80, in run_deforum
    render_animation(args, anim_args, video_args, parseq_args, loop_args, controlnet_args, root.animation_prompts, root)
  File "C:\stable-diffusion-webui/extensions/deforum-for-automatic1111-webui/scripts\deforum_helpers\render.py", line 298, in render_animation
    prev_img, depth = anim_frame_warp(prev_img, args, anim_args, keys, frame_idx, depth_model, depth=None, device=root.device, half_precision=root.half_precision)
  File "C:\stable-diffusion-webui/extensions/deforum-for-automatic1111-webui/scripts\deforum_helpers\animation.py", line 162, in anim_frame_warp
    depth = depth_model.predict(prev_img_cv2, anim_args, half_precision)
  File "C:\stable-diffusion-webui/extensions/deforum-for-automatic1111-webui/scripts\deforum_helpers\depth.py", line 71, in predict
    use_adabins = midas_weight < 1.0 and self.adabins_helper is not None
TypeError: '<' not supported between instances of 'types.SimpleNamespace' and 'float'

Additional information

No response

bismark211 commented 1 year ago

this happens when you turn on the 3d mode!

bismark211 commented 1 year ago

it works with any settings, it doesn’t work only in 3d mode, so I deleted my settings file, it’s not about it!

bismark211 commented 1 year ago

crashes in 3d mode even with standard settings

bismark211 commented 1 year ago

reinstalling Deforum did not help

bismark211 commented 1 year ago

please tell me what to do i dont understand

hithereai commented 1 year ago

update your extension, like right now. then it will work.

bismark211 commented 1 year ago

Thanks!!!!