aigc-apps/sd-webui-EasyPhoto

[Bug]: Error reporting when using virtual fitting

hjj-lmx opened this issue · 0 comments

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits of both this extension and the webui

Is EasyPhoto the latest version?

  • I have updated EasyPhoto to the latest version and the bug still exists.

What happened?

Traceback (most recent call last):
File "D:\stable-diffusion-webui-1.8\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "D:\stable-diffusion-webui-1.8\venv\lib\site-packages\gradio\blocks.py", line 1431, in process_api
result = await self.call_function(
File "D:\stable-diffusion-webui-1.8\venv\lib\site-packages\gradio\blocks.py", line 1103, in call_function
prediction = await anyio.to_thread.run_sync(
File "D:\stable-diffusion-webui-1.8\venv\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "D:\stable-diffusion-webui-1.8\venv\lib\site-packages\anyio_backends_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "D:\stable-diffusion-webui-1.8\venv\lib\site-packages\anyio_backends_asyncio.py", line 807, in run
result = context.run(func, *args)
File "D:\stable-diffusion-webui-1.8\venv\lib\site-packages\gradio\utils.py", line 707, in wrapper
response = f(*args, **kwargs)
File "C:\Users\lhcx\AppData\Local\Programs\Python\Python310\lib\contextlib.py", line 79, in inner
return func(*args, **kwds)
File "C:\Users\lhcx\AppData\Local\Programs\Python\Python310\lib\contextlib.py", line 79, in inner
return func(*args, **kwds)
File "D:\stable-diffusion-webui-1.8\extensions\sd-webui-EasyPhoto\scripts\easyphoto_tryon_infer.py", line 509, in easyphoto_tryon_infer_forward
result_img = result_img[0]
IndexError: list index out of range

Steps to reproduce the problem

  1. Go to ....
  2. Press ....
  3. ...
    Traceback (most recent call last):
    File "D:\stable-diffusion-webui-1.8\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict
    output = await app.get_blocks().process_api(
    File "D:\stable-diffusion-webui-1.8\venv\lib\site-packages\gradio\blocks.py", line 1431, in process_api
    result = await self.call_function(
    File "D:\stable-diffusion-webui-1.8\venv\lib\site-packages\gradio\blocks.py", line 1103, in call_function
    prediction = await anyio.to_thread.run_sync(
    File "D:\stable-diffusion-webui-1.8\venv\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
    File "D:\stable-diffusion-webui-1.8\venv\lib\site-packages\anyio_backends_asyncio.py", line 877, in run_sync_in_worker_thread
    return await future
    File "D:\stable-diffusion-webui-1.8\venv\lib\site-packages\anyio_backends_asyncio.py", line 807, in run
    result = context.run(func, *args)
    File "D:\stable-diffusion-webui-1.8\venv\lib\site-packages\gradio\utils.py", line 707, in wrapper
    response = f(*args, **kwargs)
    File "C:\Users\lhcx\AppData\Local\Programs\Python\Python310\lib\contextlib.py", line 79, in inner
    return func(*args, **kwds)
    File "C:\Users\lhcx\AppData\Local\Programs\Python\Python310\lib\contextlib.py", line 79, in inner
    return func(*args, **kwds)
    File "D:\stable-diffusion-webui-1.8\extensions\sd-webui-EasyPhoto\scripts\easyphoto_tryon_infer.py", line 509, in easyphoto_tryon_infer_forward
    result_img = result_img[0]
    IndexError: list index out of range

What should have happened?

1

Commit where the problem happens

webui:
EastPhoto:
Uploading image.png…

What browsers do you use to access the UI ?

No response

Command Line Arguments

1

List of enabled extensions

1

Console logs

1

Additional information

No response