Gourieff / sd-webui-reactor

Fast and Simple Face Swap Extension for StableDiffusion WebUI (A1111 SD WebUI, SD WebUI Forge, SD.Next, Cagliostro)
GNU Affero General Public License v3.0
2.48k stars 264 forks source link

Unable to multi swap faces #532

Open Randomusernamex1 opened 6 days ago

Randomusernamex1 commented 6 days ago

First, confirm

What happened?

I am unable to face swap more than one face. Every time it gets to the 2nd person to face swap It says the following

14:39:57 - ReActor - STATUS - Working: source face index [0, 1], target face index [0, 1]40/40 [00:18<00:00, 2.07it/s]

0: 640x640 (no detections), 14.0ms Speed: 32.5ms preprocess, 14.0ms inference, 24.0ms postprocess per image at shape (1, 3, 640, 640) [-] ADetailer: nothing detected on image 1 with 1st settings. 14:39:59 - ReActor - STATUS - Working: source face index [0, 1], target face index [0, 1] 14:39:59 - ReActor - STATUS - Analyzing Source Image 0: 00053-203917547.png... 14:40:02 - ReActor - STATUS - Analyzing Source Image 1: Screenshot 2024-09-22 232814.png... 14:40:03 - ReActor - STATUS - Analyzing Target Image... 14:40:04 - ReActor - STATUS - (Image 0) Detecting Source Face, Index = 0 14:40:04 - ReActor - STATUS - (Image 0) Detected: -32- y.o. Female 14:40:06 - ReActor - STATUS - Detecting Target Face, Index = 0 14:40:06 - ReActor - STATUS - Detected: -21- y.o. Female 14:40:06 - ReActor - STATUS - Swapping Source into Target 14:40:07 - ReActor - STATUS - Detecting Source Face, Index = 1 14:40:07 - ReActor - ERROR - Age Detection: No face with index = 1 was found 14:40:07 - ReActor - ERROR - Gender Detection: No face with index = 1 was found 14:40:07 - ReActor - STATUS - No source face found for face number 2. 14:40:07 - ReActor - STATUS - Restoring the face with CodeFormer (weight: 0.5) 14:40:12 - ReActor - STATUS - (Image 1) Detecting Source Face, Index = 0 14:40:12 - ReActor - STATUS - (Image 1) Detected: -23- y.o. Female 14:40:12 - ReActor - STATUS - Detecting Target Face, Index = 0 14:40:12 - ReActor - STATUS - Detected: -21- y.o. Female 14:40:12 - ReActor - STATUS - Swapping Source into Target 14:40:12 - ReActor - STATUS - Detecting Source Face, Index = 1 14:40:12 - ReActor - ERROR - Age Detection: No face with index = 1 was found 14:40:12 - ReActor - ERROR - Gender Detection: No face with index = 1 was found 14:40:12 - ReActor - STATUS - No source face found for face number 2. 14:40:12 - ReActor - STATUS - Restoring the face with CodeFormer (weight: 0.5)

Screenshot 2024-09-23 113842

Steps to reproduce the problem

  1. Click mutiple tab
  2. add the images
  3. add the index range
  4. Generate

Sysinfo

{ "Platform": "Windows-10-10.0.22631-SP0", "Python": "3.10.6", "Version": "v1.10.1", "Commit": "82a973c04367123ae98bd9abdf80d9eda9b910e2", "Git status": "On branch master\nYour branch is up to date with 'origin/master'.\n\nChanges not staged for commit:\n (use \"git add ...\" to update what will be committed)\n (use \"git restore ...\" to discard changes in working directory)\n\tmodified: webui-user.bat\n\nUntracked files:\n (use \"git add ...\" to include in what will be committed)\n\t3.20.2\n\tInput/\n\tStacey Love/\n\tgf/\n\nno changes added to commit (use \"git add\" and/or \"git commit -a\")", "Script path": "D:\Stable Diffusion\webui", "Data path": "D:\Stable Diffusion\webui", "Extensions dir": "D:\Stable Diffusion\webui\extensions", "Checksum": "85f4cc48d5c44fb00c6a66762b14c6c98dacbbd289a222ef8bff54666082459f", "Commandline": [ "launch.py", "--theme", "dark" ], "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 11 Home", "libc_version": "N/A", "python_version": "3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] (64-bit runtime)", "python_platform": "Windows-10-10.0.22631-SP0", "is_cuda_available": "True", "cuda_runtime_version": "11.8.89\r", "cuda_module_loading": "LAZY", "nvidia_driver_version": "552.12", "nvidia_gpu_models": "GPU 0: NVIDIA GeForce RTX 3080", "cudnn_version": null, "pip_version": "pip3", "pip_packages": [ "numpy==1.26.2", "open-clip-torch==2.20.0", "pytorch-lightning==1.9.4", "pytorch_optimizer==2.12.0", "torch==2.1.2+cu121", "torchdiffeq==0.2.3", "torchmetrics==1.4.1", "torchsde==0.2.6", "torchvision==0.16.2+cu121" ], "conda_packages": null, "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=3701", "DeviceID=CPU0", "Family=107", "L2CacheSize=3072", "L2CacheSpeed=", "Manufacturer=AuthenticAMD", "MaxClockSpeed=3701", "Name=AMD Ryzen 5 5600X 6-Core Processor ", "ProcessorType=3", "Revision=8448" ] }, "Exceptions": [], "CPU": { "model": "AMD64 Family 25 Model 33 Stepping 0, AuthenticAMD", "count logical": 12, "count physical": 6 }, "RAM": { "total": "16GB", "used": "14GB", "free": "2GB" }, "Extensions": [ { "name": "AnyText", "path": "D:\Stable Diffusion\webui\extensions\AnyText", "commit": "c1ffbb42b007ac7c93c584913554c95714ab285e", "branch": "main", "remote": "https://github.com/tyxsspa/AnyText" }, { "name": "DeepDanbooru", "path": "D:\Stable Diffusion\webui\extensions\DeepDanbooru", "commit": "98d9315ab702e177de706825f9cee981c9afb928", "branch": "master", "remote": "https://github.com/KichangKim/DeepDanbooru" }, { "name": "Stable-Diffusion-Webui-Civitai-Helper", "path": "D:\Stable Diffusion\webui\extensions\Stable-Diffusion-Webui-Civitai-Helper", "commit": "bcbb4b72a715a97e0c456bca0b3b5536dcd8f005", "branch": "main", "remote": "https://github.com/butaixianran/Stable-Diffusion-Webui-Civitai-Helper" }, { "name": "adetailer", "path": "D:\Stable Diffusion\webui\extensions\adetailer", "commit": "03ec9d004ae2e7051506b3485a81c67d028d38e4", "branch": "main", "remote": "https://github.com/Bing-su/adetailer.git" }, { "name": "sd-dynamic-prompts", "path": "D:\Stable Diffusion\webui\extensions\sd-dynamic-prompts", "commit": "de056ff8d80e4ad120e13a90cf200f3383f427c6", "branch": "main", "remote": "https://github.com/adieyal/sd-dynamic-prompts.git" }, { "name": "sd-webui-animatediff", "path": "D:\Stable Diffusion\webui\extensions\sd-webui-animatediff", "commit": "b7ce6550cd11f92b28172d191393061faf7e2fba", "branch": "master", "remote": "https://github.com/continue-revolution/sd-webui-animatediff.git" }, { "name": "sd-webui-controlnet", "path": "D:\Stable Diffusion\webui\extensions\sd-webui-controlnet", "commit": "56cec5b2958edf3b1807b7e7b2b1b5186dbd2f81", "branch": "main", "remote": "https://github.com/Mikubill/sd-webui-controlnet.git" }, { "name": "sd-webui-faceswaplab", "path": "D:\Stable Diffusion\webui\extensions\sd-webui-faceswaplab", "commit": "42d1c75b68bb7fdb55e2b3753eda65189f82b56d", "branch": "main", "remote": "https://github.com/glucauze/sd-webui-faceswaplab" }, { "name": "sd-webui-reactor", "path": "D:\Stable Diffusion\webui\extensions\sd-webui-reactor", "commit": "4493fd7133ba85386cd332e8e61c389d122b7d7e", "branch": "main", "remote": "https://github.com/Gourieff/sd-webui-reactor.git" }, { "name": "sd_dreambooth_extension", "path": "D:\Stable Diffusion\webui\extensions\sd_dreambooth_extension", "commit": "1b3257b46bb03c6de3bcdfa079773dc040884fbd", "branch": "main", "remote": "https://github.com/d8ahazard/sd_dreambooth_extension.git" }, { "name": "stable-diffusion-webui-images-browser", "path": "D:\Stable Diffusion\webui\extensions\stable-diffusion-webui-images-browser", "commit": "f3b0395449f6842484141067277ce3c387597f3a", "branch": "main", "remote": "https://github.com/AlUlkesh/stable-diffusion-webui-images-browser.git" }, { "name": "stable-diffusion-webui-two-shot", "path": "D:\Stable Diffusion\webui\extensions\stable-diffusion-webui-two-shot", "commit": "6b55dd5248fd07f55ffefbf9be369b439b239502", "branch": "main", "remote": "https://github.com/ashen-sensored/stable-diffusion-webui-two-shot.git" }, { "name": "stable-diffusion-webui-wildcards", "path": "D:\Stable Diffusion\webui\extensions\stable-diffusion-webui-wildcards", "commit": "d3964a790d13754d3f944c8407cd6ea4ebfb7982", "branch": "master", "remote": "https://github.com/AUTOMATIC1111/stable-diffusion-webui-wildcards.git" }, { "name": "ultimate-upscale-for-automatic1111", "path": "D:\Stable Diffusion\webui\extensions\ultimate-upscale-for-automatic1111", "commit": "2322caa480535b1011a1f9c18126d85ea444f146", "branch": "master", "remote": "https://github.com/Coyote-A/ultimate-upscale-for-automatic1111" } ], "Inactive extensions": [ { "name": "sd-webui-regional-prompter", "path": "D:\Stable Diffusion\webui\extensions\sd-webui-regional-prompter", "commit": "4802faca6bcc40c4d1033920e8ad9fd7542eca79", "branch": "main", "remote": "https://github.com/hako-mikan/sd-webui-regional-prompter.git" } ], "Environment": { "COMMANDLINE_ARGS": "--theme dark", "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": "cyberrealisticPony_v63.safetensors [653cf3eadd]", "sd_checkpoint_hash": "653cf3eaddd411264b4b874148bdd3c21e88d13e52494a1581725b534b4cb70f", "disabled_extensions": [ "sd-webui-regional-prompter" ], "disable_all_extensions": "none", "ad_max_models": 4, "ad_extra_models_dir": "", "ad_save_images_dir": "", "ad_save_previews": false, "ad_save_images_before": false, "ad_only_selected_scripts": true, "ad_script_names": "dynamic_prompting,dynamic_thresholding,lora_block_weight,negpip,wildcard_recursive,wildcards", "ad_bbox_sortby": "None", "ad_same_seed_for_each_tab": false, "ad_dynamic_denoise_power": 0, "ad_match_inpaint_bbox_size": "Off", "multiple_tqdm": true, "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, "controlnet_control_type_dropdown": false, "outdir_samples": "", "outdir_txt2img_samples": "outputs\txt2img-images", "outdir_img2img_samples": "outputs\img2img-images", "outdir_extras_samples": "outputs\extras-images", "outdir_grids": "", "outdir_txt2img_grids": "outputs\txt2img-grids", "outdir_img2img_grids": "outputs\img2img-grids", "outdir_save": "log\images", "outdir_init_images": "outputs\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_write_log_csv": 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, "hires_fix_use_firstpass_conds": false, "use_old_scheduling": false, "use_downcasted_alpha_bar": false, "refiner_switch_by_sample_steps": 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_style": "Dirs", "extra_networks_tree_view_default_enabled": true, "extra_networks_tree_view_default_width": 180.0, "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_bundled_ti_to_infotext": true, "lora_show_all": true, "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, "s_min_uncond_all": false, "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, "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", "skip_early_cond": 0, "beta_dist_alpha": 0.6, "beta_dist_beta": 0.6, "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, "sdxl_clip_l_skip": false, "CLIP_stop_at_last_layers": 1, "upcast_attn": false, "randn_source": "GPU", "tiling": false, "hires_fix_refiner_pass": "second pass", "enable_prompt_comments": true, "sd3_enable_t5": false, "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, "prevent_screen_sleep_during_generation": true, "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" ], "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, "enable_reloading_ui_scripts": false, "api_enable_requests": true, "api_forbid_local_requests": true, "api_useragent": "", "prioritized_callbacks_app_started": [], "prioritized_callbacks_model_loaded": [], "prioritized_callbacks_ui_settings": [], "prioritized_callbacks_after_component": [], "prioritized_callbacks_infotext_pasted": [], "prioritized_callbacks_script_unloaded": [], "prioritized_callbacks_before_ui": [], "prioritized_callbacks_on_reload": [], "prioritized_callbacks_list_optimizers": [], "prioritized_callbacks_before_token_counter": [], "prioritized_callbacks_script_before_process": [], "prioritized_callbacks_script_process": [], "prioritized_callbacks_script_before_process_batch": [], "prioritized_callbacks_script_postprocess": [], "prioritized_callbacks_script_postprocess_batch": [], "prioritized_callbacks_script_post_sample": [], "prioritized_callbacks_script_on_mask_blend": [], "prioritized_callbacks_script_postprocess_image": [], "prioritized_callbacks_script_postprocess_maskoverlay": [], "profiling_enable": false, "profiling_activities": [ "CPU" ], "profiling_record_shapes": true, "profiling_profile_memory": true, "profiling_with_stack": true, "profiling_filename": "trace.json", "auto_launch_browser": "Local", "enable_console_prompts": false, "show_warnings": false, "show_gradio_deprecation_warnings": true, "memmon_poll_rate": 8, "samples_log_stdout": false, "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_disable_in_extras": [], "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, "set_scale_by_when_changing_upscaler": false, "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": "", "animatediff_model_path": "", "animatediff_default_save_formats": [ "GIF", "PNG" ], "animatediff_save_to_custom": true, "animatediff_frame_extract_path": "", "animatediff_frame_extract_remove": false, "animatediff_default_frame_extract_method": "ffmpeg", "animatediff_optimize_gif_palette": false, "animatediff_optimize_gif_gifsicle": false, "animatediff_mp4_crf": 23, "animatediff_mp4_preset": "", "animatediff_mp4_tune": "", "animatediff_webp_quality": 80, "animatediff_webp_lossless": false, "animatediff_s3_enable": false, "animatediff_s3_host": "", "animatediff_s3_port": "", "animatediff_s3_access_key": "", "animatediff_s3_secret_key": "", "animatediff_s3_storge_bucket": "", "prioritized_callbacks_cfg_denoiser": [], "prioritized_callbacks_script_postprocess_batch_list": [], "wildcards_same_seed": false, "wildcards_write_infotext": true, "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_swipe": 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_img_tooltips": true, "image_browser_show_progress": true, "image_browser_info_format": true, "image_browser_info_order": "Prompt,Negative prompt,Model,VAE,Sampler,Schedule,Steps,CFG scale,Seed,Size", "image_browser_info_add": false, "image_browser_video_pos": "Above", "image_browser_video_x": 640, "image_browser_video_y": 640, "prioritized_callbacks_ui_tabs": [], "ch_max_size_preview": true, "ch_skip_nsfw_preview": false, "ch_open_url_with_js": true, "ch_check_new_ver_exist_in_all_folder": true, "ch_proxy": "", "ch_civiai_api_key": "", "dp_ignore_whitespace": false, "dp_write_raw_template": false, "dp_write_prompts_to_file": false, "dp_parser_variant_start": "{", "dp_parser_variant_end": "}", "dp_parser_wildcard_wrap": "__", "dp_limit_jinja_prompts": false, "dp_auto_purge_cache": false, "dp_wildcard_manager_no_dedupe": false, "dp_wildcard_manager_no_sort": false, "dp_wildcard_manager_shuffle": false, "dp_magicprompt_default_model": "Gustavosta/MagicPrompt-Stable-Diffusion", "dp_magicprompt_batch_size": 1, "faceswaplab_model": "D:\Stable Diffusion\webui\models\faceswaplab\inswapper_128.onnx", "faceswaplab_use_gpu": false, "faceswaplab_keep_original": false, "faceswaplab_units_count": 3, "faceswaplab_nsfw_threshold": 0.7, "faceswaplab_det_size": 640, "faceswaplab_auto_det_size": true, "faceswaplab_detection_threshold": 0.5, "faceswaplab_pp_default_face_restorer": null, "faceswaplab_pp_default_face_restorer_visibility": 1, "faceswaplab_pp_default_face_restorer_weight": 1, "faceswaplab_pp_default_upscaler": null, "faceswaplab_pp_default_upscaler_visibility": 1, "faceswaplab_pp_default_inpainting_prompt": "Portrait of a [gender]", "faceswaplab_pp_default_inpainting_negative_prompt": "blurry", "faceswaplab_default_upscaled_swapper_upscaler": null, "faceswaplab_default_upscaled_swapper_sharpen": false, "faceswaplab_default_upscaled_swapper_fixcolor": false, "faceswaplab_default_upscaled_swapper_improved_mask": false, "faceswaplab_default_upscaled_swapper_face_restorer": null, "faceswaplab_default_upscaled_swapper_face_restorer_visibility": 1, "faceswaplab_default_upscaled_swapper_face_restorer_weight": 1, "faceswaplab_default_upscaled_swapper_erosion": 1, "regprp_debug": false, "regprp_hidepmask": false, "restore_config_state_file": "", "face_model": "gf.safetensors" }, "Startup": { "total": 71.5300965309143, "records": { "initial startup": 0.0345311164855957, "prepare environment/checks": 0.010512828826904297, "prepare environment/git version info": 0.2151937484741211, "prepare environment/torch GPU test": 5.710755825042725, "prepare environment/clone repositores": 0.1531360149383545, "prepare environment/install requirements": 2.3889737129211426, "prepare environment/run extensions installers/adetailer": 0.15314030647277832, "prepare environment/run extensions installers/AnyText": 0.001001119613647461, "prepare environment/run extensions installers/DeepDanbooru": 0.0005002021789550781, "prepare environment/run extensions installers/sd-dynamic-prompts": 0.17966055870056152, "prepare environment/run extensions installers/sd-webui-animatediff": 0.0010039806365966797, "prepare environment/run extensions installers/sd-webui-controlnet": 0.16809296607971191, "prepare environment/run extensions installers/sd-webui-faceswaplab": 1.4204611778259277, "prepare environment/run extensions installers/sd-webui-reactor": 2.0811734199523926, "prepare environment/run extensions installers/sd_dreambooth_extension": 17.607429265975952, "prepare environment/run extensions installers/Stable-Diffusion-Webui-Civitai-Helper": 0.14378094673156738, "prepare environment/run extensions installers/stable-diffusion-webui-images-browser": 0.14223098754882812, "prepare environment/run extensions installers/stable-diffusion-webui-two-shot": 0.0, "prepare environment/run extensions installers/stable-diffusion-webui-wildcards": 0.0005013942718505859, "prepare environment/run extensions installers/ultimate-upscale-for-automatic1111": 0.0, "prepare environment/run extensions installers": 21.89897632598877, "prepare environment": 30.377548456192017, "launcher": 0.0020012855529785156, "import torch": 3.3191208839416504, "import gradio": 0.8033633232116699, "setup paths": 1.0295603275299072, "import ldm": 0.0070056915283203125, "import sgm": 0.0, "initialize shared": 0.22220492362976074, "other imports": 0.9768784046173096, "opts onchange": 0.0, "setup SD model": 0.0005004405975341797, "setup codeformer": 0.0015017986297607422, "setup gfpgan": 0.020520687103271484, "set samplers": 0.0, "list extensions": 0.0035028457641601562, "restore config state file": 0.0, "list SD models": 0.05204486846923828, "list localizations": 0.0005004405975341797, "load scripts/custom_code.py": 0.011511087417602539, "load scripts/img2imgalt.py": 0.0005004405975341797, "load scripts/loopback.py": 0.0010008811950683594, "load scripts/outpainting_mk_2.py": 0.0005002021789550781, "load scripts/poor_mans_outpainting.py": 0.0005002021789550781, "load scripts/postprocessing_codeformer.py": 0.0005009174346923828, "load scripts/postprocessing_gfpgan.py": 0.000499725341796875, "load scripts/postprocessing_upscale.py": 0.0010013580322265625, "load scripts/prompt_matrix.py": 0.0005009174346923828, "load scripts/prompts_from_file.py": 0.000499725341796875, "load scripts/sd_upscale.py": 0.0005004405975341797, "load scripts/xyz_grid.py": 0.002002239227294922, "load scripts/ldsr_model.py": 0.7802872657775879, "load scripts/lora_script.py": 0.2318427562713623, "load scripts/scunet_model.py": 0.025522947311401367, "load scripts/swinir_model.py": 0.019132137298583984, "load scripts/hotkey_config.py": 0.0010006427764892578, "load scripts/extra_options_section.py": 0.0010008811950683594, "load scripts/hypertile_script.py": 0.03603196144104004, "load scripts/postprocessing_autosized_crop.py": 0.0015010833740234375, "load scripts/postprocessing_caption.py": 0.0004994869232177734, "load scripts/postprocessing_create_flipped_copies.py": 0.0005006790161132812, "load scripts/postprocessing_focal_crop.py": 0.002002239227294922, "load scripts/postprocessing_split_oversized.py": 0.001001119613647461, "load scripts/soft_inpainting.py": 0.0004994869232177734, "load scripts/civitai_helper.py": 0.0570530891418457, "load scripts/!adetailer.py": 0.2803478240966797, "load scripts/dynamic_prompting.py": 0.22170162200927734, "load scripts/animatediff.py": 0.2418355941772461, "load scripts/animatediff_freeinit.py": 0.0005002021789550781, "load scripts/animatediff_i2ibatch.py": 0.0005009174346923828, "load scripts/animatediff_infotext.py": 0.0, "load scripts/animatediff_infv2v.py": 0.0005002021789550781, "load scripts/animatediff_latent.py": 0.0005002021789550781, "load scripts/animatediff_logger.py": 0.0005006790161132812, "load scripts/animatediff_mm.py": 0.0005004405975341797, "load scripts/animatediff_output.py": 0.0, "load scripts/animatediff_prompt.py": 0.0005011558532714844, "load scripts/animatediff_settings.py": 0.0, "load scripts/animatediff_ui.py": 0.0004994869232177734, "load scripts/animatediff_utils.py": 0.0005004405975341797, "load scripts/animatediff_xyz.py": 0.0005004405975341797, "load scripts/adapter.py": 0.0010008811950683594, "load scripts/api.py": 0.6708371639251709, "load scripts/batch_hijack.py": 0.0010004043579101562, "load scripts/cldm.py": 0.0030031204223632812, "load scripts/controlnet.py": 1.2925193309783936, "load scripts/controlnet_diffusers.py": 0.0005002021789550781, "load scripts/controlnet_lllite.py": 0.0, "load scripts/controlnet_lora.py": 0.0005002021789550781, "load scripts/controlnet_model_guess.py": 0.0005004405975341797, "load scripts/controlnet_sparsectrl.py": 0.0005009174346923828, "load scripts/controlnet_version.py": 0.0, "load scripts/enums.py": 0.002001047134399414, "load scripts/external_code.py": 0.0, "load scripts/global_state.py": 0.0005011558532714844, "load scripts/hook.py": 0.0005002021789550781, "load scripts/infotext.py": 0.0004999637603759766, "load scripts/logging.py": 0.0005006790161132812, "load scripts/lvminthin.py": 0.0005004405975341797, "load scripts/movie2movie.py": 0.0005006790161132812, "load scripts/supported_preprocessor.py": 0.001501321792602539, "load scripts/utils.py": 0.0005004405975341797, "load scripts/xyz_grid_support.py": 0.0010004043579101562, "load scripts/configure.py": 0.005005598068237305, "load scripts/faceswaplab.py": 0.6494314670562744, "load scripts/faceswaplab_globals.py": 0.0005006790161132812, "load scripts/console_log_patch.py": 0.005004167556762695, "load scripts/reactor_api.py": 0.031026363372802734, "load scripts/reactor_faceswap.py": 0.005504608154296875, "load scripts/reactor_globals.py": 0.0010013580322265625, "load scripts/reactor_helpers.py": 0.0, "load scripts/reactor_logger.py": 0.0004999637603759766, "load scripts/reactor_swapper.py": 0.001501321792602539, "load scripts/reactor_version.py": 0.0, "load scripts/reactor_xyz.py": 0.0252835750579834, "load scripts/init.py": 0.0005004405975341797, "load scripts/main.py": 0.08057212829589844, "load scripts/image_browser.py": 0.051549673080444336, "load scripts/sketch_helper.py": 0.0010004043579101562, "load scripts/two_shot.py": 0.022519588470458984, "load scripts/wildcards.py": 0.020017147064208984, "load scripts/ultimate-upscale.py": 0.0015020370483398438, "load scripts/comments.py": 0.019107341766357422, "load scripts/refiner.py": 0.0010006427764892578, "load scripts/sampler.py": 0.0005002021789550781, "load scripts/seed.py": 0.0010018348693847656, "load scripts": 4.8286826610565186, "load upscalers": 0.003506183624267578, "refresh VAE": 0.0015006065368652344, "refresh textual inversion templates": 0.0005002021789550781, "scripts list_optimizers": 0.0005004405975341797, "scripts list_unets": 0.0, "reload hypernetworks": 0.0010008811950683594, "initialize extra networks": 0.05254507064819336, "scripts before_ui_callback": 0.010008811950683594, "create ui": 29.176410913467407, "gradio launch": 0.5870392322540283, "add APIs": 0.007605791091918945, "app_started_callback/lora_script.py": 0.0005011558532714844, "app_started_callback/!adetailer.py": 0.0005013942718505859, "app_started_callback/api.py": 0.00350189208984375, "app_started_callback/faceswaplab.py": 0.0030028820037841797, "app_started_callback/reactor_api.py": 0.002502918243408203, "app_started_callback": 0.010010242462158203 } }, "Packages": [ "absl-py==2.1.0", "accelerate==0.21.0", "addict==2.4.0", "aenum==3.1.15", "aiofiles==23.2.1", "aiohappyeyeballs==2.4.0", "aiohttp==3.10.5", "aiosignal==1.3.1", "albumentations==1.4.3", "altair==5.4.1", "antlr4-python3-runtime==4.9.3", "anyio==3.7.1", "async-timeout==4.0.3", "attrs==24.2.0", "av==13.0.0", "bitsandbytes==0.43.0", "blendmodes==2022", "cachetools==5.5.0", "certifi==2024.8.30", "cffi==1.17.1", "chardet==5.2.0", "charset-normalizer==3.3.2", "clean-fid==0.1.35", "click==8.1.7", "clip @ https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip#sha256=b5842c25da441d6c581b53a5c60e0c2127ebafe0f746f8e15561a006c6c3be6a", "colorama==0.4.6", "coloredlogs==15.0.1", "colorlog==6.8.2", "contourpy==1.3.0", "controlnet-aux==0.0.9", "cssselect2==0.7.0", "cycler==0.12.1", "Cython==3.0.11", "deprecation==2.1.0", "depth_anything @ https://github.com/huchenlei/Depth-Anything/releases/download/v1.0.0/depth_anything-2024.1.22.0-py2.py3-none-any.whl#sha256=26c1d38b8c3c306b4a2197d725a4b989ff65f7ebcf4fb5a96a1b6db7fbd56780", "depth_anything_v2 @ https://github.com/MackinationsAi/UDAV2-ControlNet/releases/download/v1.0.0/depth_anything_v2-2024.7.1.0-py2.py3-none-any.whl#sha256=6848128867d1f7c7519d88df0f88bfab89100dc5225259c4d7cb90325c308c9f", "diffusers==0.30.2", "dill==0.3.8", "discord-webhook==1.3.0", "diskcache==5.6.3", "dsine @ https://github.com/sdbds/DSINE/releases/download/1.0.2/dsine-2024.3.23-py3-none-any.whl#sha256=b9ea3bacce09f9b3f7fb4fa12471da7e465b2f9a60412711105a9238db280442", "dynamicprompts==0.31.0", "easydict==1.13", "einops==0.4.1", "exceptiongroup==1.2.2", "facexlib==0.3.0", "fastapi==0.94.0", "ffmpy==0.4.0", "filelock==3.15.4", "filterpy==1.4.5", "flatbuffers==24.3.25", "fonttools==4.53.1", "frozenlist==1.4.1", "fsspec==2024.9.0", "ftfy==6.2.3", "fvcore==0.1.5.post20221221", "geffnet==1.0.2", "gitdb==4.0.11", "GitPython==3.1.43", "glob2==0.5", "google-auth==2.34.0", "google-auth-oauthlib==1.0.0", "gradio==3.41.2", "gradio_client==0.5.0", "grpcio==1.66.1", "h11==0.12.0", "handrefinerportable @ https://github.com/huchenlei/HandRefinerPortable/releases/download/v1.0.1/handrefinerportable-2024.2.12.0-py2.py3-none-any.whl#sha256=1e6c702905919f4c49bcb2db7b20d334e8458a7555cd57630600584ec38ca6a9", "httpcore==0.15.0", "httpx==0.24.1", "huggingface-hub==0.24.6", "humanfriendly==10.0", "idna==3.8", "ifnude==0.0.3", "imageio==2.35.1", "imageio-ffmpeg==0.5.1", "importlib_metadata==8.4.0", "importlib_resources==6.4.4", "inflection==0.5.1", "insightface @ https://github.com/Gourieff/Assets/raw/main/Insightface/insightface-0.7.3-cp310-cp310-win_amd64.whl#sha256=47aa0571b2aadd8545d4bc7615dfbc374c10180c283b7ac65058fcb41ed4df86", "iopath==0.1.9", "jax==0.4.31", "jaxlib==0.4.31", "Jinja2==3.1.4", "joblib==1.4.2", "jsonmerge==1.8.0", "jsonschema==4.23.0", "jsonschema-specifications==2023.12.1", "kiwisolver==1.4.7", "kornia==0.6.7", "lark==1.1.2", "lazy_loader==0.4", "lightning-utilities==0.11.7", "llvmlite==0.43.0", "lxml==5.3.0", "manifold3d==2.5.1", "mapbox_earcut==1.0.2", "Markdown==3.7", "markdown-it-py==3.0.0", "MarkupSafe==2.1.5", "matplotlib==3.9.2", "mdurl==0.1.2", "mediapipe==0.10.14", "ml-dtypes==0.4.0", "mpmath==1.3.0", "multidict==6.0.5", "narwhals==1.6.2", "networkx==3.3", "numba==0.60.0", "numpy==1.26.2", "oauthlib==3.2.2", "omegaconf==2.2.3", "onnx==1.14.0", "onnxruntime==1.15.0", "onnxruntime-gpu==1.19.2", "open-clip-torch==2.20.0", "opencv-contrib-python==4.10.0.84", "opencv-python==4.10.0.84", "opencv-python-headless==4.10.0.84", "opt-einsum==3.3.0", "orjson==3.10.7", "packaging==24.1", "pandas==2.2.2", "piexif==1.1.3", "Pillow==9.5.0", "pillow-avif-plugin==1.4.3", "pip==24.2", "platformdirs==4.2.2", "portalocker==2.10.1", "prettytable==3.11.0", "protobuf==3.20.0", "psutil==5.9.5", "py-cpuinfo==9.0.0", "pyasn1==0.6.0", "pyasn1_modules==0.4.0", "pycollada==0.8", "pycparser==2.22", "pydantic==1.10.17", "pydub==0.25.1", "Pygments==2.18.0", "pyparsing==3.1.4", "pyreadline3==3.4.1", "PySocks==1.7.1", "python-dateutil==2.9.0.post0", "python-multipart==0.0.9", "pytorch-lightning==1.9.4", "pytorch_optimizer==2.12.0", "pytz==2024.1", "PyWavelets==1.7.0", "pywin32==306", "PyYAML==6.0.2", "referencing==0.35.1", "regex==2024.7.24", "reportlab==4.2.2", "requests==2.32.3", "requests-oauthlib==2.0.0", "resize-right==0.0.2", "rich==13.8.0", "rpds-py==0.20.0", "rsa==4.9", "Rtree==1.3.0", "safetensors==0.4.2", "scikit-image==0.21.0", "scikit-learn==1.5.1", "scipy==1.14.1", "seaborn==0.13.2", "semantic-version==2.10.0", "Send2Trash==1.8.3", "sentencepiece==0.2.0", "setuptools==69.5.1", "shapely==2.0.6", "six==1.16.0", "smmap==5.0.1", "sniffio==1.3.1", "sounddevice==0.5.0", "spandrel==0.3.4", "spandrel_extra_arches==0.1.1", "starlette==0.26.1", "svg.path==6.3", "svglib==1.5.1", "sympy==1.13.2", "tabulate==0.9.0", "tensorboard==2.13.0", "tensorboard-data-server==0.7.2", "termcolor==2.4.0", "threadpoolctl==3.5.0", "tifffile==2024.8.30", "timm==0.6.7", "tinycss2==1.3.0", "tokenizers==0.13.3", "tomesd==0.1.3", "tomli==2.0.1", "torch==2.1.2+cu121", "torchdiffeq==0.2.3", "torchmetrics==1.4.1", "torchsde==0.2.6", "torchvision==0.16.2+cu121", "tqdm==4.66.5", "trampoline==0.1.2", "transformers==4.30.2", "trimesh==4.4.9", "typing_extensions==4.12.2", "tzdata==2024.1", "ultralytics==8.2.87", "ultralytics-thop==2.0.6", "urllib3==2.2.2", "uvicorn==0.30.6", "vhacdx==0.0.8.post1", "wcwidth==0.2.13", "webencodings==0.5.1", "websockets==11.0.3", "Werkzeug==3.0.4", "wheel==0.44.0", "xatlas==0.0.9", "xxhash==3.5.0", "yacs==0.1.8", "yapf==0.40.2", "yarl==1.9.11", "zipp==3.20.1" ] }

Relevant console log

Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.10.1
Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2
Installing requirements
Faceswaplab : Use GPU requirements
Checking faceswaplab requirements
Install protobuf>=3.20.2
Installing sd-webui-faceswaplab requirement: protobuf>=3.20.2
1.1353096999991976
CUDA 12.1
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
If submitting an issue on github, please provide the full startup log for debugging purposes.

Initializing Dreambooth
Dreambooth revision: 1b3257b46bb03c6de3bcdfa079773dc040884fbd
Checking xformers...
Checking bitsandbytes...
Checking bitsandbytes (ALL!)
Checking Dreambooth requirements...
Installed version of bitsandbytes: 0.43.0
[Dreambooth] bitsandbytes v0.43.0 is already installed.
Installed version of accelerate: 0.21.0
[Dreambooth] accelerate v0.21.0 is already installed.
[Dreambooth] dadaptation v3.2 is not installed.
Error occurred: Collecting dadaptation>=3.2

  Using cached dadaptation-3.2.tar.gz (13 kB)

  Installing build dependencies: started

  Installing build dependencies: finished with status 'done'

  Getting requirements to build wheel: started

  Getting requirements to build wheel: finished with status 'done'

ERROR: Exception:

Traceback (most recent call last):

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_internal\cli\base_command.py", line 105, in _run_wrapper

    status = _inner_run()

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_internal\cli\base_command.py", line 96, in _inner_run

    return self.run(options, args)

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_internal\cli\req_command.py", line 67, in wrapper

    return func(self, options, args)

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_internal\commands\install.py", line 379, in run

    requirement_set = resolver.resolve(

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_internal\resolution\resolvelib\resolver.py", line 95, in resolve

    result = self._result = resolver.resolve(

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 546, in resolve

    state = resolution.resolve(requirements, max_rounds=max_rounds)

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 397, in resolve

    self._add_to_criteria(self.state.criteria, r, parent=None)

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 173, in _add_to_criteria

    if not criterion.candidates:

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_vendor\resolvelib\structs.py", line 156, in __bool__

    return bool(self._sequence)

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 174, in __bool__

    return any(self)

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 162, in <genexpr>

    return (c for c in iterator if id(c) not in self._incompatible_ids)

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 53, in _iter_built

    candidate = func()

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_internal\resolution\resolvelib\factory.py", line 186, in _make_candidate_from_link

    base: Optional[BaseCandidate] = self._make_base_candidate_from_link(

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_internal\resolution\resolvelib\factory.py", line 232, in _make_base_candidate_from_link

    self._link_candidate_cache[link] = LinkCandidate(

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 303, in __init__

    super().__init__(

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 158, in __init__

    self.dist = self._prepare()

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 235, in _prepare

    dist = self._prepare_distribution()

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 314, in _prepare_distribution

    return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_internal\operations\prepare.py", line 527, in prepare_linked_requirement

    return self._prepare_linked_requirement(req, parallel_builds)

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_internal\operations\prepare.py", line 642, in _prepare_linked_requirement

    dist = _get_prepared_distribution(

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_internal\operations\prepare.py", line 72, in _get_prepared_distribution

    abstract_dist.prepare_distribution_metadata(

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_internal\distributions\sdist.py", line 56, in prepare_distribution_metadata

    self._install_build_reqs(finder)

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_internal\distributions\sdist.py", line 126, in _install_build_reqs

    build_reqs = self._get_build_requires_wheel()

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_internal\distributions\sdist.py", line 103, in _get_build_requires_wheel

    return backend.get_requires_for_build_wheel()

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_internal\utils\misc.py", line 706, in get_requires_for_build_wheel

    return super().get_requires_for_build_wheel(config_settings=cs)

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_vendor\pyproject_hooks\_impl.py", line 166, in get_requires_for_build_wheel

    return self._call_hook('get_requires_for_build_wheel', {

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_vendor\pyproject_hooks\_impl.py", line 321, in _call_hook

    raise BackendUnavailable(data.get('traceback', ''))

pip._vendor.pyproject_hooks._impl.BackendUnavailable: Traceback (most recent call last):

  File "D:\Stable Diffusion\system\python\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 77, in _build_backend

    obj = import_module(mod_path)

  File "importlib\__init__.py", line 126, in import_module

  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import

  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load

  File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked

  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed

  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import

  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load

  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked

  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked

  File "<frozen importlib._bootstrap_external>", line 883, in exec_module

  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed

  File "C:\Users\Tom\AppData\Local\Temp\pip-build-env-_xw066fc\overlay\Lib\site-packages\setuptools\__init__.py", line 27, in <module>

    from .dist import Distribution

  File "C:\Users\Tom\AppData\Local\Temp\pip-build-env-_xw066fc\overlay\Lib\site-packages\setuptools\dist.py", line 18, in <module>

    from . import (

  File "C:\Users\Tom\AppData\Local\Temp\pip-build-env-_xw066fc\overlay\Lib\site-packages\setuptools\_entry_points.py", line 6, in <module>

    from jaraco.text import yield_lines

  File "C:\Users\Tom\AppData\Local\Temp\pip-build-env-_xw066fc\overlay\Lib\site-packages\setuptools\_vendor\jaraco\text\__init__.py", line 12, in <module>

    from jaraco.context import ExceptionTrap

  File "C:\Users\Tom\AppData\Local\Temp\pip-build-env-_xw066fc\overlay\Lib\site-packages\setuptools\_vendor\jaraco\context.py", line 11, in <module>

    import urllib.request

  File "urllib\request.py", line 88, in <module>

  File "http\client.py", line 71, in <module>

  File "email\parser.py", line 12, in <module>

  File "email\feedparser.py", line 27, in <module>

  File "email\_policybase.py", line 9, in <module>

  File "email\utils.py", line 29, in <module>

  File "socket.py", line 51, in <module>

ModuleNotFoundError: No module named '_socket'

Installed version of diffusers: 0.30.2
[Dreambooth] diffusers v0.25.0 is already installed.
Installed version of discord-webhook: 1.3.0
[Dreambooth] discord-webhook v1.3.0 is already installed.
Installed version of fastapi: 0.94.0
[Dreambooth] fastapi is already installed.
Installed version of gitpython: 3.1.32
[Dreambooth] gitpython v3.1.40 is not installed.
Successfully installed gitpython-3.1.43

Installed version of pytorch_optimizer: 2.12.0
[Dreambooth] pytorch_optimizer v2.12.0 is already installed.
Installed version of Pillow: 9.5.0
[Dreambooth] Pillow is already installed.
Installed version of tqdm: 4.66.5
[Dreambooth] tqdm is already installed.
Installed version of tomesd: 0.1.3
[Dreambooth] tomesd v0.1.2 is already installed.
Installed version of tensorboard: 2.13.0
[Dreambooth] tensorboard v2.13.0 is already installed.
[+] torch version 2.1.2+cu121 installed.
[+] torchvision version 0.16.2+cu121 installed.
[+] accelerate version 0.21.0 installed.
[+] diffusers version 0.30.2 installed.
[+] bitsandbytes version 0.43.0 installed.
[!] xformers NOT installed.
Launching Web UI with arguments: --theme dark
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Civitai Helper: Root Path is: D:\Stable Diffusion\webui
Civitai Helper: Get Custom Model Folder
[-] ADetailer initialized. version: 24.9.0, num models: 13
ControlNet preprocessor location: D:\Stable Diffusion\webui\extensions\sd-webui-controlnet\annotator\downloads
2024-09-23 14:34:29,184 - ControlNet - INFO - ControlNet v1.1.455
14:34:30 - ReActor - STATUS - Running v0.7.1-a2 on Device: CUDA
Loading weights [653cf3eadd] from D:\Stable Diffusion\webui\models\Stable-diffusion\cyberrealisticPony_v63.safetensors
Creating model from config: D:\Stable Diffusion\webui\repositories\generative-models\configs\inference\sd_xl_base.yaml
Applying attention optimization: Doggettx... done.
Model loaded in 27.2s (load weights from disk: 0.7s, create model: 1.9s, apply weights to model: 23.1s, move model to device: 0.2s, load textual inversion embeddings: 0.1s, calculate empty prompt: 1.0s).
2024-09-23 14:34:58,182 - ControlNet - INFO - ControlNet UI callback registered.
Civitai Helper: Settings:
Civitai Helper: max_size_preview: True
Civitai Helper: skip_nsfw_preview: False
Civitai Helper: open_url_with_js: True
Civitai Helper: check_new_ver_exist_in_all_folder: True
Civitai Helper: proxy:
Civitai Helper: use civitai api key: False
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 71.5s (prepare environment: 30.4s, import torch: 3.3s, import gradio: 0.8s, setup paths: 1.0s, initialize shared: 0.2s, other imports: 1.0s, load scripts: 4.8s, create ui: 29.2s, gradio launch: 0.6s).
Advanced elements visible: False
100%|██████████████████████████████████████████████████████████████████████████████████| 40/40 [00:24<00:00,  1.65it/s]
14:39:57 - ReActor - STATUS - Working: source face index [0, 1], target face index [0, 1]40/40 [00:18<00:00,  2.07it/s]

0: 640x640 (no detections), 14.0ms
Speed: 32.5ms preprocess, 14.0ms inference, 24.0ms postprocess per image at shape (1, 3, 640, 640)
[-] ADetailer: nothing detected on image 1 with 1st settings.
14:39:59 - ReActor - STATUS - Working: source face index [0, 1], target face index [0, 1]
14:39:59 - ReActor - STATUS - Analyzing Source Image 0: 00053-203917547.png...
14:40:02 - ReActor - STATUS - Analyzing Source Image 1: Screenshot 2024-09-22 232814.png...
14:40:03 - ReActor - STATUS - Analyzing Target Image...
14:40:04 - ReActor - STATUS - (Image 0) Detecting Source Face, Index = 0
14:40:04 - ReActor - STATUS - (Image 0) Detected: -32- y.o. Female
14:40:06 - ReActor - STATUS - Detecting Target Face, Index = 0
14:40:06 - ReActor - STATUS - Detected: -21- y.o. Female
14:40:06 - ReActor - STATUS - Swapping Source into Target
14:40:07 - ReActor - STATUS - Detecting Source Face, Index = 1
14:40:07 - ReActor - ERROR - Age Detection: No face with index = 1 was found
14:40:07 - ReActor - ERROR - Gender Detection: No face with index = 1 was found
14:40:07 - ReActor - STATUS - No source face found for face number 2.
14:40:07 - ReActor - STATUS - Restoring the face with CodeFormer (weight: 0.5)
14:40:12 - ReActor - STATUS - (Image 1) Detecting Source Face, Index = 0
14:40:12 - ReActor - STATUS - (Image 1) Detected: -23- y.o. Female
14:40:12 - ReActor - STATUS - Detecting Target Face, Index = 0
14:40:12 - ReActor - STATUS - Detected: -21- y.o. Female
14:40:12 - ReActor - STATUS - Swapping Source into Target
14:40:12 - ReActor - STATUS - Detecting Source Face, Index = 1
14:40:12 - ReActor - ERROR - Age Detection: No face with index = 1 was found
14:40:12 - ReActor - ERROR - Gender Detection: No face with index = 1 was found
14:40:12 - ReActor - STATUS - No source face found for face number 2.
14:40:12 - ReActor - STATUS - Restoring the face with CodeFormer (weight: 0.5)
Total progress: 100%|██████████████████████████████████████████████████████████████████| 40/40 [00:40<00:00,  1.01s/it]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 40/40 [00:40<00:00,  2.07it/s]

Additional information

I have also tried a fresh install of Stable diffusion on a seperate drive

kalle07 commented 6 days ago

same issue mentioned month ago ReActor - ERROR - Age Detection: No face with index = 1 was found ReActor - ERROR - Gender Detection: No face with index = 1 was found

Randomusernamex1 commented 6 days ago

same issue mentioned month ago ReActor - ERROR - Age Detection: No face with index = 1 was found ReActor - ERROR - Gender Detection: No face with index = 1 was found

What do you mean?

kalle07 commented 6 days ago

https://github.com/Gourieff/sd-webui-reactor/issues/519 maybe a bit different error

kalle07 commented 6 days ago

on multifaces (two faces) one left one right so the first time is in txt2img: i can only swap one face and only the left one, the second is not processed (with all possibilities -> 0,1 0,0, 1,1 1,0) if sometimes it changed booth faces a bit, so with as source i have only one face (a model face) so iam aware of it that the image must be processed two times

the second is in img2img with denoise 0 even if i flip the image it doesnt replace the face well , mostly booth changed (with detection 0.1 and all possibilities 0,1 0,0, 1,1 1,0) and both faces realy big and very well

with this settings it swap the left face with txt2img very well ! wirh img2img NOT !

grafik

in addition ... if i set only 1 face detection it is all the same

Randomusernamex1 commented 4 days ago

Any help with this?