|
本帖最后由 没脸的艾米丽 于 2023-11-20 10:31 编辑
显示:
unfreezed!
[FACEFUSION.CORE] Creating temporary resources
[FACEFUSION.CORE] Extracting frames with 25.0 FPS
[FACEFUSION.FRAME_PROCESSOR.FACE_SWAPPER] Processing
Processing: 0%| | 0/1044 [00:00<?, ?frame/s][ WARN:54@1480.791] global loadsave.cpp:248 cv::findDecoder imread_('C:\Users\yhkj\AppData\Local\Temp\facefusion\涓嬭浇 1\0001.jpg'): can't open/read file: check file path/integrity
[ WARN:55@1480.801] global loadsave.cpp:248 cv::findDecoder imread_('C:\Users\yhkj\AppData\Local\Temp\facefusion\涓嬭浇 1\0137.jpg'): can't open/read file: check file path/integrity
[ WARN:56@1480.809] global loadsave.cpp:248 cv::findDecoder imread_('C:\Users\yhkj\AppData\Local\Temp\facefusion\涓嬭浇 1\0273.jpg'): can't open/read file: check file path/integrity
[ WARN:57@1480.813] global loadsave.cpp:248 cv::findDecoder imread_('C:\Users\yhkj\AppData\Local\Temp\facefusion\涓嬭浇 1\0409.jpg'): can't open/read file: check file path/integrity
[ WARN:58@1480.820] global loadsave.cpp:248 cv::findDecoder imread_('C:\Users\yhkj\AppData\Local\Temp\facefusion\涓嬭浇 1\0545.jpg'): can't open/read file: check file path/integrity
[ WARN:59@1480.822] global loadsave.cpp:248 cv::findDecoder imread_('C:\Users\yhkj\AppData\Local\Temp\facefusion\涓嬭浇 1\0681.jpg'): can't open/read file: check file path/integrity
[ WARN:54@1480.824] global loadsave.cpp:248 cv::findDecoder imread_('C:\Users\yhkj\AppData\Local\Temp\facefusion\涓嬭浇 1\0817.jpg'): can't open/read file: check file path/integrity
[ WARN:60@1480.826] global loadsave.cpp:248 cv::findDecoder imread_('C:\Users\yhkj\AppData\Local\Temp\facefusion\涓嬭浇 1\0953.jpg'): can't open/read file: check file path/integrity
Processing: 0%| | 0/1044 [00:00<?, ?frame/s]
Traceback (most recent call last):
File "D:\facefusion\facefusion1.3.1解压即用N卡整合版带直播中文版_231120\facefusion1.3.1\python310\lib\site-packages\gradio\routes.py", line 534, in predict
output = await route_utils.call_process_api(
File "D:\facefusion\facefusion1.3.1解压即用N卡整合版带直播中文版_231120\facefusion1.3.1\python310\lib\site-packages\gradio\route_utils.py", line 226, in call_process_api
output = await app.get_blocks().process_api(
File "D:\facefusion\facefusion1.3.1解压即用N卡整合版带直播中文版_231120\facefusion1.3.1\python310\lib\site-packages\gradio\blocks.py", line 1554, in process_api
result = await self.call_function(
File "D:\facefusion\facefusion1.3.1解压即用N卡整合版带直播中文版_231120\facefusion1.3.1\python310\lib\site-packages\gradio\blocks.py", line 1192, in call_function
prediction = await anyio.to_thread.run_sync(
File "D:\facefusion\facefusion1.3.1解压即用N卡整合版带直播中文版_231120\facefusion1.3.1\python310\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "D:\facefusion\facefusion1.3.1解压即用N卡整合版带直播中文版_231120\facefusion1.3.1\python310\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "D:\facefusion\facefusion1.3.1解压即用N卡整合版带直播中文版_231120\facefusion1.3.1\python310\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
result = context.run(func, *args)
File "D:\facefusion\facefusion1.3.1解压即用N卡整合版带直播中文版_231120\facefusion1.3.1\python310\lib\site-packages\gradio\utils.py", line 659, in wrapper
response = f(*args, **kwargs)
File "D:\facefusion\facefusion1.3.1解压即用N卡整合版带直播中文版_231120\facefusion1.3.1\facefusion\uis\components\output.py", line 50, in start
conditional_process()
File "D:\facefusion\facefusion1.3.1解压即用N卡整合版带直播中文版_231120\facefusion1.3.1\facefusion\core.py", line 189, in conditional_process
process_video()
File "D:\facefusion\facefusion1.3.1解压即用N卡整合版带直播中文版_231120\facefusion1.3.1\facefusion\core.py", line 225, in process_video
frame_processor_module.process_video(facefusion.globals.source_path, temp_frame_paths)
File "D:\facefusion\facefusion1.3.1解压即用N卡整合版带直播中文版_231120\facefusion1.3.1\facefusion\processors\frame\modules\face_swapper.py", line 155, in process_video
frame_processors.multi_process_frames(source_path, temp_frame_paths, process_frames)
File "D:\facefusion\facefusion1.3.1解压即用N卡整合版带直播中文版_231120\facefusion1.3.1\facefusion\processors\frame\core.py", line 77, in multi_process_frames
future_done.result()
File "D:\facefusion\facefusion1.3.1解压即用N卡整合版带直播中文版_231120\facefusion1.3.1\python310\lib\concurrent\futures\_base.py", line 451, in result
return self.__get_result()
File "D:\facefusion\facefusion1.3.1解压即用N卡整合版带直播中文版_231120\facefusion1.3.1\python310\lib\concurrent\futures\_base.py", line 403, in __get_result
raise self._exception
File "D:\facefusion\facefusion1.3.1解压即用N卡整合版带直播中文版_231120\facefusion1.3.1\python310\lib\concurrent\futures\thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "D:\facefusion\facefusion1.3.1解压即用N卡整合版带直播中文版_231120\facefusion1.3.1\facefusion\processors\frame\modules\face_swapper.py", line 141, in process_frames
write_image(temp_frame_path, result_frame)
File "D:\facefusion\facefusion1.3.1解压即用N卡整合版带直播中文版_231120\facefusion1.3.1\facefusion\vision.py", line 66, in write_image
return cv2.imwrite(image_path, frame)
cv2.error: OpenCV(4.8.1) D:\a\opencv-python\opencv-python\opencv\modules\imgcodecs\src\loadsave.cpp:787: error: (-215:Assertion failed) !_img.empty() in function 'cv::imwrite'
用的CPU因为没有显卡,图片能换成功,直播和视频换不了
|
|