|
发表于 2024-8-12 16:44:02
|
显示全部楼层
Exception in thread Thread-2 (thread_video_read):
Traceback (most recent call last):
File "E:\RopeRuby\python310\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "E:\RopeRuby\python310\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "E:\RopeRuby\rope\VideoManager.py", line 480, in thread_video_read
temp = [self.swap_video(target_image, frame_number, False), frame_number]
File "E:\RopeRuby\rope\VideoManager.py", line 574, in swap_video
img = self.func_w_test("swap_video", self.swap_core, img, fface[0], s_e, parameters, frame_number)
File "E:\RopeRuby\rope\VideoManager.py", line 614, in func_w_test
result = func(*args, **argsv)
File "E:\RopeRuby\rope\VideoManager.py", line 732, in swap_core
swap = self.func_w_test('GFPGAN', self.apply_GFPGAN, swap, parameters)
File "E:\RopeRuby\rope\VideoManager.py", line 614, in func_w_test
result = func(*args, **argsv)
File "E:\RopeRuby\rope\VideoManager.py", line 1169, in apply_GFPGAN
self.GFPGAN_model.run_with_iobinding(io_binding)
File "E:\RopeRuby\python310\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 331, in run_with_iobinding
self._sess.run_with_iobinding(iobinding._iobinding, run_options)
RuntimeError: Error in execution: Non-zero status code returned while running Pow node. Name:'/Pow_1' Status Message: D:\a\_work\1\s\onnxruntime\core\framework\bfc_arena.cc:376 onnxruntime::BFCArena::AllocateRawInternal Failed to allocate memory for requested buffer of size 9437184
这个错误是什么原因 |
|