[X] I have visited the FAQ page right now and my issue is not present there
Is there an existing issue for this?
[X] I have searched the existing issues and checked the recent builds/commits of both this extension and the webui
Are you using the latest version of the Deforum extension?
[X] I have Deforum updated to the lastest version and I still have the issue.
What happened?
Error if missing keyframe at 0 (I think this same trace can happen other ways too)
Traceback (most recent call last):
File "C:\Users\rg113\stable-diffusion-webui\modules\call_queue.py", line 56, in f
res = list(func(*args, **kwargs))
File "C:\Users\rg113\stable-diffusion-webui\modules\call_queue.py", line 37, in f
res = func(*args, **kwargs)
File "C:\Users\rg113\stable-diffusion-webui\extensions\deforum\scripts\deforum.py", line 85, in run_deforum
render_animation(args, anim_args, video_args, parseq_args, loop_args, controlnet_args, root.animation_prompts, root)
File "C:\Users\rg113\stable-diffusion-webui/extensions/deforum/scripts\deforum_helpers\render.py", line 61, in render_animation
keys = DeformAnimKeys(anim_args, args.seed) if not use_parseq else ParseqAnimKeys(parseq_args, anim_args, video_args)
File "C:\Users\rg113\stable-diffusion-webui/extensions/deforum/scripts\deforum_helpers\animation_key_frames.py", line 17, in __init__
self.rotation_3d_x_series = self.fi.get_inbetweens(self.fi.parse_key_frames(anim_args.rotation_3d_x))
File "C:\Users\rg113\stable-diffusion-webui/extensions/deforum/scripts\deforum_helpers\animation_key_frames.py", line 83, in get_inbetweens
if not value_is_number:
UnboundLocalError: local variable 'value_is_number' referenced before assignment
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?
Error if missing keyframe at 0 (I think this same trace can happen other ways too)
The error is this line, which is referencing value_is_number
I suspect the fix is just to indent that block, and just changing it to an else but I'm not too familiar with the intended behavior
Steps to reproduce the problem
What should have happened?
I would expect the first keyframe in the series, whether 0 or later, to dictate keyframes before
WebUI and Deforum extension Commit IDs
webui commit id - 3e0f9a75438fa815429b5530261bcf7d80f3f101 deforum exten commit id - 5a98dc2bd08b0f9e6758ecff448f340e62c60044
On which platform are you launching the webui with the extension?
Local PC setup (Windows)
Deforum settings
https://gist.github.com/ryango/dee6c1dcb25328c2c702fd9e126b7c6a
Webui core settings
https://gist.github.com/ryango/4af42da0c6aa2320c91bb60dbe981675
Console logs
Additional information
No response