aigc-apps / sd-webui-EasyPhoto

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

[Bug]: dont work -From One Image to another- #404

Open kalle07 opened 6 months ago

kalle07 commented 6 months ago

Is there an existing issue for this?

Is EasyPhoto the latest version?

What happened?

-

Steps to reproduce the problem

-

What should have happened?

-

Commit where the problem happens

-

What browsers do you use to access the UI ?

No response

Command Line Arguments

-

List of enabled extensions

-

Console logs

Loading weights [d3f14f5eba] from D:\stable-diffusion\webui\models\Stable-diffusion\15\c3_v110.safetensors
Loading weights [7c819b6d13] from D:\stable-diffusion\webui\models\Stable-diffusion\majicmixRealistic_v7.safetensors
Loading weights [7c819b6d13] from D:\stable-diffusion\webui\models\Stable-diffusion\majicmixRealistic_v7.safetensors
Cleanup completed.
Traceback (most recent call last):
  File "d:\stable-diffusion\system\python\lib\site-packages\gradio\routes.py", line 488, in run_predict
    output = await app.get_blocks().process_api(
  File "d:\stable-diffusion\system\python\lib\site-packages\gradio\blocks.py", line 1431, in process_api
    result = await self.call_function(
  File "d:\stable-diffusion\system\python\lib\site-packages\gradio\blocks.py", line 1103, in call_function
    prediction = await anyio.to_thread.run_sync(
  File "d:\stable-diffusion\system\python\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\system\python\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
    return await future
  File "d:\stable-diffusion\system\python\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
    result = context.run(func, *args)
  File "d:\stable-diffusion\system\python\lib\site-packages\gradio\utils.py", line 707, in wrapper
    response = f(*args, **kwargs)
  File "contextlib.py", line 79, in inner
  File "contextlib.py", line 79, in inner
  File "D:\stable-diffusion\webui\extensions\sd-webui-EasyPhoto\scripts\easyphoto_infer.py", line 2165, in easyphoto_video_infer_forward
    if not check_id_valid(user_id, user_id_outpath_samples, models_path):
  File "D:\stable-diffusion\webui\extensions\sd-webui-EasyPhoto\scripts\easyphoto_utils\common_utils.py", line 486, in check_id_valid
    face_id_image_path = os.path.join(user_id_outpath_samples, user_id, "ref_image.jpg")
  File "ntpath.py", line 143, in join
  File "genericpath.py", line 152, in _check_arg_types
TypeError: join() argument must be str, bytes, or os.PathLike object, not 'NoneType'

Additional information

No response