deforum-art / sd-webui-deforum

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

[Bug]: 'Field' object has no attribute 'before_process'. Please, check your schedules/ init values. #928

Closed DevilsCrypto closed 10 months ago

DevilsCrypto commented 10 months 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?

I am using https://github.com/vladmandic/automatic with Deforum extension. When i try to run deforum i get the following error:

`START OF TRACEBACK Traceback (most recent call last): File "/home/ubuntu/automatic/extensions/deforum-/scripts/deforum_helpers/run_deforum.py", line 116, in run_deforum render_animation(args, anim_args, video_args, parseq_args, loop_args, controlnet_args, root) File "/home/ubuntu/automatic/extensions/deforum-/scripts/deforum_helpers/render.py", line 577, in render_animation image = generate(args, keys, anim_args, loop_args, controlnet_args, root, parseq_adapter, frame_idx, sampler_name=scheduled_sampler_name) File "/home/ubuntu/automatic/extensions/deforum-/scripts/deforum_helpers/generate.py", line 78, in generate return generate_inner(args, keys, anim_args, loop_args, controlnet_args, root, parseq_adapter, frame, sampler_name) File "/home/ubuntu/automatic/extensions/deforum-/scripts/deforum_helpers/generate.py", line 241, in generate_inner processed = processing.process_images(p_txt) File "/home/ubuntu/automatic/modules/processing.py", line 681, in process_images p.scripts.before_process(p) AttributeError: 'Field' object has no attribute 'before_process' END OF TRACEBACK

User friendly error message: Error: 'Field' object has no attribute 'before_process'. Please, check your schedules/ init values.`

Steps to reproduce the problem

Each video generation causes this issue with latest version of automatic.

What should have happened/how would you fix it?

I have created an issue at automatic, but its an error caused by deforum:

https://github.com/vladmandic/automatic/issues/2485

Not sure how to fix it.

Torch version

2.1.1

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

No response

Deforum settings

Defaults

Webui core settings

`*START OF TRACEBACK*
Traceback (most recent call last):
  File "/home/ubuntu/automatic/extensions/deforum-/scripts/deforum_helpers/run_deforum.py", line 116, in run_deforum
    render_animation(args, anim_args, video_args, parseq_args, loop_args, controlnet_args, root)
  File "/home/ubuntu/automatic/extensions/deforum-/scripts/deforum_helpers/render.py", line 577, in render_animation
    image = generate(args, keys, anim_args, loop_args, controlnet_args, root, parseq_adapter, frame_idx, sampler_name=scheduled_sampler_name)
  File "/home/ubuntu/automatic/extensions/deforum-/scripts/deforum_helpers/generate.py", line 78, in generate
    return generate_inner(args, keys, anim_args, loop_args, controlnet_args, root, parseq_adapter, frame, sampler_name)
  File "/home/ubuntu/automatic/extensions/deforum-/scripts/deforum_helpers/generate.py", line 241, in generate_inner
    processed = processing.process_images(p_txt)
  File "/home/ubuntu/automatic/modules/processing.py", line 681, in process_images
    p.scripts.before_process(p)
AttributeError: 'Field' object has no attribute 'before_process'
*END OF TRACEBACK*

User friendly error message:
Error: 'Field' object has no attribute 'before_process'. Please, check your schedules/ init values.`

Console logs

`*START OF TRACEBACK*
Traceback (most recent call last):
  File "/home/ubuntu/automatic/extensions/deforum-/scripts/deforum_helpers/run_deforum.py", line 116, in run_deforum
    render_animation(args, anim_args, video_args, parseq_args, loop_args, controlnet_args, root)
  File "/home/ubuntu/automatic/extensions/deforum-/scripts/deforum_helpers/render.py", line 577, in render_animation
    image = generate(args, keys, anim_args, loop_args, controlnet_args, root, parseq_adapter, frame_idx, sampler_name=scheduled_sampler_name)
  File "/home/ubuntu/automatic/extensions/deforum-/scripts/deforum_helpers/generate.py", line 78, in generate
    return generate_inner(args, keys, anim_args, loop_args, controlnet_args, root, parseq_adapter, frame, sampler_name)
  File "/home/ubuntu/automatic/extensions/deforum-/scripts/deforum_helpers/generate.py", line 241, in generate_inner
    processed = processing.process_images(p_txt)
  File "/home/ubuntu/automatic/modules/processing.py", line 681, in process_images
    p.scripts.before_process(p)
AttributeError: 'Field' object has no attribute 'before_process'
*END OF TRACEBACK*

User friendly error message:
Error: 'Field' object has no attribute 'before_process'. Please, check your schedules/ init values.`

Additional information

No response

github-actions[bot] commented 10 months ago

This issue has been closed due to incorrect formatting. Please address the following mistakes and reopen the issue (click on the 'Reopen' button below):