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

Deforum doesn't load after latest updates #62

Closed Harvester62 closed 1 year ago

Harvester62 commented 1 year ago

After updating the extension in SD Web UI this morning, Deforum doesn't load anymore in the UI and the console displays the following error messages:

Error executing callback ui_tabs_callback for C:\stable-diffusion-webui\extensions\deforum-for-automatic1111-webui\scripts\deforum.py Traceback (most recent call last): File "C:\stable-diffusion-webui\modules\script_callbacks.py", line 87, in ui_tabs_callback res += c.callback() or [] File "C:\stable-diffusion-webui\extensions\deforum-for-automatic1111-webui\scripts\deforum.py", line 325, in on_ui_tabs component_list = [ds.override_settings_with_file, ds.custom_settings_file, ds.animation_mode, ds.max_frames, ds.border, ds.angle, ds.zoom, ds.translation_x, ds.translation_y, ds.translation_z, ds.rotation_3d_x, ds.rotation_3d_y, ds.rotation_3d_z, ds.flip_2d_perspective, ds.perspective_flip_theta, ds.perspective_flip_phi, ds.perspective_flip_gamma, ds.perspective_flip_fv, ds.noise_schedule, ds.strength_schedule, ds.contrast_schedule, ds.cfg_scale_schedule, ds.fov_schedule, ds.near_schedule, ds.far_schedule, ds.seed_schedule, ds.color_coherence, ds.diffusion_cadence, ds.use_depth_warping, ds.midas_weight, ds.near_plane, ds.far_plane, ds.fov, ds.padding_mode, ds.sampling_mode, ds.save_depth_maps, ds.video_init_path, ds.extract_nth_frame, ds.overwrite_extracted_frames, ds.use_mask_video, ds.video_mask_path, ds.interpolate_key_frames, ds.interpolate_x_frames, ds.resume_from_timestring, ds.resume_timestring, ds.prompts, ds.animation_prompts, ds.W, ds.H, ds.restore_faces, ds.tiling, ds.enable_hr, ds.firstphase_width, ds.firstphase_height, ds.seed, ds.sampler, ds.seed_enable_extras, ds.subseed, ds.subseed_strength, ds.seed_resize_from_w, ds.seed_resize_from_h, ds.steps, ds.ddim_eta, ds.n_batch, ds.make_grid, ds.grid_rows, ds.save_settings, ds.save_samples, ds.display_samples, ds.save_sample_per_step, ds.show_sample_per_step, ds.override_these_with_webui, ds.batch_name, ds.filename_format, ds.seed_behavior, ds.use_init, ds.from_img2img_instead_of_link, ds.strength_0_no_init, ds.strength, ds.init_image, ds.use_mask, ds.use_alpha_as_mask, ds.invert_mask, ds.overlay_mask, ds.mask_file, ds.mask_contrast_adjust, ds.mask_brightness_adjust, ds.mask_overlay_blur, ds.skip_video_for_run_all, ds.fps, ds.output_format, ds.ffmpeg_location, ds.add_soundtrack, ds.soundtrack_path, ds.use_manual_settings, ds.render_steps, ds.max_video_frames, ds.path_name_modifier, ds.image_path, ds.mp4_path, ds.i1, ds.i2, ds.i3, ds.i4, ds.i5, ds.i6, ds.i7, ds.i8, ds.i9, ds.i10, ds.i11, ds.i12, ds.i13, ds.i14, ds.i15, ds.i16, ds.i17, ds.i18, ds.i19, ds.i20, ds.i21, ds.i22, ds.i23, ds.i24, ds.i25, ds.i26, ds.i27, ds.i28, ds.i29, ds.i30, ds.i31, ds.i32, ds.i33, ds.i34, ds.i35, ds.i36] AttributeError: 'types.SimpleNamespace' object has no attribute 'mask_contrast_adjust'

kabachuha commented 1 year ago

There was a tiny UI update, so try removing ui-config.json from your webui directory to clear gradio cache (make a backup just in case)

Funofabot commented 1 year ago

Cut and paste your existing Deforum EXTENSION from the webui extension folder to somewhere outside for backup reasons. Use the extension tab in webui That will show a tab with more tabs in it. Select the "Available" tab and then install deforum from there. Otherwise endless dependency issues. You now have to install the extension inside of WebUI. image

Funofabot commented 1 year ago

Specific reply to the poster. The issue with the mask_contrast_adjust has been fixed as of yesterday, a few files were updated to make that change work. Its recommended that you install from the repo directly into webui.

Harvester62 commented 1 year ago

OK, here is an update. I removed (moved on my desktop) the ui-config.json file as suggested, as well as the entire folder deforum-for-automatic1111-webui from the \extensions directory, refreshed the list of extensions and reinstalled it, and after that I did a check on updates in the Installed folder but the extension was still showing as "behind" therefore I did a Pull on the copy on my desktop and replaced the entire folder just installed with the "old" one I've just updated with your master repository. Now, the updates check shows it as "latest". Thank you for your assistance. I will now have to check if there is anything new to be translated into Italian language. Best regards.

kabachuha commented 1 year ago

Glad it helped!