找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1368|回复: 14

[求助] 求助roop1.3.2d为什么用gpu会这样

[复制链接]

1

主题

15

回帖

135

零食

初级显卡6G

积分
151
发表于 2023-9-4 21:14:29 | 显示全部楼层 |阅读模式
显卡rtx3060ti试了很多次每次都到这一步


[ROOP.CORE] Creating temporary resources...
[ROOP.CORE] Extracting frames with 30 FPS...
[ROOP.FACE-SWAPPER] Progressing...
Processing:   0%|                                                                                                                                                                      | 0/426 [00:00<?, ?frame/s]2023-09-04 21:07:46.9689571 [Ennxruntime:, sequential_executor.cc:514 onnxruntime::ExecuteKernel] Non-zero status code returned while running FusedConv node. Name:'stage3_unit1_conv1' Status Message: bad allocation
2023-09-04 21:07:47.0118524 [Ennxruntime:, sequential_executor.cc:514 onnxruntime::ExecuteKernel] Non-zero status code returned while running FusedConv node. Name:'stage3_unit1_conv1' Status Message: D:\a\_work\1\s\onnxruntime\core\framework\bfc_arena.cc:368 onnxruntime::BFCArena::AllocateRawInternal Failed to allocate memory for requested buffer of size 134217728

2023-09-04 21:07:47.0417930 [Ennxruntime:, sequential_executor.cc:514 onnxruntime::ExecuteKernel] Non-zero status code returned while running FusedConv node. Name:'stage3_unit1_conv1' Status Message: D:\a\_work\1\s\onnxruntime\core\framework\bfc_arena.cc:368 onnxruntime::BFCArena::AllocateRawInternal Failed to allocate memory for requested buffer of size 134217728

2023-09-04 21:07:47.0564459 [Ennxruntime:, sequential_executor.cc:514 onnxruntime::ExecuteKernel] Non-zero status code returned while running FusedConv node. Name:'stage3_unit1_conv1' Status Message: D:\a\_work\1\s\onnxruntime\core\framework\bfc_arena.cc:368 onnxruntime::BFCArena::AllocateRawInternal Failed to allocate memory for requested buffer of size 134217728

Processing:   0%|                                                                                                                                                                      | 0/426 [00:00<?, ?frame/s]
Traceback (most recent call last):
  File "F:\roop1.3.2d\run.py", line 6, in <module>
    core.run()
  File "F:\roop1.3.2d\roop\core.py", line 215, in run
    start()
  File "F:\roop1.3.2d\roop\core.py", line 167, in start
    frame_processor.process_video(roop.globals.source_path, temp_frame_paths)
  File "F:\roop1.3.2d\roop\processors\frame\face_swapper.py", line 101, in process_video
    roop.processors.frame.core.process_video(source_path, temp_frame_paths, process_frames)
  File "F:\roop1.3.2d\roop\processors\frame\core.py", line 79, in process_video
    multi_process_frame(source_path, frame_paths, process_frames, lambda: update_progress(progress))
  File "F:\roop1.3.2d\roop\processors\frame\core.py", line 57, in multi_process_frame
    future.result()
  File "F:\roop1.3.2d\python3\lib\concurrent\futures\_base.py", line 451, in result
    return self.__get_result()
  File "F:\roop1.3.2d\python3\lib\concurrent\futures\_base.py", line 403, in __get_result
    raise self._exception
  File "F:\roop1.3.2d\python3\lib\concurrent\futures\thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "F:\roop1.3.2d\roop\processors\frame\face_swapper.py", line 78, in process_frames
    source_face = get_one_face(imread_unicode(source_path))
  File "F:\roop1.3.2d\roop\face_analyser.py", line 30, in get_one_face
    many_faces = get_many_faces(frame)
  File "F:\roop1.3.2d\roop\face_analyser.py", line 41, in get_many_faces
    return get_face_analyser().get(frame)
  File "F:\roop1.3.2d\python3\lib\site-packages\insightface\app\face_analysis.py", line 75, in get
    model.get(img, face)
  File "F:\roop1.3.2d\python3\lib\site-packages\insightface\model_zoo\landmark.py", line 91, in get
    pred = self.session.run(self.output_names, {self.input_name : blob})[0][0]
  File "F:\roop1.3.2d\python3\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 217, in run
    return self._sess.run(output_names, input_feed, run_options)
onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : D:\a\_work\1\s\onnxruntime\core\providers\cuda\cuda_call.cc:121 onnxruntime::CudaCall D:\a\_work\1\s\onnxruntime\core\providers\cuda\cuda_call.cc:114 onnxruntime::CudaCall CUDNN failure 1: CUDNN_STATUS_NOT_INITIALIZED ; GPU=0 ; hostname=LAPTOP-KVMTMNCR ; file=D:\a\_work\1\s\onnxruntime\core\providers\cuda\cuda_stream_handle.cc ; line=52 ; expr=cudnnCreate(&cudnn_handle_);


请按任意键继续. . .

回复

使用道具 举报

59

主题

588

回帖

1936

零食

超级显卡32G

积分
2583
发表于 2023-9-4 23:52:01 | 显示全部楼层
处理图片正常不?
回复

使用道具 举报

1

主题

15

回帖

135

零食

初级显卡6G

积分
151
 楼主| 发表于 2023-9-5 00:18:01 | 显示全部楼层
qishiwoshiwo 发表于 2023-9-4 23:52
处理图片正常不?

感谢,我这个好像是显存设置太高了
回复

使用道具 举报

1

主题

15

回帖

135

零食

初级显卡6G

积分
151
 楼主| 发表于 2023-9-5 00:18:44 | 显示全部楼层
qishiwoshiwo 发表于 2023-9-4 23:52
处理图片正常不?

图片是正常的
回复

使用道具 举报

54

主题

1368

回帖

2182

零食

神级显卡

积分
3604
发表于 2023-9-5 08:28:26 | 显示全部楼层
显卡压力好大
回复

使用道具 举报

1

主题

36

回帖

0

零食

入门显卡4G

积分
37
发表于 2023-9-5 23:53:50 | 显示全部楼层
没钱了,没办法
回复

使用道具 举报

12

主题

219

回帖

68

零食

中等显卡12G

积分
299
发表于 2023-9-19 20:47:13 | 显示全部楼层
嗯,等待大神解答
回复

使用道具 举报

54

主题

1368

回帖

2182

零食

神级显卡

积分
3604
发表于 2023-9-20 14:08:16 | 显示全部楼层
找大佬来解决这么细腻的问题吧
回复

使用道具 举报

2

主题

70

回帖

124

零食

初级显卡6G

积分
196
发表于 2023-10-2 00:14:35 | 显示全部楼层
为了金币回复下。。。
回复

使用道具 举报

2

主题

70

回帖

124

零食

初级显卡6G

积分
196
发表于 2023-10-2 00:29:22 来自手机 | 显示全部楼层
为了金币。。。
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-10-5 13:25 , Processed in 0.105314 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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