deforum-art / sd-webui-deforum

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

After Deforum update AttributeError: 'int' object has no attribute 'outpath_samples' #369

Closed gndqb closed 1 year ago

gndqb commented 1 year ago

Discussed in https://github.com/deforum-art/deforum-for-automatic1111-webui/discussions/368

Originally posted by **gndqb** February 21, 2023 After updating Deforum I get this with Automation Mode:Interpolation: AttributeError: 'int' object has no attribute 'outpath_samples' Deforum and a1111 last version. Steps: Reload UI Deforum tab Generate with default settings (2D mode): all is fine Switch to Interpolation mode, Generate: AttributeError: 'int' object has no attribute 'outpath_samples'

Deforum extension for auto1111 webui, v2.2b
Saving interpolation animation frames to d:\Graphics\stable-diffusion-webui\stable-diffusion-webui\outputs/img2img-images\Deforum
Generating interpolated prompts for all frames
Interpolation frame: 0/120
Seed: 2638475796
Prompt: tiny cute swamp bunny, highly detailed, intricate, ultra hd, sharp photo, crepuscular rays, in focus, by tomasz alen kopera
Error completing request
Arguments: ('task(3p92df8lneykmo0)', None, False, '', 'Interpolation', 120, 'replicate', '0:(0)', '0:(1.0025+0.002*sin(1.25*3.14*t/30))', '0:(0)', '0:(0)', '0:(1.75)', '0:(0)', '0:(0)', '0:(0)', False, '0:(0)', '0:(0)', '0:(0)', '0:(53)', '0: (0.065)', '0: (0.65)', '0: (1.0)', '0: (7)', '0:(1.5)', False, '0:(1)', '0:(0)', False, '0: (25)', '0: (70)', '0: (200)', '0: (10000)', '0:(5), 1:(-1), 219:(-1), 220:(5)', False, '0: ("Euler a")', '0: ("!({everywhere}^({init_mask}|{video_mask}) ) ")', False, '0: ("!({everywhere}^({init_mask}|{video_mask}) ) ")', False, '0: ("model1.ckpt"), 100: ("model2.ckpt")', False, '0: (2)', '0: (5)', '0: (1.0)', '0: (0.35)', '0: (0.0)', 'Match Frame 0 LAB', 1.0, False, '2', 'perlin', 8, 8, 4, 0.5, True, 0.2, 'border', 'bicubic', False, 'https://github.com/hithereai/d/releases/download/m/vid.mp4', 1, 0, -1, False, False, '/content/video_in.mp4', False, '20220829210106', '{\n    "0": "tiny cute swamp bunny, highly detailed, intricate, ultra hd, sharp photo, crepuscular rays, in focus, by tomasz alen kopera",\n    "30": "anthropomorphic clean cat, surrounded by fractals, epic angle and pose, symmetrical, 3d, depth of field, ruan jia and fenghua zhong",\n    "60": "a beautiful coconut --neg photo, realistic",\n    "90": "a beautiful durian, trending on Artstation"\n}\n    ', '', '', 512, 512, False, False, -1, 'Euler a', False, 0, 0, 25, 0.0, 1, True, True, False, False, False, 'Deforum', '{timestring}_{index}_{prompt}.png', 'iter', 1, False, False, True, 0, 'https://github.com/hithereai/d/releases/download/m/kaba.png', False, False, False, True, 'https://github.com/hithereai/d/releases/download/m/mask.jpg', 1, 1, 4, 1, True, 4, 'reroll', False, 15, False, 'FFMPEG mp4', 'd:\\Graphics\\stable-diffusion-webui\\stable-diffusion-webui\\venv\\lib\\site-packages\\imageio_ffmpeg\\binaries\\ffmpeg-win64-v4.2.2.exe', '17', 'slow', 'None', 'https://freetestdata.com/wp-content/uploads/2021/09/Free_Test_Data_1MB_MP3.mp3', False, 'realesr-animevideov3', 'x2', True, False, 'x0_pred', 'C:/SD/20230124234916_%05d.png', 'testvidmanualsettings.mp4', False, 'RIFE v4.6', 'Disabled', 'Disabled', False, '', True, False, 'None', True, 'None', False, 'Farneback', False, 'None', False, 'None', False, False, '0:(1)', '0:(0.5)', '0:(1)', '0:(100)', '0:(0)', False, '{\n    "0": "https://user-images.githubusercontent.com/121192995/215279228-1673df8a-f919-4380-b04c-19379b2041ff.png",\n    "50": "https://user-images.githubusercontent.com/121192995/215279281-7989fd6f-4b9b-4d90-9887-b7960edd59f8.png",\n    "100": "https://user-images.githubusercontent.com/121192995/215279284-afc14543-d220-4142-bbf4-503776ca2b8b.png",\n    "150": "https://user-images.githubusercontent.com/121192995/215279286-23378635-85b3-4457-b248-23e62c048049.jpg",\n    "200": "https://user-images.githubusercontent.com/121192995/215279228-1673df8a-f919-4380-b04c-19379b2041ff.png"\n}', '0:(0.75)', '0:(0.35)', '0:(0.25)', '0:(20)', '0:(0.075)', None, None, False, False, False, False, 'none', 'None', 1, 1, 64, 64, 64, 'Scale to Fit (Inner Fit)') {}
Traceback (most recent call last):
  File "D:\Graphics\stable-diffusion-webui\stable-diffusion-webui\modules\call_queue.py", line 56, in f
    res = list(func(*args, **kwargs))
  File "D:\Graphics\stable-diffusion-webui\stable-diffusion-webui\modules\call_queue.py", line 37, in f
    res = func(*args, **kwargs)
  File "D:\Graphics\stable-diffusion-webui\stable-diffusion-webui\extensions\deforum-for-automatic1111-webui\scripts\deforum.py", line 84, in run_deforum
    render_interpolation(args, anim_args, video_args, parseq_args, loop_args, controlnet_args, root.animation_prompts, root)
  File "d:\Graphics\stable-diffusion-webui\stable-diffusion-webui/extensions/deforum-for-automatic1111-webui/scripts\deforum_helpers\render_modes.py", line 144, in render_interpolation
    image = generate(args, anim_args, loop_args, root, frame_idx)
  File "d:\Graphics\stable-diffusion-webui\stable-diffusion-webui/extensions/deforum-for-automatic1111-webui/scripts\deforum_helpers\generate.py", line 57, in generate
    p = get_webui_sd_pipeline(args, root, frame)
  File "d:\Graphics\stable-diffusion-webui\stable-diffusion-webui/extensions/deforum-for-automatic1111-webui/scripts\deforum_helpers\webui_sd_pipeline.py", line 46, in get_webui_sd_pipeline
    p.outpath_samples = root.outpath_samples
AttributeError: 'int' object has no attribute 'outpath_samples'
hithereai commented 1 year ago

Confirmed, will fix.