aigc-apps / sd-webui-EasyPhoto

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

win11下运行报错 #247

Closed cheng9911 closed 1 year ago

cheng9911 commented 1 year ago

Traceback (most recent call last): File "C:\软件\SD\sd-webui-aki-v4.4\sd-webui-aki-v4.4\python\lib\site-packages\gradio\routes.py", line 488, in run_predict output = await app.get_blocks().process_api( File "C:\软件\SD\sd-webui-aki-v4.4\sd-webui-aki-v4.4\python\lib\site-packages\gradio\blocks.py", line 1431, in process_api result = await self.call_function( File "C:\软件\SD\sd-webui-aki-v4.4\sd-webui-aki-v4.4\python\lib\site-packages\gradio\blocks.py", line 1103, in call_function prediction = await anyio.to_thread.run_sync( File "C:\软件\SD\sd-webui-aki-v4.4\sd-webui-aki-v4.4\python\lib\site-packages\anyio\to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "C:\软件\SD\sd-webui-aki-v4.4\sd-webui-aki-v4.4\python\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "C:\软件\SD\sd-webui-aki-v4.4\sd-webui-aki-v4.4\python\lib\site-packages\anyio_backends_asyncio.py", line 867, in run result = context.run(func, args) File "C:\软件\SD\sd-webui-aki-v4.4\sd-webui-aki-v4.4\python\lib\site-packages\gradio\utils.py", line 707, in wrapper response = f(args, *kwargs) File "C:\软件\SD\sd-webui-aki-v4.4\sd-webui-aki-v4.4\python\lib\contextlib.py", line 79, in inner return func(args, **kwds) File "C:\软件\SD\sd-webui-aki-v4.4\sd-webui-aki-v4.4\extensions\sd-webui-EasyPhoto\scripts\easyphoto_infer.py", line 326, in easyphoto_infer_forward image_face_fusion = pipeline(Tasks.image_face_fusion, model='damo/cv_unet-image-face-fusion_damo', model_revision='v1.3') File "C:\软件\SD\sd-webui-aki-v4.4\sd-webui-aki-v4.4\python\lib\site-packages\modelscope\pipelines\builder.py", line 163, in pipeline return build_pipeline(cfg, task_name=task) File "C:\软件\SD\sd-webui-aki-v4.4\sd-webui-aki-v4.4\python\lib\site-packages\modelscope\pipelines\builder.py", line 67, in build_pipeline return build_from_cfg( File "C:\软件\SD\sd-webui-aki-v4.4\sd-webui-aki-v4.4\python\lib\site-packages\modelscope\utils\registry.py", line 215, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') cv2.error: ImageFaceFusionPipeline: ImageFaceFusion: OpenCV(4.8.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\resize.cpp:4062: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'