aigc-apps / sd-webui-EasyPhoto

📷 EasyPhoto | Your Smart AI Photo Generator.
Apache License 2.0
4.92k stars 387 forks source link

Template 1 error: Error info is list index out of range. #416

Closed lvsh2012 closed 6 months ago

lvsh2012 commented 6 months ago

024-03-20 17:23:33,380 - ControlNet - INFO - unit_separate = False, style_align = False 2024-03-20 17:23:33,436 - ControlNet - WARNING - [canny.processor_res] Invalid value(-1), using default value 512. 2024-03-20 17:23:33,729 - ControlNet - INFO - Loading model: control_v11p_sd15_canny [d14c016b] 2024-03-20 17:23:34,077 - ControlNet - INFO - Loaded state_dict from [/mnt/code/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11p_sd15_canny.pth] 2024-03-20 17:23:34,077 - ControlNet - INFO - controlnet_default_config 2024-03-20 17:23:35,273 - ControlNet - INFO - ControlNet model control_v11p_sd15_canny d14c016b loaded. 2024-03-20 17:23:35,294 - ControlNet - INFO - Using preprocessor: canny 2024-03-20 17:23:35,294 - ControlNet - INFO - preprocessor resolution = 512 2024-03-20 17:23:35,296 - ControlNet - WARNING - [openpose_full.processor_res] Invalid value(-1), using default value 512. 2024-03-20 17:23:35,629 - ControlNet - INFO - Loading model: control_v11p_sd15_openpose [cab727d4] 2024-03-20 17:23:35,917 - ControlNet - INFO - Loaded state_dict from [/mnt/code/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11p_sd15_openpose.pth] 2024-03-20 17:23:35,917 - ControlNet - INFO - controlnet_default_config 2024-03-20 17:23:37,102 - ControlNet - INFO - ControlNet model control_v11p_sd15_openpose cab727d4 loaded. 2024-03-20 17:23:37,119 - ControlNet - INFO - Using preprocessor: openpose_full 2024-03-20 17:23:37,120 - ControlNet - INFO - preprocessor resolution = 512 2024-03-20 17:23:37,980 - ControlNet - INFO - Loading model: control_sd15_random_color [3afa6fba] 2024-03-20 17:23:38,236 - ControlNet - INFO - Loaded state_dict from [/mnt/code/stable-diffusion-webui/models/ControlNet/control_sd15_random_color.pth] 2024-03-20 17:23:38,236 - ControlNet - INFO - controlnet_default_config 2024-03-20 17:23:39,879 - ControlNet - INFO - ControlNet model control_sd15_random_color 3afa6fba loaded. 2024-03-20 17:23:39,892 - ControlNet - INFO - Using preprocessor: none 2024-03-20 17:23:39,892 - ControlNet - INFO - preprocessor resolution = -1 2024-03-20 17:23:40,273 - ControlNet - INFO - Loading model: ip-adapter-full-face_sd15 [3459c5eb] 2024-03-20 17:23:40,293 - ControlNet - INFO - Loaded state_dict from [/mnt/code/stable-diffusion-webui/models/ControlNet/ip-adapter-full-face_sd15.pth] 2024-03-20 17:23:40,336 - ControlNet - INFO - ControlNet model ip-adapter-full-face_sd15 3459c5eb loaded. 2024-03-20 17:23:40,337 - ControlNet - INFO - Using preprocessor: ip-adapter_clip_sd15 2024-03-20 17:23:40,337 - ControlNet - INFO - preprocessor resolution = -1 2024-03-20 17:23:40,459 - ControlNet - INFO - ControlNet Hooked - Time = 7.066031455993652 Traceback (most recent call last): File "/mnt/code/stable-diffusion-webui/extensions/sd-webui-EasyPhoto/scripts/easyphoto_infer.py", line 1535, in easyphoto_infer_forward first_diffusion_output_image = first_diffusion_output_image[0] IndexError: list index out of range 2024-03-20 17:23:40,883 - EasyPhoto - Template 1 error: Error info is list index out of range, skip it.

hkunzhe commented 6 months ago

@lvsh2012, Can you give me an example to reproduce the error?

lvsh2012 commented 6 months ago

@lvsh2012, Can you give me an example to reproduce the error?

解决了,是文件权限问题。项目目录设置为775 就可以了