找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
楼主: 哨箭勇度

单图换脸SwapMukham解压即用N卡整合版_230923

 火... [复制链接]

0

主题

154

回帖

101

零食

中等显卡12G

积分
255
发表于 2023-10-2 10:53:13 | 显示全部楼层
好好好好好好
回复

使用道具 举报

0

主题

154

回帖

101

零食

中等显卡12G

积分
255
发表于 2023-10-2 10:57:46 | 显示全部楼层
好好好好好好
回复

使用道具 举报

0

主题

154

回帖

101

零食

中等显卡12G

积分
255
发表于 2023-10-2 11:01:40 | 显示全部楼层
好好好好好好
回复

使用道具 举报

2

主题

22

回帖

250

零食

中等显卡12G

积分
274
发表于 2023-10-2 13:03:27 | 显示全部楼层
为啥我的一次也用不了……

********** Running on CUDA **********

Applied providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], with options: {'CUDAExecutionProvider': {'do_copy_in_default_stream': '1', 'cudnn_conv_algo_search': 'EXHAUSTIVE', 'device_id': '0', 'gpu_external_alloc': '0', 'enable_cuda_graph': '0', 'gpu_mem_limit': '18446744073709551615', 'gpu_external_free': '0', 'gpu_external_empty_cache': '0', 'arena_extend_strategy': 'kNextPowerOfTwo', 'cudnn_conv_use_max_workspace': '1', 'cudnn_conv1d_pad_to_nc1d': '0', 'tunable_op_enable': '0', 'tunable_op_tuning_enable': '0', 'enable_skip_layer_norm_strict_mode': '0'}, 'CPUExecutionProvider': {}}
find model: insightface\models\buffalo_l\1k3d68.onnx landmark_3d_68 ['None', 3, 192, 192] 0.0 1.0
Applied providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], with options: {'CUDAExecutionProvider': {'do_copy_in_default_stream': '1', 'cudnn_conv_algo_search': 'EXHAUSTIVE', 'device_id': '0', 'gpu_external_alloc': '0', 'enable_cuda_graph': '0', 'gpu_mem_limit': '18446744073709551615', 'gpu_external_free': '0', 'gpu_external_empty_cache': '0', 'arena_extend_strategy': 'kNextPowerOfTwo', 'cudnn_conv_use_max_workspace': '1', 'cudnn_conv1d_pad_to_nc1d': '0', 'tunable_op_enable': '0', 'tunable_op_tuning_enable': '0', 'enable_skip_layer_norm_strict_mode': '0'}, 'CPUExecutionProvider': {}}
find model: insightface\models\buffalo_l\2d106det.onnx landmark_2d_106 ['None', 3, 192, 192] 0.0 1.0
Applied providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], with options: {'CUDAExecutionProvider': {'do_copy_in_default_stream': '1', 'cudnn_conv_algo_search': 'EXHAUSTIVE', 'device_id': '0', 'gpu_external_alloc': '0', 'enable_cuda_graph': '0', 'gpu_mem_limit': '18446744073709551615', 'gpu_external_free': '0', 'gpu_external_empty_cache': '0', 'arena_extend_strategy': 'kNextPowerOfTwo', 'cudnn_conv_use_max_workspace': '1', 'cudnn_conv1d_pad_to_nc1d': '0', 'tunable_op_enable': '0', 'tunable_op_tuning_enable': '0', 'enable_skip_layer_norm_strict_mode': '0'}, 'CPUExecutionProvider': {}}
find model: insightface\models\buffalo_l\det_10g.onnx detection [1, 3, '?', '?'] 127.5 128.0
Applied providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], with options: {'CUDAExecutionProvider': {'do_copy_in_default_stream': '1', 'cudnn_conv_algo_search': 'EXHAUSTIVE', 'device_id': '0', 'gpu_external_alloc': '0', 'enable_cuda_graph': '0', 'gpu_mem_limit': '18446744073709551615', 'gpu_external_free': '0', 'gpu_external_empty_cache': '0', 'arena_extend_strategy': 'kNextPowerOfTwo', 'cudnn_conv_use_max_workspace': '1', 'cudnn_conv1d_pad_to_nc1d': '0', 'tunable_op_enable': '0', 'tunable_op_tuning_enable': '0', 'enable_skip_layer_norm_strict_mode': '0'}, 'CPUExecutionProvider': {}}
find model: insightface\models\buffalo_l\genderage.onnx genderage ['None', 3, 96, 96] 0.0 1.0
Applied providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], with options: {'CUDAExecutionProvider': {'do_copy_in_default_stream': '1', 'cudnn_conv_algo_search': 'EXHAUSTIVE', 'device_id': '0', 'gpu_external_alloc': '0', 'enable_cuda_graph': '0', 'gpu_mem_limit': '18446744073709551615', 'gpu_external_free': '0', 'gpu_external_empty_cache': '0', 'arena_extend_strategy': 'kNextPowerOfTwo', 'cudnn_conv_use_max_workspace': '1', 'cudnn_conv1d_pad_to_nc1d': '0', 'tunable_op_enable': '0', 'tunable_op_tuning_enable': '0', 'enable_skip_layer_norm_strict_mode': '0'}, 'CPUExecutionProvider': {}}
find model: insightface\models\buffalo_l\w600k_r50.onnx recognition ['None', 3, 112, 112] 127.5 127.5
set det-size: (640, 640)
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Analysing face data:   0%|                                                                       | 0/1 [00:00<?, ?it/s][ WARN:0@84.998] global loadsave.cpp:248 cv::findDecoder imread_('E:\SwapMukham瑙e帇鍗崇敤N鍗℃暣鍚堜腑鏂囩増230925\SwapMukham瑙e帇鍗崇敤N鍗℃暣鍚堜腑鏂囩増230925\SwapMukham\Result.png'): can't open/read file: check file path/integrity
Analysing face data:   0%|                                                                       | 0/1 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "E:\SwapMukham解压即用N卡整合中文版230925\SwapMukham解压即用N卡整合中文版230925\SwapMukham\python310\lib\site-packages\gradio\queueing.py", line 388, in call_prediction
    output = await route_utils.call_process_api(
  File "E:\SwapMukham解压即用N卡整合中文版230925\SwapMukham解压即用N卡整合中文版230925\SwapMukham\python310\lib\site-packages\gradio\route_utils.py", line 219, in call_process_api
    output = await app.get_blocks().process_api(
  File "E:\SwapMukham解压即用N卡整合中文版230925\SwapMukham解压即用N卡整合中文版230925\SwapMukham\python310\lib\site-packages\gradio\blocks.py", line 1437, in process_api
    result = await self.call_function(
  File "E:\SwapMukham解压即用N卡整合中文版230925\SwapMukham解压即用N卡整合中文版230925\SwapMukham\python310\lib\site-packages\gradio\blocks.py", line 1123, in call_function
    prediction = await utils.async_iteration(iterator)
  File "E:\SwapMukham解压即用N卡整合中文版230925\SwapMukham解压即用N卡整合中文版230925\SwapMukham\python310\lib\site-packages\gradio\utils.py", line 512, in async_iteration
    return await iterator.__anext__()
  File "E:\SwapMukham解压即用N卡整合中文版230925\SwapMukham解压即用N卡整合中文版230925\SwapMukham\python310\lib\site-packages\gradio\utils.py", line 505, in __anext__
    return await anyio.to_thread.run_sync(
  File "E:\SwapMukham解压即用N卡整合中文版230925\SwapMukham解压即用N卡整合中文版230925\SwapMukham\python310\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
  File "E:\SwapMukham解压即用N卡整合中文版230925\SwapMukham解压即用N卡整合中文版230925\SwapMukham\python310\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
    return await future
  File "E:\SwapMukham解压即用N卡整合中文版230925\SwapMukham解压即用N卡整合中文版230925\SwapMukham\python310\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
    result = context.run(func, *args)
  File "E:\SwapMukham解压即用N卡整合中文版230925\SwapMukham解压即用N卡整合中文版230925\SwapMukham\python310\lib\site-packages\gradio\utils.py", line 488, in run_sync_iterator_async
    return next(iterator)
  File "E:\SwapMukham解压即用N卡整合中文版230925\SwapMukham解压即用N卡整合中文版230925\SwapMukham\python310\lib\site-packages\gradio\utils.py", line 638, in gen_wrapper
    yield from f(*args, **kwargs)
  File "E:\SwapMukham解压即用N卡整合中文版230925\SwapMukham解压即用N卡整合中文版230925\SwapMukham\app.py", line 356, in process
    for info_update in swap_process([output_file]):
  File "E:\SwapMukham解压即用N卡整合中文版230925\SwapMukham解压即用N卡整合中文版230925\SwapMukham\app.py", line 247, in swap_process
    analysed_targets, analysed_sources, whole_frame_list, num_faces_per_frame = get_analysed_data(
  File "E:\SwapMukham解压即用N卡整合中文版230925\SwapMukham解压即用N卡整合中文版230925\SwapMukham\face_analyser.py", line 105, in get_analysed_data
    analysed_faces = analyse_face(frame, face_analyser, return_single_face=False, detect_condition=detect_condition, scale=scale)
  File "E:\SwapMukham解压即用N卡整合中文版230925\SwapMukham解压即用N卡整合中文版230925\SwapMukham\face_analyser.py", line 61, in analyse_face
    faces = model.get(image)
  File "E:\SwapMukham解压即用N卡整合中文版230925\SwapMukham解压即用N卡整合中文版230925\SwapMukham\python310\lib\site-packages\insightface\app\face_analysis.py", line 59, in get
    bboxes, kpss = self.det_model.detect(img,
  File "E:\SwapMukham解压即用N卡整合中文版230925\SwapMukham解压即用N卡整合中文版230925\SwapMukham\python310\lib\site-packages\insightface\model_zoo\retinaface.py", line 211, in detect
    im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'


回复

使用道具 举报

6

主题

25

回帖

85

零食

初级显卡6G

积分
116
发表于 2023-10-2 18:45:18 | 显示全部楼层
6666666666666666666666666666
回复

使用道具 举报

0

主题

36

回帖

61

零食

初级显卡6G

积分
97
发表于 2023-10-2 23:28:46 | 显示全部楼层
感谢大佬
回复

使用道具 举报

139

主题

197

回帖

1274

零食

超级显卡32G

积分
1610
发表于 2023-10-3 14:50:29 | 显示全部楼层
能批量换图吗?
回复

使用道具 举报

4

主题

203

回帖

2499

零食

超级显卡32G

积分
2706
发表于 2023-10-3 21:14:52 | 显示全部楼层
研究下这个版本,谢谢发布者
回复

使用道具 举报

0

主题

78

回帖

2829

零食

超级显卡32G

积分
2907
发表于 2023-10-3 23:26:30 | 显示全部楼层
感谢大佬分享
回复

使用道具 举报

0

主题

9

回帖

23

零食

入门显卡4G

积分
32
发表于 2023-10-4 00:20:07 | 显示全部楼层
谢谢老板谢谢老板谢谢老板谢谢老板谢谢老板谢谢老板谢谢老板谢谢老板
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|圈圈AI吧

GMT+8, 2024-12-24 21:29 , Processed in 0.106365 second(s), 17 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表