stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: Error with controlnet
Checklist
- [ ] The issue exists after disabling all extensions
- [ ] The issue exists on a clean installation of webui
- [X] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [X] The issue exists in the current version of the webui
- [ ] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet
What happened?
I have this problem since the last update when I try to use some preprocessors with controlnet, it doesn't happen with all of them, it mainly happens with the older preprocessors.
Steps to reproduce the problem
Try pre-processing and previewing realistic lineart controlnet
What should have happened?
Create the preview of the image normally.
What browsers do you use to access the UI ?
No response
Sysinfo
{ "Platform": "Windows-10-10.0.19045-SP0", "Python": "3.10.13", "Version": "v1.8.0", "Commit": "bef51aed032c0aaa5cfd80445bc4cf0d85b408b5", "Script path": "E:\stable-diffusion-webui", "Data path": "E:\stable-diffusion-webui", "Extensions dir": "E:\stable-diffusion-webui\extensions", "Checksum": "96a3a282e7a5f30bead9bbbd84ceebf59703a7cb06c6f57f054842aec346e577", "Commandline": [ "launch.py", "--xformers" ], "Torch env info": { "torch_version": "2.1.2+cu121", "is_debug_build": "False", "cuda_compiled_version": "12.1", "gcc_version": null, "clang_version": null, "cmake_version": null, "os": "Microsoft Windows 10 Pro", "libc_version": "N/A", "python_version": "3.10.13 | packaged by Anaconda, Inc. | (main, Sep 11 2023, 13:24:38) [MSC v.1916 64 bit (AMD64)] (64-bit runtime)", "python_platform": "Windows-10-10.0.19045-SP0", "is_cuda_available": "True", "cuda_runtime_version": "12.1.66\r", "cuda_module_loading": "LAZY", "nvidia_driver_version": "536.23", "nvidia_gpu_models": [ "GPU 0: NVIDIA GeForce RTX 3060", "GPU 1: NVIDIA GeForce RTX 3060", "GPU 2: NVIDIA GeForce RTX 2080" ], "cudnn_version": null, "pip_version": "pip3", "pip_packages": [ "numpy==1.26.2", "open-clip-torch==2.20.0", "pytorch-lightning==1.9.4", "torch==2.1.2+cu121", "torchdiffeq==0.2.3", "torchmetrics==1.3.1", "torchsde==0.2.6", "torchvision==0.16.2+cu121" ], "conda_packages": "", "hip_compiled_version": "N/A", "hip_runtime_version": "N/A", "miopen_runtime_version": "N/A", "caching_allocator_config": "", "is_xnnpack_available": "True", "cpu_info": [ "Architecture=9", "CurrentClockSpeed=3400", "DeviceID=CPU0", "Family=107", "L2CacheSize=3072", "L2CacheSpeed=", "Manufacturer=AuthenticAMD", "MaxClockSpeed=3400", "Name=AMD Ryzen 5 2600 Six-Core Processor ", "ProcessorType=3", "Revision=2050" ] }, "Exceptions": [], "CPU": { "model": "AMD64 Family 23 Model 8 Stepping 2, AuthenticAMD", "count logical": 12, "count physical": 6 }, "RAM": { "total": "32GB", "used": "13GB", "free": "19GB" }, "Extensions": [ { "name": "adetailer", "path": "E:\stable-diffusion-webui\extensions\adetailer", "version": "3f1d1b97", "branch": "main", "remote": "https://github.com/Bing-su/adetailer.git" }, { "name": "sd-webui-controlnet", "path": "E:\stable-diffusion-webui\extensions\sd-webui-controlnet", "version": "461f8c5f", "branch": "main", "remote": "https://github.com/Mikubill/sd-webui-controlnet.git" }, { "name": "sd-webui-inpaint-anything", "path": "E:\stable-diffusion-webui\extensions\sd-webui-inpaint-anything", "version": "ab57640d", "branch": "main", "remote": "https://github.com/Uminosachi/sd-webui-inpaint-anything.git" }, { "name": "sd-webui-inpaint-background", "path": "E:\stable-diffusion-webui\extensions\sd-webui-inpaint-background", "version": "4779170e", "branch": "main", "remote": "https://github.com/John-WL/sd-webui-inpaint-background.git" }, { "name": "sd-webui-kohya-hiresfix", "path": "E:\stable-diffusion-webui\extensions\sd-webui-kohya-hiresfix", "version": "05af9874", "branch": "main", "remote": "https://github.com/wcde/sd-webui-kohya-hiresfix.git" }, { "name": "sd-webui-model-mixer", "path": "E:\stable-diffusion-webui\extensions\sd-webui-model-mixer", "version": "bb3808bc", "branch": "master", "remote": "https://github.com/wkpark/sd-webui-model-mixer.git" }, { "name": "sd-webui-regional-prompter", "path": "E:\stable-diffusion-webui\extensions\sd-webui-regional-prompter", "version": "59d68e6e", "branch": "main", "remote": "https://github.com/hako-mikan/sd-webui-regional-prompter.git" }, { "name": "stable-diffusion-webui-images-browser", "path": "E:\stable-diffusion-webui\extensions\stable-diffusion-webui-images-browser", "version": "3d2d0f4c", "branch": "main", "remote": "https://github.com/AlUlkesh/stable-diffusion-webui-images-browser.git" } ], "Inactive extensions": [], "Environment": { "COMMANDLINE_ARGS": "--xformers", "GRADIO_ANALYTICS_ENABLED": "False" }, "Config": { "ldsr_steps": 100, "ldsr_cached": false, "SCUNET_tile": 256, "SCUNET_tile_overlap": 8, "SWIN_tile": 192, "SWIN_tile_overlap": 8, "SWIN_torch_compile": false, "hypertile_enable_unet": false, "hypertile_enable_unet_secondpass": false, "hypertile_max_depth_unet": 3, "hypertile_max_tile_unet": 256, "hypertile_swap_size_unet": 3, "hypertile_enable_vae": false, "hypertile_max_depth_vae": 3, "hypertile_max_tile_vae": 128, "hypertile_swap_size_vae": 3, "sd_model_checkpoint": "juggernaut_reborn.safetensors [338b85bc4f]", "sd_checkpoint_hash": "338b85bc4f7628bc42cce336242e79154a57c2a4360531436e97f7793568f18c", "outdir_samples": "", "outdir_txt2img_samples": "output\txt2img-images", "outdir_img2img_samples": "output\img2img-images", "outdir_extras_samples": "output\extras-images", "outdir_grids": "", "outdir_txt2img_grids": "output\txt2img-grids", "outdir_img2img_grids": "output\img2img-grids", "outdir_save": "log\images", "outdir_init_images": "output\init-images", "samples_save": true, "samples_format": "png", "samples_filename_pattern": "", "save_images_add_number": true, "save_images_replace_action": "Replace", "grid_save": true, "grid_format": "png", "grid_extended_filename": false, "grid_only_if_multiple": true, "grid_prevent_empty_spots": false, "grid_zip_filename_pattern": "", "n_rows": -1, "font": "", "grid_text_active_color": "#000000", "grid_text_inactive_color": "#999999", "grid_background_color": "#ffffff", "save_images_before_face_restoration": false, "save_images_before_highres_fix": false, "save_images_before_color_correction": false, "save_mask": false, "save_mask_composite": false, "jpeg_quality": 80, "webp_lossless": false, "export_for_4chan": true, "img_downscale_threshold": 4.0, "target_side_length": 4000.0, "img_max_size_mp": 200.0, "use_original_name_batch": true, "use_upscaler_name_as_suffix": false, "save_selected_only": true, "save_init_img": false, "temp_dir": "", "clean_temp_dir_at_start": false, "save_incomplete_images": false, "notification_audio": true, "notification_volume": 100, "save_to_dirs": true, "grid_save_to_dirs": true, "use_save_to_dirs_for_ui": false, "directories_filename_pattern": "[date]", "directories_max_prompt_words": 8, "auto_backcompat": true, "use_old_emphasis_implementation": false, "use_old_karras_scheduler_sigmas": false, "no_dpmpp_sde_batch_determinism": false, "use_old_hires_fix_width_height": false, "dont_fix_second_order_samplers_schedule": false, "hires_fix_use_firstpass_conds": false, "use_old_scheduling": false, "use_downcasted_alpha_bar": false, "lora_functional": false, "extra_networks_show_hidden_directories": true, "extra_networks_dir_button_function": false, "extra_networks_hidden_models": "When searched", "extra_networks_default_multiplier": 1, "extra_networks_card_width": 0.0, "extra_networks_card_height": 0.0, "extra_networks_card_text_scale": 1, "extra_networks_card_show_desc": true, "extra_networks_card_description_is_html": false, "extra_networks_card_order_field": "Path", "extra_networks_card_order": "Ascending", "extra_networks_tree_view_default_enabled": false, "extra_networks_add_text_separator": " ", "ui_extra_networks_tab_reorder": "", "textual_inversion_print_at_load": false, "textual_inversion_add_hashes_to_infotext": true, "sd_hypernetwork": "None", "sd_lora": "None", "lora_preferred_name": "Alias from file", "lora_add_hashes_to_infotext": true, "lora_show_all": false, "lora_hide_unknown_for_versions": [], "lora_in_memory_limit": 0, "lora_not_found_warning_console": false, "lora_not_found_gradio_warning": false, "cross_attention_optimization": "Automatic", "s_min_uncond": 0, "token_merging_ratio": 0, "token_merging_ratio_img2img": 0, "token_merging_ratio_hr": 0, "pad_cond_uncond": false, "pad_cond_uncond_v0": false, "persistent_cond_cache": true, "batch_cond_uncond": true, "fp8_storage": "Disable", "cache_fp16_weight": false, "hide_samplers": [], "eta_ddim": 0, "eta_ancestral": 1, "ddim_discretize": "uniform", "s_churn": 0, "s_tmin": 0, "s_tmax": 0, "s_noise": 1, "k_sched_type": "Automatic", "sigma_min": 0.0, "sigma_max": 0.0, "rho": 0.0, "eta_noise_seed_delta": 0, "always_discard_next_to_last_sigma": false, "sgm_noise_multiplier": false, "uni_pc_variant": "bh1", "uni_pc_skip_type": "time_uniform", "uni_pc_order": 3, "uni_pc_lower_order_final": true, "sd_noise_schedule": "Default", "sd_checkpoints_limit": 1, "sd_checkpoints_keep_in_cpu": true, "sd_checkpoint_cache": 0, "sd_unet": "Automatic", "enable_quantization": false, "emphasis": "Original", "enable_batch_seeds": true, "comma_padding_backtrack": 20, "CLIP_stop_at_last_layers": 1, "upcast_attn": false, "randn_source": "GPU", "tiling": false, "hires_fix_refiner_pass": "second pass", "enable_prompt_comments": true, "sdxl_crop_top": 0.0, "sdxl_crop_left": 0.0, "sdxl_refiner_low_aesthetic_score": 2.5, "sdxl_refiner_high_aesthetic_score": 6.0, "sd_vae_checkpoint_cache": 0, "sd_vae": "Automatic", "sd_vae_overrides_per_model_preferences": true, "auto_vae_precision_bfloat16": false, "auto_vae_precision": true, "sd_vae_encode_method": "Full", "sd_vae_decode_method": "Full", "inpainting_mask_weight": 1, "initial_noise_multiplier": 1, "img2img_extra_noise": 0, "img2img_color_correction": false, "img2img_fix_steps": false, "img2img_background_color": "#ffffff", "img2img_editor_height": 720, "img2img_sketch_default_brush_color": "#ffffff", "img2img_inpaint_mask_brush_color": "#ffffff", "img2img_inpaint_sketch_default_brush_color": "#ffffff", "return_mask": false, "return_mask_composite": false, "img2img_batch_show_results_limit": 32, "overlay_inpaint": true, "return_grid": true, "do_not_show_images": false, "js_modal_lightbox": true, "js_modal_lightbox_initially_zoomed": true, "js_modal_lightbox_gamepad": false, "js_modal_lightbox_gamepad_repeat": 250.0, "sd_webui_modal_lightbox_icon_opacity": 1, "sd_webui_modal_lightbox_toolbar_opacity": 0.9, "gallery_height": "", "open_dir_button_choice": "Subdirectory", "enable_pnginfo": true, "save_txt": false, "add_model_name_to_info": true, "add_model_hash_to_info": true, "add_vae_name_to_info": true, "add_vae_hash_to_info": true, "add_user_name_to_info": false, "add_version_to_infotext": true, "disable_weights_auto_swap": true, "infotext_skip_pasting": [], "infotext_styles": "Apply if any", "show_progressbar": true, "live_previews_enable": true, "live_previews_image_format": "png", "show_progress_grid": true, "show_progress_every_n_steps": 10, "show_progress_type": "Approx NN", "live_preview_allow_lowvram_full": false, "live_preview_content": "Prompt", "live_preview_refresh_period": 1000.0, "live_preview_fast_interrupt": false, "js_live_preview_in_modal_lightbox": false, "keyedit_precision_attention": 0.1, "keyedit_precision_extra": 0.05, "keyedit_delimiters": ".,\/!?%^*;:{}=`~() ", "keyedit_delimiters_whitespace": [ "Tab", "Carriage Return", "Line Feed" ], "keyedit_move": true, "disable_token_counters": false, "include_styles_into_token_counters": true, "extra_options_txt2img": [], "extra_options_img2img": [], "extra_options_cols": 1, "extra_options_accordion": false, "compact_prompt_box": false, "samplers_in_dropdown": true, "dimensions_and_batch_together": true, "sd_checkpoint_dropdown_use_short": false, "hires_fix_show_sampler": false, "hires_fix_show_prompts": false, "txt2img_settings_accordion": false, "img2img_settings_accordion": false, "interrupt_after_current": true, "localization": "None", "quicksettings_list": [ "sd_model_checkpoint", "sd_vae", "CLIP_stop_at_last_layers" ], "ui_tab_order": [], "hidden_tabs": [], "ui_reorder_list": [], "gradio_theme": "Default", "gradio_themes_cache": true, "show_progress_in_title": true, "send_seed": true, "send_size": true, "api_enable_requests": true, "api_forbid_local_requests": true, "api_useragent": "", "auto_launch_browser": "Local", "enable_console_prompts": false, "show_warnings": false, "show_gradio_deprecation_warnings": true, "memmon_poll_rate": 8, "samples_log_stdout": false, "multiple_tqdm": true, "enable_upscale_progressbar": true, "print_hypernet_extra": false, "list_hidden_files": true, "disable_mmap_load_safetensors": false, "hide_ldm_prints": true, "dump_stacks_on_signal": false, "face_restoration": false, "face_restoration_model": "CodeFormer", "code_former_weight": 0.5, "face_restoration_unload": false, "postprocessing_enable_in_main_ui": [], "postprocessing_operation_order": [], "upscaling_max_images_in_cache": 5, "postprocessing_existing_caption_action": "Ignore", "ESRGAN_tile": 192, "ESRGAN_tile_overlap": 8, "realesrgan_enabled_models": [ "R-ESRGAN 4x+", "R-ESRGAN 4x+ Anime6B" ], "dat_enabled_models": [ "DAT x2", "DAT x3", "DAT x4" ], "DAT_tile": 192, "DAT_tile_overlap": 8, "unload_models_when_training": false, "pin_memory": false, "save_optimizer_state": false, "save_training_settings_to_txt": true, "dataset_filename_word_regex": "", "dataset_filename_join_string": " ", "training_image_repeats_per_epoch": 1, "training_write_csv_every": 500.0, "training_xattention_optimizations": false, "training_enable_tensorboard": false, "training_tensorboard_save_images": false, "training_tensorboard_flush_every": 120.0, "canvas_hotkey_zoom": "Alt", "canvas_hotkey_adjust": "Ctrl", "canvas_hotkey_shrink_brush": "Q", "canvas_hotkey_grow_brush": "W", "canvas_hotkey_move": "F", "canvas_hotkey_fullscreen": "S", "canvas_hotkey_reset": "R", "canvas_hotkey_overlap": "O", "canvas_show_tooltip": true, "canvas_auto_expand": true, "canvas_blur_prompt": false, "canvas_disabled_functions": [ "Overlap" ], "interrogate_keep_models_in_memory": false, "interrogate_return_ranks": false, "interrogate_clip_num_beams": 1, "interrogate_clip_min_length": 24, "interrogate_clip_max_length": 48, "interrogate_clip_dict_limit": 1500.0, "interrogate_clip_skip_categories": [], "interrogate_deepbooru_score_threshold": 0.5, "deepbooru_sort_alpha": true, "deepbooru_use_spaces": true, "deepbooru_escape": true, "deepbooru_filter_tags": "", "disabled_extensions": [], "disable_all_extensions": "none", "ad_max_models": 2, "ad_extra_models_dir": "", "ad_save_previews": false, "ad_save_images_before": false, "ad_only_seleted_scripts": true, "ad_script_names": "dynamic_prompting,dynamic_thresholding,wildcard_recursive,wildcards,lora_block_weight,negpip,soft_inpainting", "ad_bbox_sortby": "None", "ad_same_seed_for_each_tap": false, "control_net_detectedmap_dir": "detected_maps", "control_net_models_path": "", "control_net_modules_path": "", "control_net_unit_count": 3, "control_net_model_cache_size": 2, "control_net_inpaint_blur_sigma": 7, "control_net_no_detectmap": false, "control_net_detectmap_autosaving": false, "control_net_allow_script_control": false, "control_net_sync_field_args": true, "controlnet_show_batch_images_in_ui": false, "controlnet_increment_seed_during_batch": false, "controlnet_disable_openpose_edit": false, "controlnet_disable_photopea_edit": false, "controlnet_photopea_warning": true, "controlnet_ignore_noninpaint_mask": false, "controlnet_clip_detector_on_cpu": false, "inpaint_anything_save_folder": "inpaint-anything", "inpaint_anything_sam_oncpu": false, "inpaint_anything_offline_inpainting": false, "inpaint_anything_padding_fill": 127, "inpain_anything_sam_models_dir": "", "inpaint_background_enabled": true, "inpaint_background_u2net_location": "", "inpaint_background_show_image_under_mask": true, "inpaint_background_mask_brush_color": "#ffffff", "mm_max_models": 3, "mm_debugs": [ "elemental merge" ], "mm_save_model": [ "safetensors", "fp16", "prune", "overwrite" ], "mm_save_model_filename": "modelmixer-[hash]", "mm_use_extra_elements": true, "mm_use_old_finetune": false, "mm_use_unet_partial_update": true, "mm_laplib": "lap", "mm_use_fast_weighted_sum": true, "mm_use_precalculate_hash": false, "mm_use_model_dl": false, "mm_default_config_lock": false, "mm_civitai_api_key": "", "mm_use_txt2img_only": false, "mm_use_safe_open": false, "regprp_debug": false, "regprp_hidepmask": false, "image_browser_active_tabs": "txt2img, img2img, txt2img-grids, img2img-grids, Extras, Favorites, Others, All, Maintenance", "image_browser_hidden_components": [], "image_browser_with_subdirs": true, "image_browser_preload": false, "image_browser_copy_image": false, "image_browser_delete_message": true, "image_browser_txt_files": true, "image_browser_debug_level": "0 - none", "image_browser_delete_recycle": true, "image_browser_scan_exif": true, "image_browser_mod_shift": false, "image_browser_mod_ctrl_shift": false, "image_browser_ranking_pnginfo": false, "image_browser_page_columns": 6, "image_browser_page_rows": 6, "image_browser_pages_perload": 20, "image_browser_height_auto": false, "image_browser_use_thumbnail": false, "image_browser_thumbnail_size": 200, "image_browser_thumbnail_crop": false, "image_browser_swipe": false, "image_browser_img_tooltips": true, "image_browser_show_progress": true, "image_browser_info_add": false, "image_browser_video_pos": "Above", "image_browser_video_x": 640, "image_browser_video_y": 640 }, "Startup": { "total": 43.238502979278564, "records": { "initial startup": 0.0348968505859375, "prepare environment/checks": 0.01100301742553711, "prepare environment/git version info": 0.07011246681213379, "prepare environment/torch GPU test": 3.1642332077026367, "prepare environment/clone repositores": 0.21766424179077148, "prepare environment/run extensions installers/adetailer": 0.25505709648132324, "prepare environment/run extensions installers/sd-webui-controlnet": 0.6011354923248291, "prepare environment/run extensions installers/sd-webui-inpaint-anything": 0.2490558624267578, "prepare environment/run extensions installers/sd-webui-inpaint-background": 0.6041362285614014, "prepare environment/run extensions installers/sd-webui-kohya-hiresfix": 0.0, "prepare environment/run extensions installers/sd-webui-model-mixer": 0.0, "prepare environment/run extensions installers/sd-webui-regional-prompter": 0.0, "prepare environment/run extensions installers/stable-diffusion-webui-images-browser": 0.24405503273010254, "prepare environment/run extensions installers": 1.953439712524414, "prepare environment": 5.472464561462402, "launcher": 0.00400090217590332, "import torch": 8.195849895477295, "import gradio": 2.3466684818267822, "setup paths": 1.6711578369140625, "import ldm": 0.00800180435180664, "import sgm": 0.0, "initialize shared": 2.972421169281006, "other imports": 1.0126545429229736, "opts onchange": 0.0010018348693847656, "setup SD model": 0.0, "setup codeformer": 0.0019998550415039062, "setup gfpgan": 0.017003297805786133, "set samplers": 0.0010006427764892578, "list extensions": 0.004000425338745117, "restore config state file": 0.0, "list SD models": 0.01800394058227539, "list localizations": 0.0010001659393310547, "load scripts/custom_code.py": 0.010002374649047852, "load scripts/img2imgalt.py": 0.0010006427764892578, "load scripts/loopback.py": 0.0009999275207519531, "load scripts/outpainting_mk_2.py": 0.0, "load scripts/poor_mans_outpainting.py": 0.0010006427764892578, "load scripts/postprocessing_caption.py": 0.0, "load scripts/postprocessing_codeformer.py": 0.0010001659393310547, "load scripts/postprocessing_create_flipped_copies.py": 0.0, "load scripts/postprocessing_focal_crop.py": 0.0010001659393310547, "load scripts/postprocessing_gfpgan.py": 0.0010001659393310547, "load scripts/postprocessing_split_oversized.py": 0.0, "load scripts/postprocessing_upscale.py": 0.0010001659393310547, "load scripts/processing_autosized_crop.py": 0.0, "load scripts/prompt_matrix.py": 0.0010001659393310547, "load scripts/prompts_from_file.py": 0.0, "load scripts/sd_upscale.py": 0.0, "load scripts/xyz_grid.py": 0.0030002593994140625, "load scripts/ldsr_model.py": 1.154259204864502, "load scripts/lora_script.py": 0.37708568572998047, "load scripts/scunet_model.py": 0.05301213264465332, "load scripts/swinir_model.py": 0.05001091957092285, "load scripts/hotkey_config.py": 0.0, "load scripts/extra_options_section.py": 0.0010004043579101562, "load scripts/hypertile_script.py": 0.10002708435058594, "load scripts/hypertile_xyz.py": 0.0010006427764892578, "load scripts/soft_inpainting.py": 0.00099945068359375, "load scripts/!adetailer.py": 1.8496415615081787, "load scripts/adapter.py": 0.0010004043579101562, "load scripts/api.py": 0.42209506034851074, "load scripts/batch_hijack.py": 0.002001523971557617, "load scripts/cldm.py": 0.0, "load scripts/controlmodel_ipadapter.py": 0.0019998550415039062, "load scripts/controlnet.py": 0.28406357765197754, "load scripts/controlnet_diffusers.py": 0.001001119613647461, "load scripts/controlnet_lllite.py": 0.0009996891021728516, "load scripts/controlnet_lora.py": 0.0, "load scripts/controlnet_model_guess.py": 0.0010004043579101562, "load scripts/controlnet_sparsectrl.py": 0.0010001659393310547, "load scripts/controlnet_version.py": 0.0010013580322265625, "load scripts/enums.py": 0.001001596450805664, "load scripts/external_code.py": 0.0009984970092773438, "load scripts/global_state.py": 0.0010006427764892578, "load scripts/hook.py": 0.0029997825622558594, "load scripts/infotext.py": 0.0010004043579101562, "load scripts/logging.py": 0.0010006427764892578, "load scripts/lvminthin.py": 0.00099945068359375, "load scripts/movie2movie.py": 0.0, "load scripts/processor.py": 0.0020003318786621094, "load scripts/utils.py": 0.0, "load scripts/xyz_grid_support.py": 0.0009996891021728516, "load scripts/inpaint_anything.py": 0.8181836605072021, "load scripts/inpaint_background.py": 1.2982943058013916, "load scripts/khrfix.py": 0.0019986629486083984, "load scripts/model_mixer.py": 0.3250730037689209, "load scripts/patches.py": 0.0010004043579101562, "load scripts/vxa.py": 0.0010006427764892578, "load scripts/attention.py": 0.0, "load scripts/latent.py": 0.008001089096069336, "load scripts/regions.py": 0.0010006427764892578, "load scripts/rp.py": 0.06301474571228027, "load scripts/rps.py": 0.017002582550048828, "load scripts/image_browser.py": 0.14703369140625, "load scripts/comments.py": 0.059014081954956055, "load scripts/refiner.py": 0.0009996891021728516, "load scripts/seed.py": 0.0, "load scripts": 7.077823162078857, "load upscalers": 0.006000995635986328, "refresh VAE": 0.0020003318786621094, "refresh textual inversion templates": 0.0010008811950683594, "scripts list_optimizers": 0.0010004043579101562, "scripts list_unets": 0.0, "reload hypernetworks": 0.001001596450805664, "initialize extra networks": 0.016004085540771484, "scripts before_ui_callback": 0.003000497817993164, "create ui": 13.16127347946167, "gradio launch": 0.5871312618255615, "add APIs": 0.012001752853393555, "app_started_callback/lora_script.py": 0.0, "app_started_callback/!adetailer.py": 0.0010004043579101562, "app_started_callback/api.py": 0.0050008296966552734, "app_started_callback/model_mixer.py": 0.658149003982544, "app_started_callback": 0.6641502380371094 } }, "Packages": [ "absl-py==2.1.0", "accelerate==0.21.0", "aenum==3.1.15", "aiofiles==23.2.1", "aiohttp==3.9.3", "aiosignal==1.3.1", "albumentations==1.4.0", "altair==5.2.0", "antlr4-python3-runtime==4.9.3", "anyio==3.7.1", "async-timeout==4.0.3", "attrs==23.2.0", "bidict==0.23.1", "blendmodes==2022", "certifi==2024.2.2", "cffi==1.16.0", "chardet==5.2.0", "charset-normalizer==3.3.2", "clean-fid==0.1.35", "click==8.1.7", "clip==1.0", "colorama==0.4.6", "coloredlogs==15.0.1", "colorlog==6.8.2", "contourpy==1.2.0", "controlnet-aux==0.0.3", "cssselect2==0.7.0", "cycler==0.12.1", "cython==3.0.8", "deprecation==2.1.0", "depth-anything==2024.1.22.0", "diffusers==0.16.1", "easydict==1.12", "einops==0.4.1", "embreex==2.17.7.post4", "exceptiongroup==1.2.0", "facexlib==0.3.0", "fastapi==0.94.0", "ffmpy==0.3.2", "filelock==3.13.1", "filterpy==1.4.5", "flask-cors==4.0.0", "flask-socketio==5.3.6", "flask==2.2.3", "flaskwebgui==0.3.5", "flatbuffers==23.5.26", "fonttools==4.49.0", "frozenlist==1.4.1", "fsspec==2024.2.0", "ftfy==6.1.3", "fvcore==0.1.5.post20221221", "gitdb==4.0.11", "gitpython==3.1.32", "gradio-client==0.5.0", "gradio==3.41.2", "h11==0.12.0", "handrefinerportable==2024.2.12.0", "httpcore==0.15.0", "httpx==0.24.1", "huggingface-hub==0.21.3", "humanfriendly==10.0", "idna==3.6", "imageio==2.34.0", "importlib-metadata==7.0.1", "importlib-resources==6.1.2", "inflection==0.5.1", "insightface==0.7.3", "iopath==0.1.9", "itsdangerous==2.1.2", "jax==0.4.25", "jinja2==3.1.3", "joblib==1.3.2", "jsonmerge==1.8.0", "jsonschema-specifications==2023.12.1", "jsonschema==4.21.1", "kiwisolver==1.4.5", "kornia==0.6.7", "lama-cleaner==1.2.5", "lark==1.1.2", "lazy-loader==0.3", "lightning-utilities==0.10.1", "llvmlite==0.42.0", "loguru==0.7.2", "lxml==5.1.0", "mapbox-earcut==1.0.1", "markdown-it-py==3.0.0", "markupsafe==2.1.5", "matplotlib==3.8.3", "mdurl==0.1.2", "mediapipe==0.10.10", "ml-dtypes==0.3.2", "mpmath==1.3.0", "multidict==6.0.5", "networkx==3.2.1", "numba==0.59.0", "numpy==1.26.2", "omegaconf==2.2.3", "onnx==1.15.0", "onnxruntime==1.17.1", "open-clip-torch==2.20.0", "opencv-contrib-python==4.9.0.80", "opencv-python-headless==4.9.0.80", "opencv-python==4.9.0.80", "opt-einsum==3.3.0", "orjson==3.9.15", "packaging==23.2", "pandas==2.2.1", "piexif==1.1.3", "pillow==9.5.0", "pip==23.0.1", "platformdirs==4.2.0", "pooch==1.8.1", "portalocker==2.8.2", "prettytable==3.10.0", "protobuf==3.20.3", "psutil==5.9.5", "py-cpuinfo==9.0.0", "pycollada==0.8", "pycparser==2.21", "pydantic==1.10.14", "pydub==0.25.1", "pygments==2.17.2", "pymatting==1.1.12", "pyparsing==3.1.1", "pyreadline3==3.4.1", "python-dateutil==2.9.0.post0", "python-engineio==4.9.0", "python-multipart==0.0.9", "python-socketio==5.11.1", "pytorch-lightning==1.9.4", "pytz==2024.1", "pywavelets==1.5.0", "pywin32==306", "pyyaml==6.0.1", "qudida==0.0.4", "referencing==0.33.0", "regex==2023.12.25", "rembg==2.0.38", "reportlab==4.1.0", "requests==2.31.0", "resize-right==0.0.2", "rich==13.7.1", "rpds-py==0.18.0", "rtree==1.2.0", "safetensors==0.4.2", "scikit-image==0.21.0", "scikit-learn==1.4.1.post1", "scipy==1.12.0", "sdwi2iextender==0.0.10", "seaborn==0.13.2", "segment-anything==1.0", "semantic-version==2.10.0", "send2trash==1.8.2", "sentencepiece==0.2.0", "setuptools==65.5.0", "shapely==2.0.3", "simple-websocket==1.0.0", "six==1.16.0", "smmap==5.0.1", "sniffio==1.3.1", "sounddevice==0.4.6", "spandrel==0.1.6", "starlette==0.26.1", "svg.path==6.3", "svglib==1.5.1", "sympy==1.12", "tabulate==0.9.0", "termcolor==2.4.0", "thop==0.1.1.post2209072238", "threadpoolctl==3.3.0", "tifffile==2024.2.12", "timm==0.9.16", "tinycss2==1.2.1", "tokenizers==0.13.3", "tomesd==0.1.3", "toolz==0.12.1", "torch==2.1.2+cu121", "torchdiffeq==0.2.3", "torchmetrics==1.3.1", "torchsde==0.2.6", "torchvision==0.16.2+cu121", "tqdm==4.66.2", "trampoline==0.1.2", "transformers==4.30.2", "trimesh==4.1.7", "typing-extensions==4.10.0", "tzdata==2024.1", "ultralytics==8.1.20", "urllib3==2.2.1", "uvicorn==0.27.1", "vhacdx==0.0.5", "wcwidth==0.2.13", "webencodings==0.5.1", "websockets==11.0.3", "werkzeug==2.2.2", "whichcraft==0.6.1", "win32-setctime==1.1.0", "wsproto==1.2.0", "xatlas==0.0.9", "xformers==0.0.23.post1", "xxhash==3.4.1", "yacs==0.1.8", "yarl==1.9.4", "zipp==3.17.0" ] }
Console logs
Traceback (most recent call last):
File "E:\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "E:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1431, in process_api
result = await self.call_function(
File "E:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1103, in call_function
prediction = await anyio.to_thread.run_sync(
File "E:\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "E:\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "E:\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
result = context.run(func, *args)
File "E:\stable-diffusion-webui\venv\lib\site-packages\gradio\utils.py", line 707, in wrapper
response = f(*args, **kwargs)
File "E:\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet_ui\controlnet_ui_group.py", line 1015, in run_annotator
result, is_image = preprocessor(
File "E:\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\utils.py", line 80, in decorated_func
return cached_func(*args, **kwargs)
File "E:\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\utils.py", line 64, in cached_func
return func(*args, **kwargs)
File "E:\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\global_state.py", line 37, in unified_preprocessor
return preprocessor_modules[preprocessor_name](*args, **kwargs)
File "E:\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\processor.py", line 439, in lineart
result = 255 - model_lineart(img)
File "E:\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\lineart\__init__.py", line 119, in __call__
self.load_model(self.model_name)
File "E:\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\lineart\__init__.py", line 106, in load_model
from basicsr.utils.download_util import load_file_from_url
ModuleNotFoundError: No module named 'basicsr'
Additional information
No response
Checklist
- [ ] The issue exists after disabling all extensions
- [ ] The issue exists on a clean installation of webui
- [x] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [x] The issue exists in the current version of the webui
- [ ] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet
What happened?
I have this problem since the last update when I try to use some preprocessors with controlnet, it doesn't happen with all of them, it mainly happens with the older preprocessors.
Steps to reproduce the problem
Try pre-processing and previewing realistic lineart controlnet
What should have happened?
Create the preview of the image normally.
What browsers do you use to access the UI ?
No response
Sysinfo
{ "Platform": "Windows-10-10.0.19045-SP0", "Python": "3.10.13", "Version": "v1.8.0", "Commit": "bef51aed032c0aaa5cfd80445bc4cf0d85b408b5", "Script path": "E:\stable-diffusion-webui", "Data path": "E:\stable-diffusion-webui", "Extensions dir": "E:\stable-diffusion-webui\extensions", "Checksum": "96a3a282e7a5f30bead9bbbd84ceebf59703a7cb06c6f57f054842aec346e577", "Commandline": [ "launch.py", "--xformers" ], "Torch env info": { "torch_version": "2.1.2+cu121", "is_debug_build": "False", "cuda_compiled_version": "12.1", "gcc_version": null, "clang_version": null, "cmake_version": null, "os": "Microsoft Windows 10 Pro", "libc_version": "N/A", "python_version": "3.10.13 | packaged by Anaconda, Inc. | (main, Sep 11 2023, 13:24:38) [MSC v.1916 64 bit (AMD64)] (64-bit runtime)", "python_platform": "Windows-10-10.0.19045-SP0", "is_cuda_available": "True", "cuda_runtime_version": "12.1.66\r", "cuda_module_loading": "LAZY", "nvidia_driver_version": "536.23", "nvidia_gpu_models": [ "GPU 0: NVIDIA GeForce RTX 3060", "GPU 1: NVIDIA GeForce RTX 3060", "GPU 2: NVIDIA GeForce RTX 2080" ], "cudnn_version": null, "pip_version": "pip3", "pip_packages": [ "numpy==1.26.2", "open-clip-torch==2.20.0", "pytorch-lightning==1.9.4", "torch==2.1.2+cu121", "torchdiffeq==0.2.3", "torchmetrics==1.3.1", "torchsde==0.2.6", "torchvision==0.16.2+cu121" ], "conda_packages": "", "hip_compiled_version": "N/A", "hip_runtime_version": "N/A", "miopen_runtime_version": "N/A", "caching_allocator_config": "", "is_xnnpack_available": "True", "cpu_info": [ "Architecture=9", "CurrentClockSpeed=3400", "DeviceID=CPU0", "Family=107", "L2CacheSize=3072", "L2CacheSpeed=", "Manufacturer=AuthenticAMD", "MaxClockSpeed=3400", "Name=AMD Ryzen 5 2600 Six-Core Processor ", "ProcessorType=3", "Revision=2050" ] }, "Exceptions": [], "CPU": { "model": "AMD64 Family 23 Model 8 Stepping 2, AuthenticAMD", "count logical": 12, "count physical": 6 }, "RAM": { "total": "32GB", "used": "13GB", "free": "19GB" }, "Extensions": [ { "name": "adetailer", "path": "E:\stable-diffusion-webui\extensions\adetailer", "version": "3f1d1b97", "branch": "main", "remote": "https://github.com/Bing-su/adetailer.git" }, { "name": "sd-webui-controlnet", "path": "E:\stable-diffusion-webui\extensions\sd-webui-controlnet", "version": "461f8c5f", "branch": "main", "remote": "https://github.com/Mikubill/sd-webui-controlnet.git" }, { "name": "sd-webui-inpaint-anything", "path": "E:\stable-diffusion-webui\extensions\sd-webui-inpaint-anything", "version": "ab57640d", "branch": "main", "remote": "https://github.com/Uminosachi/sd-webui-inpaint-anything.git" }, { "name": "sd-webui-inpaint-background", "path": "E:\stable-diffusion-webui\extensions\sd-webui-inpaint-background", "version": "4779170e", "branch": "main", "remote": "https://github.com/John-WL/sd-webui-inpaint-background.git" }, { "name": "sd-webui-kohya-hiresfix", "path": "E:\stable-diffusion-webui\extensions\sd-webui-kohya-hiresfix", "version": "05af9874", "branch": "main", "remote": "https://github.com/wcde/sd-webui-kohya-hiresfix.git" }, { "name": "sd-webui-model-mixer", "path": "E:\stable-diffusion-webui\extensions\sd-webui-model-mixer", "version": "bb3808bc", "branch": "master", "remote": "https://github.com/wkpark/sd-webui-model-mixer.git" }, { "name": "sd-webui-regional-prompter", "path": "E:\stable-diffusion-webui\extensions\sd-webui-regional-prompter", "version": "59d68e6e", "branch": "main", "remote": "https://github.com/hako-mikan/sd-webui-regional-prompter.git" }, { "name": "stable-diffusion-webui-images-browser", "path": "E:\stable-diffusion-webui\extensions\stable-diffusion-webui-images-browser", "version": "3d2d0f4c", "branch": "main", "remote": "https://github.com/AlUlkesh/stable-diffusion-webui-images-browser.git" } ], "Inactive extensions": [], "Environment": { "COMMANDLINE_ARGS": "--xformers", "GRADIO_ANALYTICS_ENABLED": "False" }, "Config": { "ldsr_steps": 100, "ldsr_cached": false, "SCUNET_tile": 256, "SCUNET_tile_overlap": 8, "SWIN_tile": 192, "SWIN_tile_overlap": 8, "SWIN_torch_compile": false, "hypertile_enable_unet": false, "hypertile_enable_unet_secondpass": false, "hypertile_max_depth_unet": 3, "hypertile_max_tile_unet": 256, "hypertile_swap_size_unet": 3, "hypertile_enable_vae": false, "hypertile_max_depth_vae": 3, "hypertile_max_tile_vae": 128, "hypertile_swap_size_vae": 3, "sd_model_checkpoint": "juggernaut_reborn.safetensors [338b85bc4f]", "sd_checkpoint_hash": "338b85bc4f7628bc42cce336242e79154a57c2a4360531436e97f7793568f18c", "outdir_samples": "", "outdir_txt2img_samples": "output\txt2img-images", "outdir_img2img_samples": "output\img2img-images", "outdir_extras_samples": "output\extras-images", "outdir_grids": "", "outdir_txt2img_grids": "output\txt2img-grids", "outdir_img2img_grids": "output\img2img-grids", "outdir_save": "log\images", "outdir_init_images": "output\init-images", "samples_save": true, "samples_format": "png", "samples_filename_pattern": "", "save_images_add_number": true, "save_images_replace_action": "Replace", "grid_save": true, "grid_format": "png", "grid_extended_filename": false, "grid_only_if_multiple": true, "grid_prevent_empty_spots": false, "grid_zip_filename_pattern": "", "n_rows": -1, "font": "", "grid_text_active_color": "#000000", "grid_text_inactive_color": "#999999", "grid_background_color": "#ffffff", "save_images_before_face_restoration": false, "save_images_before_highres_fix": false, "save_images_before_color_correction": false, "save_mask": false, "save_mask_composite": false, "jpeg_quality": 80, "webp_lossless": false, "export_for_4chan": true, "img_downscale_threshold": 4.0, "target_side_length": 4000.0, "img_max_size_mp": 200.0, "use_original_name_batch": true, "use_upscaler_name_as_suffix": false, "save_selected_only": true, "save_init_img": false, "temp_dir": "", "clean_temp_dir_at_start": false, "save_incomplete_images": false, "notification_audio": true, "notification_volume": 100, "save_to_dirs": true, "grid_save_to_dirs": true, "use_save_to_dirs_for_ui": false, "directories_filename_pattern": "[date]", "directories_max_prompt_words": 8, "auto_backcompat": true, "use_old_emphasis_implementation": false, "use_old_karras_scheduler_sigmas": false, "no_dpmpp_sde_batch_determinism": false, "use_old_hires_fix_width_height": false, "dont_fix_second_order_samplers_schedule": false, "hires_fix_use_firstpass_conds": false, "use_old_scheduling": false, "use_downcasted_alpha_bar": false, "lora_functional": false, "extra_networks_show_hidden_directories": true, "extra_networks_dir_button_function": false, "extra_networks_hidden_models": "When searched", "extra_networks_default_multiplier": 1, "extra_networks_card_width": 0.0, "extra_networks_card_height": 0.0, "extra_networks_card_text_scale": 1, "extra_networks_card_show_desc": true, "extra_networks_card_description_is_html": false, "extra_networks_card_order_field": "Path", "extra_networks_card_order": "Ascending", "extra_networks_tree_view_default_enabled": false, "extra_networks_add_text_separator": " ", "ui_extra_networks_tab_reorder": "", "textual_inversion_print_at_load": false, "textual_inversion_add_hashes_to_infotext": true, "sd_hypernetwork": "None", "sd_lora": "None", "lora_preferred_name": "Alias from file", "lora_add_hashes_to_infotext": true, "lora_show_all": false, "lora_hide_unknown_for_versions": [], "lora_in_memory_limit": 0, "lora_not_found_warning_console": false, "lora_not_found_gradio_warning": false, "cross_attention_optimization": "Automatic", "s_min_uncond": 0, "token_merging_ratio": 0, "token_merging_ratio_img2img": 0, "token_merging_ratio_hr": 0, "pad_cond_uncond": false, "pad_cond_uncond_v0": false, "persistent_cond_cache": true, "batch_cond_uncond": true, "fp8_storage": "Disable", "cache_fp16_weight": false, "hide_samplers": [], "eta_ddim": 0, "eta_ancestral": 1, "ddim_discretize": "uniform", "s_churn": 0, "s_tmin": 0, "s_tmax": 0, "s_noise": 1, "k_sched_type": "Automatic", "sigma_min": 0.0, "sigma_max": 0.0, "rho": 0.0, "eta_noise_seed_delta": 0, "always_discard_next_to_last_sigma": false, "sgm_noise_multiplier": false, "uni_pc_variant": "bh1", "uni_pc_skip_type": "time_uniform", "uni_pc_order": 3, "uni_pc_lower_order_final": true, "sd_noise_schedule": "Default", "sd_checkpoints_limit": 1, "sd_checkpoints_keep_in_cpu": true, "sd_checkpoint_cache": 0, "sd_unet": "Automatic", "enable_quantization": false, "emphasis": "Original", "enable_batch_seeds": true, "comma_padding_backtrack": 20, "CLIP_stop_at_last_layers": 1, "upcast_attn": false, "randn_source": "GPU", "tiling": false, "hires_fix_refiner_pass": "second pass", "enable_prompt_comments": true, "sdxl_crop_top": 0.0, "sdxl_crop_left": 0.0, "sdxl_refiner_low_aesthetic_score": 2.5, "sdxl_refiner_high_aesthetic_score": 6.0, "sd_vae_checkpoint_cache": 0, "sd_vae": "Automatic", "sd_vae_overrides_per_model_preferences": true, "auto_vae_precision_bfloat16": false, "auto_vae_precision": true, "sd_vae_encode_method": "Full", "sd_vae_decode_method": "Full", "inpainting_mask_weight": 1, "initial_noise_multiplier": 1, "img2img_extra_noise": 0, "img2img_color_correction": false, "img2img_fix_steps": false, "img2img_background_color": "#ffffff", "img2img_editor_height": 720, "img2img_sketch_default_brush_color": "#ffffff", "img2img_inpaint_mask_brush_color": "#ffffff", "img2img_inpaint_sketch_default_brush_color": "#ffffff", "return_mask": false, "return_mask_composite": false, "img2img_batch_show_results_limit": 32, "overlay_inpaint": true, "return_grid": true, "do_not_show_images": false, "js_modal_lightbox": true, "js_modal_lightbox_initially_zoomed": true, "js_modal_lightbox_gamepad": false, "js_modal_lightbox_gamepad_repeat": 250.0, "sd_webui_modal_lightbox_icon_opacity": 1, "sd_webui_modal_lightbox_toolbar_opacity": 0.9, "gallery_height": "", "open_dir_button_choice": "Subdirectory", "enable_pnginfo": true, "save_txt": false, "add_model_name_to_info": true, "add_model_hash_to_info": true, "add_vae_name_to_info": true, "add_vae_hash_to_info": true, "add_user_name_to_info": false, "add_version_to_infotext": true, "disable_weights_auto_swap": true, "infotext_skip_pasting": [], "infotext_styles": "Apply if any", "show_progressbar": true, "live_previews_enable": true, "live_previews_image_format": "png", "show_progress_grid": true, "show_progress_every_n_steps": 10, "show_progress_type": "Approx NN", "live_preview_allow_lowvram_full": false, "live_preview_content": "Prompt", "live_preview_refresh_period": 1000.0, "live_preview_fast_interrupt": false, "js_live_preview_in_modal_lightbox": false, "keyedit_precision_attention": 0.1, "keyedit_precision_extra": 0.05, "keyedit_delimiters": ".,/!?%^*;:{}=`~() ", "keyedit_delimiters_whitespace": [ "Tab", "Carriage Return", "Line Feed" ], "keyedit_move": true, "disable_token_counters": false, "include_styles_into_token_counters": true, "extra_options_txt2img": [], "extra_options_img2img": [], "extra_options_cols": 1, "extra_options_accordion": false, "compact_prompt_box": false, "samplers_in_dropdown": true, "dimensions_and_batch_together": true, "sd_checkpoint_dropdown_use_short": false, "hires_fix_show_sampler": false, "hires_fix_show_prompts": false, "txt2img_settings_accordion": false, "img2img_settings_accordion": false, "interrupt_after_current": true, "localization": "None", "quicksettings_list": [ "sd_model_checkpoint", "sd_vae", "CLIP_stop_at_last_layers" ], "ui_tab_order": [], "hidden_tabs": [], "ui_reorder_list": [], "gradio_theme": "Default", "gradio_themes_cache": true, "show_progress_in_title": true, "send_seed": true, "send_size": true, "api_enable_requests": true, "api_forbid_local_requests": true, "api_useragent": "", "auto_launch_browser": "Local", "enable_console_prompts": false, "show_warnings": false, "show_gradio_deprecation_warnings": true, "memmon_poll_rate": 8, "samples_log_stdout": false, "multiple_tqdm": true, "enable_upscale_progressbar": true, "print_hypernet_extra": false, "list_hidden_files": true, "disable_mmap_load_safetensors": false, "hide_ldm_prints": true, "dump_stacks_on_signal": false, "face_restoration": false, "face_restoration_model": "CodeFormer", "code_former_weight": 0.5, "face_restoration_unload": false, "postprocessing_enable_in_main_ui": [], "postprocessing_operation_order": [], "upscaling_max_images_in_cache": 5, "postprocessing_existing_caption_action": "Ignore", "ESRGAN_tile": 192, "ESRGAN_tile_overlap": 8, "realesrgan_enabled_models": [ "R-ESRGAN 4x+", "R-ESRGAN 4x+ Anime6B" ], "dat_enabled_models": [ "DAT x2", "DAT x3", "DAT x4" ], "DAT_tile": 192, "DAT_tile_overlap": 8, "unload_models_when_training": false, "pin_memory": false, "save_optimizer_state": false, "save_training_settings_to_txt": true, "dataset_filename_word_regex": "", "dataset_filename_join_string": " ", "training_image_repeats_per_epoch": 1, "training_write_csv_every": 500.0, "training_xattention_optimizations": false, "training_enable_tensorboard": false, "training_tensorboard_save_images": false, "training_tensorboard_flush_every": 120.0, "canvas_hotkey_zoom": "Alt", "canvas_hotkey_adjust": "Ctrl", "canvas_hotkey_shrink_brush": "Q", "canvas_hotkey_grow_brush": "W", "canvas_hotkey_move": "F", "canvas_hotkey_fullscreen": "S", "canvas_hotkey_reset": "R", "canvas_hotkey_overlap": "O", "canvas_show_tooltip": true, "canvas_auto_expand": true, "canvas_blur_prompt": false, "canvas_disabled_functions": [ "Overlap" ], "interrogate_keep_models_in_memory": false, "interrogate_return_ranks": false, "interrogate_clip_num_beams": 1, "interrogate_clip_min_length": 24, "interrogate_clip_max_length": 48, "interrogate_clip_dict_limit": 1500.0, "interrogate_clip_skip_categories": [], "interrogate_deepbooru_score_threshold": 0.5, "deepbooru_sort_alpha": true, "deepbooru_use_spaces": true, "deepbooru_escape": true, "deepbooru_filter_tags": "", "disabled_extensions": [], "disable_all_extensions": "none", "ad_max_models": 2, "ad_extra_models_dir": "", "ad_save_previews": false, "ad_save_images_before": false, "ad_only_seleted_scripts": true, "ad_script_names": "dynamic_prompting,dynamic_thresholding,wildcard_recursive,wildcards,lora_block_weight,negpip,soft_inpainting", "ad_bbox_sortby": "None", "ad_same_seed_for_each_tap": false, "control_net_detectedmap_dir": "detected_maps", "control_net_models_path": "", "control_net_modules_path": "", "control_net_unit_count": 3, "control_net_model_cache_size": 2, "control_net_inpaint_blur_sigma": 7, "control_net_no_detectmap": false, "control_net_detectmap_autosaving": false, "control_net_allow_script_control": false, "control_net_sync_field_args": true, "controlnet_show_batch_images_in_ui": false, "controlnet_increment_seed_during_batch": false, "controlnet_disable_openpose_edit": false, "controlnet_disable_photopea_edit": false, "controlnet_photopea_warning": true, "controlnet_ignore_noninpaint_mask": false, "controlnet_clip_detector_on_cpu": false, "inpaint_anything_save_folder": "inpaint-anything", "inpaint_anything_sam_oncpu": false, "inpaint_anything_offline_inpainting": false, "inpaint_anything_padding_fill": 127, "inpain_anything_sam_models_dir": "", "inpaint_background_enabled": true, "inpaint_background_u2net_location": "", "inpaint_background_show_image_under_mask": true, "inpaint_background_mask_brush_color": "#ffffff", "mm_max_models": 3, "mm_debugs": [ "elemental merge" ], "mm_save_model": [ "safetensors", "fp16", "prune", "overwrite" ], "mm_save_model_filename": "modelmixer-[hash]", "mm_use_extra_elements": true, "mm_use_old_finetune": false, "mm_use_unet_partial_update": true, "mm_laplib": "lap", "mm_use_fast_weighted_sum": true, "mm_use_precalculate_hash": false, "mm_use_model_dl": false, "mm_default_config_lock": false, "mm_civitai_api_key": "", "mm_use_txt2img_only": false, "mm_use_safe_open": false, "regprp_debug": false, "regprp_hidepmask": false, "image_browser_active_tabs": "txt2img, img2img, txt2img-grids, img2img-grids, Extras, Favorites, Others, All, Maintenance", "image_browser_hidden_components": [], "image_browser_with_subdirs": true, "image_browser_preload": false, "image_browser_copy_image": false, "image_browser_delete_message": true, "image_browser_txt_files": true, "image_browser_debug_level": "0 - none", "image_browser_delete_recycle": true, "image_browser_scan_exif": true, "image_browser_mod_shift": false, "image_browser_mod_ctrl_shift": false, "image_browser_ranking_pnginfo": false, "image_browser_page_columns": 6, "image_browser_page_rows": 6, "image_browser_pages_perload": 20, "image_browser_height_auto": false, "image_browser_use_thumbnail": false, "image_browser_thumbnail_size": 200, "image_browser_thumbnail_crop": false, "image_browser_swipe": false, "image_browser_img_tooltips": true, "image_browser_show_progress": true, "image_browser_info_add": false, "image_browser_video_pos": "Above", "image_browser_video_x": 640, "image_browser_video_y": 640 }, "Startup": { "total": 43.238502979278564, "records": { "initial startup": 0.0348968505859375, "prepare environment/checks": 0.01100301742553711, "prepare environment/git version info": 0.07011246681213379, "prepare environment/torch GPU test": 3.1642332077026367, "prepare environment/clone repositores": 0.21766424179077148, "prepare environment/run extensions installers/adetailer": 0.25505709648132324, "prepare environment/run extensions installers/sd-webui-controlnet": 0.6011354923248291, "prepare environment/run extensions installers/sd-webui-inpaint-anything": 0.2490558624267578, "prepare environment/run extensions installers/sd-webui-inpaint-background": 0.6041362285614014, "prepare environment/run extensions installers/sd-webui-kohya-hiresfix": 0.0, "prepare environment/run extensions installers/sd-webui-model-mixer": 0.0, "prepare environment/run extensions installers/sd-webui-regional-prompter": 0.0, "prepare environment/run extensions installers/stable-diffusion-webui-images-browser": 0.24405503273010254, "prepare environment/run extensions installers": 1.953439712524414, "prepare environment": 5.472464561462402, "launcher": 0.00400090217590332, "import torch": 8.195849895477295, "import gradio": 2.3466684818267822, "setup paths": 1.6711578369140625, "import ldm": 0.00800180435180664, "import sgm": 0.0, "initialize shared": 2.972421169281006, "other imports": 1.0126545429229736, "opts onchange": 0.0010018348693847656, "setup SD model": 0.0, "setup codeformer": 0.0019998550415039062, "setup gfpgan": 0.017003297805786133, "set samplers": 0.0010006427764892578, "list extensions": 0.004000425338745117, "restore config state file": 0.0, "list SD models": 0.01800394058227539, "list localizations": 0.0010001659393310547, "load scripts/custom_code.py": 0.010002374649047852, "load scripts/img2imgalt.py": 0.0010006427764892578, "load scripts/loopback.py": 0.0009999275207519531, "load scripts/outpainting_mk_2.py": 0.0, "load scripts/poor_mans_outpainting.py": 0.0010006427764892578, "load scripts/postprocessing_caption.py": 0.0, "load scripts/postprocessing_codeformer.py": 0.0010001659393310547, "load scripts/postprocessing_create_flipped_copies.py": 0.0, "load scripts/postprocessing_focal_crop.py": 0.0010001659393310547, "load scripts/postprocessing_gfpgan.py": 0.0010001659393310547, "load scripts/postprocessing_split_oversized.py": 0.0, "load scripts/postprocessing_upscale.py": 0.0010001659393310547, "load scripts/processing_autosized_crop.py": 0.0, "load scripts/prompt_matrix.py": 0.0010001659393310547, "load scripts/prompts_from_file.py": 0.0, "load scripts/sd_upscale.py": 0.0, "load scripts/xyz_grid.py": 0.0030002593994140625, "load scripts/ldsr_model.py": 1.154259204864502, "load scripts/lora_script.py": 0.37708568572998047, "load scripts/scunet_model.py": 0.05301213264465332, "load scripts/swinir_model.py": 0.05001091957092285, "load scripts/hotkey_config.py": 0.0, "load scripts/extra_options_section.py": 0.0010004043579101562, "load scripts/hypertile_script.py": 0.10002708435058594, "load scripts/hypertile_xyz.py": 0.0010006427764892578, "load scripts/soft_inpainting.py": 0.00099945068359375, "load scripts/!adetailer.py": 1.8496415615081787, "load scripts/adapter.py": 0.0010004043579101562, "load scripts/api.py": 0.42209506034851074, "load scripts/batch_hijack.py": 0.002001523971557617, "load scripts/cldm.py": 0.0, "load scripts/controlmodel_ipadapter.py": 0.0019998550415039062, "load scripts/controlnet.py": 0.28406357765197754, "load scripts/controlnet_diffusers.py": 0.001001119613647461, "load scripts/controlnet_lllite.py": 0.0009996891021728516, "load scripts/controlnet_lora.py": 0.0, "load scripts/controlnet_model_guess.py": 0.0010004043579101562, "load scripts/controlnet_sparsectrl.py": 0.0010001659393310547, "load scripts/controlnet_version.py": 0.0010013580322265625, "load scripts/enums.py": 0.001001596450805664, "load scripts/external_code.py": 0.0009984970092773438, "load scripts/global_state.py": 0.0010006427764892578, "load scripts/hook.py": 0.0029997825622558594, "load scripts/infotext.py": 0.0010004043579101562, "load scripts/logging.py": 0.0010006427764892578, "load scripts/lvminthin.py": 0.00099945068359375, "load scripts/movie2movie.py": 0.0, "load scripts/processor.py": 0.0020003318786621094, "load scripts/utils.py": 0.0, "load scripts/xyz_grid_support.py": 0.0009996891021728516, "load scripts/inpaint_anything.py": 0.8181836605072021, "load scripts/inpaint_background.py": 1.2982943058013916, "load scripts/khrfix.py": 0.0019986629486083984, "load scripts/model_mixer.py": 0.3250730037689209, "load scripts/patches.py": 0.0010004043579101562, "load scripts/vxa.py": 0.0010006427764892578, "load scripts/attention.py": 0.0, "load scripts/latent.py": 0.008001089096069336, "load scripts/regions.py": 0.0010006427764892578, "load scripts/rp.py": 0.06301474571228027, "load scripts/rps.py": 0.017002582550048828, "load scripts/image_browser.py": 0.14703369140625, "load scripts/comments.py": 0.059014081954956055, "load scripts/refiner.py": 0.0009996891021728516, "load scripts/seed.py": 0.0, "load scripts": 7.077823162078857, "load upscalers": 0.006000995635986328, "refresh VAE": 0.0020003318786621094, "refresh textual inversion templates": 0.0010008811950683594, "scripts list_optimizers": 0.0010004043579101562, "scripts list_unets": 0.0, "reload hypernetworks": 0.001001596450805664, "initialize extra networks": 0.016004085540771484, "scripts before_ui_callback": 0.003000497817993164, "create ui": 13.16127347946167, "gradio launch": 0.5871312618255615, "add APIs": 0.012001752853393555, "app_started_callback/lora_script.py": 0.0, "app_started_callback/!adetailer.py": 0.0010004043579101562, "app_started_callback/api.py": 0.0050008296966552734, "app_started_callback/model_mixer.py": 0.658149003982544, "app_started_callback": 0.6641502380371094 } }, "Packages": [ "absl-py==2.1.0", "accelerate==0.21.0", "aenum==3.1.15", "aiofiles==23.2.1", "aiohttp==3.9.3", "aiosignal==1.3.1", "albumentations==1.4.0", "altair==5.2.0", "antlr4-python3-runtime==4.9.3", "anyio==3.7.1", "async-timeout==4.0.3", "attrs==23.2.0", "bidict==0.23.1", "blendmodes==2022", "certifi==2024.2.2", "cffi==1.16.0", "chardet==5.2.0", "charset-normalizer==3.3.2", "clean-fid==0.1.35", "click==8.1.7", "clip==1.0", "colorama==0.4.6", "coloredlogs==15.0.1", "colorlog==6.8.2", "contourpy==1.2.0", "controlnet-aux==0.0.3", "cssselect2==0.7.0", "cycler==0.12.1", "cython==3.0.8", "deprecation==2.1.0", "depth-anything==2024.1.22.0", "diffusers==0.16.1", "easydict==1.12", "einops==0.4.1", "embreex==2.17.7.post4", "exceptiongroup==1.2.0", "facexlib==0.3.0", "fastapi==0.94.0", "ffmpy==0.3.2", "filelock==3.13.1", "filterpy==1.4.5", "flask-cors==4.0.0", "flask-socketio==5.3.6", "flask==2.2.3", "flaskwebgui==0.3.5", "flatbuffers==23.5.26", "fonttools==4.49.0", "frozenlist==1.4.1", "fsspec==2024.2.0", "ftfy==6.1.3", "fvcore==0.1.5.post20221221", "gitdb==4.0.11", "gitpython==3.1.32", "gradio-client==0.5.0", "gradio==3.41.2", "h11==0.12.0", "handrefinerportable==2024.2.12.0", "httpcore==0.15.0", "httpx==0.24.1", "huggingface-hub==0.21.3", "humanfriendly==10.0", "idna==3.6", "imageio==2.34.0", "importlib-metadata==7.0.1", "importlib-resources==6.1.2", "inflection==0.5.1", "insightface==0.7.3", "iopath==0.1.9", "itsdangerous==2.1.2", "jax==0.4.25", "jinja2==3.1.3", "joblib==1.3.2", "jsonmerge==1.8.0", "jsonschema-specifications==2023.12.1", "jsonschema==4.21.1", "kiwisolver==1.4.5", "kornia==0.6.7", "lama-cleaner==1.2.5", "lark==1.1.2", "lazy-loader==0.3", "lightning-utilities==0.10.1", "llvmlite==0.42.0", "loguru==0.7.2", "lxml==5.1.0", "mapbox-earcut==1.0.1", "markdown-it-py==3.0.0", "markupsafe==2.1.5", "matplotlib==3.8.3", "mdurl==0.1.2", "mediapipe==0.10.10", "ml-dtypes==0.3.2", "mpmath==1.3.0", "multidict==6.0.5", "networkx==3.2.1", "numba==0.59.0", "numpy==1.26.2", "omegaconf==2.2.3", "onnx==1.15.0", "onnxruntime==1.17.1", "open-clip-torch==2.20.0", "opencv-contrib-python==4.9.0.80", "opencv-python-headless==4.9.0.80", "opencv-python==4.9.0.80", "opt-einsum==3.3.0", "orjson==3.9.15", "packaging==23.2", "pandas==2.2.1", "piexif==1.1.3", "pillow==9.5.0", "pip==23.0.1", "platformdirs==4.2.0", "pooch==1.8.1", "portalocker==2.8.2", "prettytable==3.10.0", "protobuf==3.20.3", "psutil==5.9.5", "py-cpuinfo==9.0.0", "pycollada==0.8", "pycparser==2.21", "pydantic==1.10.14", "pydub==0.25.1", "pygments==2.17.2", "pymatting==1.1.12", "pyparsing==3.1.1", "pyreadline3==3.4.1", "python-dateutil==2.9.0.post0", "python-engineio==4.9.0", "python-multipart==0.0.9", "python-socketio==5.11.1", "pytorch-lightning==1.9.4", "pytz==2024.1", "pywavelets==1.5.0", "pywin32==306", "pyyaml==6.0.1", "qudida==0.0.4", "referencing==0.33.0", "regex==2023.12.25", "rembg==2.0.38", "reportlab==4.1.0", "requests==2.31.0", "resize-right==0.0.2", "rich==13.7.1", "rpds-py==0.18.0", "rtree==1.2.0", "safetensors==0.4.2", "scikit-image==0.21.0", "scikit-learn==1.4.1.post1", "scipy==1.12.0", "sdwi2iextender==0.0.10", "seaborn==0.13.2", "segment-anything==1.0", "semantic-version==2.10.0", "send2trash==1.8.2", "sentencepiece==0.2.0", "setuptools==65.5.0", "shapely==2.0.3", "simple-websocket==1.0.0", "six==1.16.0", "smmap==5.0.1", "sniffio==1.3.1", "sounddevice==0.4.6", "spandrel==0.1.6", "starlette==0.26.1", "svg.path==6.3", "svglib==1.5.1", "sympy==1.12", "tabulate==0.9.0", "termcolor==2.4.0", "thop==0.1.1.post2209072238", "threadpoolctl==3.3.0", "tifffile==2024.2.12", "timm==0.9.16", "tinycss2==1.2.1", "tokenizers==0.13.3", "tomesd==0.1.3", "toolz==0.12.1", "torch==2.1.2+cu121", "torchdiffeq==0.2.3", "torchmetrics==1.3.1", "torchsde==0.2.6", "torchvision==0.16.2+cu121", "tqdm==4.66.2", "trampoline==0.1.2", "transformers==4.30.2", "trimesh==4.1.7", "typing-extensions==4.10.0", "tzdata==2024.1", "ultralytics==8.1.20", "urllib3==2.2.1", "uvicorn==0.27.1", "vhacdx==0.0.5", "wcwidth==0.2.13", "webencodings==0.5.1", "websockets==11.0.3", "werkzeug==2.2.2", "whichcraft==0.6.1", "win32-setctime==1.1.0", "wsproto==1.2.0", "xatlas==0.0.9", "xformers==0.0.23.post1", "xxhash==3.4.1", "yacs==0.1.8", "yarl==1.9.4", "zipp==3.17.0" ] }
Console logs
Traceback (most recent call last): File "E:\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict output = await app.get_blocks().process_api( File "E:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1431, in process_api result = await self.call_function( File "E:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1103, in call_function prediction = await anyio.to_thread.run_sync( File "E:\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 33, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "E:\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread return await future File "E:\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run result = context.run(func, *args) File "E:\stable-diffusion-webui\venv\lib\site-packages\gradio\utils.py", line 707, in wrapper response = f(*args, **kwargs) File "E:\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet_ui\controlnet_ui_group.py", line 1015, in run_annotator result, is_image = preprocessor( File "E:\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\utils.py", line 80, in decorated_func return cached_func(*args, **kwargs) File "E:\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\utils.py", line 64, in cached_func return func(*args, **kwargs) File "E:\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\global_state.py", line 37, in unified_preprocessor return preprocessor_modules[preprocessor_name](*args, **kwargs) File "E:\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\processor.py", line 439, in lineart result = 255 - model_lineart(img) File "E:\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\lineart\__init__.py", line 119, in __call__ self.load_model(self.model_name) File "E:\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\lineart\__init__.py", line 106, in load_model from basicsr.utils.download_util import load_file_from_url ModuleNotFoundError: No module named 'basicsr'
Additional information
No response
ModuleNotFoundError: No module named 'basicsr' maybe this cause your problem, maybe this issue can help u
I had this issue with the update to 1111, and what I eventually figured out was the issue was a change in how dependencies are installed to the venv directory -- basicsr in particular.
I used Conda to get the exact Python version I needed, and everything installed fine except basicsr. "pip install basicsr" didn't work because that installed the dependency into conda, but some component would only take it from the venv directory.
My solution was to deactivate conda, navigate to the webui folder, "source /bin/activate" and then "pip install basicsr" which put the required packages into the venv directory.
After this, I reactivated conda, and all has been well.
I had this issue with the update to 1111, and what I eventually figured out was the issue was a change in how dependencies are installed to the venv directory -- basicsr in particular.
I used Conda to get the exact Python version I needed, and everything installed fine except basicsr. "pip install basicsr" didn't work because that installed the dependency into conda, but some component would only take it from the venv directory.
My solution was to deactivate conda, navigate to the webui folder, "source /bin/activate" and then "pip install basicsr" which put the required packages into the venv directory.
After this, I reactivated conda, and all has been well.
It worked, the problem seems solved, thank you very much!
Hi, i've same problem with ControlNet. Some on them are working as t2i-adapter_diffusers_xl_lineart [bae0efef] with lineart_standard (from white bg & black line) But i have "ModuleNotFoundError: No module named 'basicsr'" when i try to use "lineart_realistic".
I tryed to pip install basicsr in the venv folder but i still have the problem. Any ideas to solve that please?
venv "E:\Programmes\AI\Stable_diffusion_10_8\webui\venv\Scripts\Python.exe" Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] Version: v1.8.0 Commit hash: bef51aed032c0aaa5cfd80445bc4cf0d85b408b5 Launching Web UI with arguments: --xformers --ckpt-dir E:\Programmes\AI\StableDiffusion\stable-diffusion-webui clean\models\Stable-diffusion --vae-dir E:\Programmes\AI\StableDiffusion\stable-diffusion-webui clean\models\VAE --embeddings-dir E:\Programmes\AI\StableDiffusion\stable-diffusion-webui clean\embeddings --lora-dir E:\Programmes\AI\StableDiffusion\stable-diffusion-webui clean\models\Lora --esrgan-models-path E:\Programmes\AI\StableDiffusion\stable-diffusion-webui clean\models\ESRGAN [-] ADetailer initialized. version: 24.3.0, num models: 12 ControlNet preprocessor location: E:\Programmes\AI\Stable_diffusion_10_8\webui\extensions\sd-webui-controlnet\annotator\downloads 2024-03-06 16:01:48,478 - ControlNet - INFO - ControlNet v1.1.441 2024-03-06 16:01:48,583 - ControlNet - INFO - ControlNet v1.1.441 Loading weights [c9e3e68f89] from E:\Programmes\AI\StableDiffusion\stable-diffusion-webui clean\models\Stable-diffusion\SDXL\juggernautXL_v9Rundiffusionphoto2.safetensors Creating model from config: E:\Programmes\AI\Stable_diffusion_10_8\webui\repositories\generative-models\configs\inference\sd_xl_base.yaml 2024-03-06 16:01:49,167 - ControlNet - INFO - ControlNet UI callback registered. Running on local URL: http://127.0.0.1:7860
To create a public link, set share=True
in launch()
.
Startup time: 15.7s (prepare environment: 3.0s, import torch: 4.9s, import gradio: 1.1s, setup paths: 1.1s, initialize shared: 0.2s, other imports: 0.6s, load scripts: 2.7s, create ui: 1.7s, gradio launch: 0.4s).
Applying attention optimization: xformers... done.
Model loaded in 6.1s (load weights from disk: 0.3s, create model: 0.5s, apply weights to model: 4.5s, apply half(): 0.1s, move model to device: 0.2s, calculate empty prompt: 0.3s).
2024-03-06 16:02:00,169 - ControlNet - INFO - Preview Resolution = 512
Traceback (most recent call last):
File "E:\Programmes\AI\Stable_diffusion_10_8\webui\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "E:\Programmes\AI\Stable_diffusion_10_8\webui\venv\lib\site-packages\gradio\blocks.py", line 1431, in process_api
result = await self.call_function(
File "E:\Programmes\AI\Stable_diffusion_10_8\webui\venv\lib\site-packages\gradio\blocks.py", line 1103, in call_function
prediction = await anyio.to_thread.run_sync(
File "E:\Programmes\AI\Stable_diffusion_10_8\webui\venv\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "E:\Programmes\AI\Stable_diffusion_10_8\webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "E:\Programmes\AI\Stable_diffusion_10_8\webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 807, in run
result = context.run(func, *args)
File "E:\Programmes\AI\Stable_diffusion_10_8\webui\venv\lib\site-packages\gradio\utils.py", line 707, in wrapper
response = f(*args, **kwargs)
File "E:\Programmes\AI\Stable_diffusion_10_8\webui\extensions\sd-webui-controlnet\scripts\controlnet_ui\controlnet_ui_group.py", line 1015, in run_annotator
result, is_image = preprocessor(
File "E:\Programmes\AI\Stable_diffusion_10_8\webui\extensions\sd-webui-controlnet\scripts\utils.py", line 80, in decorated_func
return cached_func(*args, **kwargs)
File "E:\Programmes\AI\Stable_diffusion_10_8\webui\extensions\sd-webui-controlnet\scripts\utils.py", line 64, in cached_func
return func(*args, **kwargs)
File "E:\Programmes\AI\Stable_diffusion_10_8\webui\extensions\sd-webui-controlnet\scripts\global_state.py", line 37, in unified_preprocessor
return preprocessor_modules[preprocessor_name](*args, **kwargs)
File "E:\Programmes\AI\Stable_diffusion_10_8\webui\extensions\sd-webui-controlnet\scripts\processor.py", line 439, in lineart
result = 255 - model_lineart(img)
File "E:\Programmes\AI\Stable_diffusion_10_8\webui\extensions\sd-webui-controlnet\annotator\lineart_init_.py", line 119, in call
self.load_model(self.model_name)
File "E:\Programmes\AI\Stable_diffusion_10_8\webui\extensions\sd-webui-controlnet\annotator\lineart_init_.py", line 106, in load_model
from basicsr.utils.download_util import load_file_from_url
ModuleNotFoundError: No module named 'basicsr'
This was issue of ControlNet, not Automatic1111. And IMHO the solve need find in ControlNet repo. It was bug. It was solved. https://github.com/Mikubill/sd-webui-controlnet/issues/2675 https://github.com/Mikubill/sd-webui-controlnet/pull/2682 Now, all fine. Recommend to close this issue.