请提出你的问题 Please ask your question
Windows10 Python==3.8.5
ser 网络配置文件 default='configs/kie/layoutlm_series/ser_layoutlmv2_xfund_zh.yml', #kie--ser训练
发生异常: OSError (note: full exception trace is shown but execution is paused at: _run_module_as_main)
(External) CUDA error(719), unspecified launch failure.
[Hint: 'cudaErrorLaunchFailure'. An exception occurred on the device while executing a kernel. Common causes include dereferencing an invalid device pointerand accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases canbe found in the system specific user guide. This leaves the process in an inconsistent state and any further CUDA work willreturn the same error. To continue using CUDA, the process must be terminated and relaunched.] (at ..\paddle\phi\backends\gpu\cuda\cuda_info.cc:258)
[operator < concat > error]
File "D:\ProgramData\Anaconda3\envs\paddle\Lib\site-packages\paddle\fluid\layers\tensor.py", line 343, in concat
_C_ops.concat(input, out, 'axis', axis)
File "D:\ProgramData\Anaconda3\envs\paddle\Lib\site-packages\paddle\tensor\manipulation.py", line 331, in concat
return paddle.fluid.layers.concat(input=x, axis=axis, name=name)
File "D:\ProgramData\Anaconda3\envs\paddle\Lib\site-packages\paddlenlp\transformers\layoutlmv2\modeling.py", line 932, in forward
final_bbox = paddle.concat([bbox, visual_bbox], axis=1)
File "D:\ProgramData\Anaconda3\envs\paddle\Lib\site-packages\paddle\fluid\dygraph\layers.py", line 915, in _dygraph_call_func
outputs = self.forward(*inputs, **kwargs)
File "D:\ProgramData\Anaconda3\envs\paddle\Lib\site-packages\paddle\fluid\dygraph\layers.py", line 930, in __call__
return self._dygraph_call_func(*inputs, **kwargs)
File "D:\ProgramData\Anaconda3\envs\paddle\Lib\site-packages\paddlenlp\transformers\layoutlmv2\modeling.py", line 1050, in forward
outputs = self.layoutlmv2(
File "D:\ProgramData\Anaconda3\envs\paddle\Lib\site-packages\paddle\fluid\dygraph\layers.py", line 915, in _dygraph_call_func
outputs = self.forward(*inputs, **kwargs)
File "D:\ProgramData\Anaconda3\envs\paddle\Lib\site-packages\paddle\fluid\dygraph\layers.py", line 930, in __call__
return self._dygraph_call_func(*inputs, **kwargs)
File "C:\Users\Administrator\Desktop\PaddleOCR-2.6.0\ppocr\modeling\backbones\vqa_layoutlm.py", line 129, in forward
x = self.model(
File "D:\ProgramData\Anaconda3\envs\paddle\Lib\site-packages\paddle\fluid\dygraph\layers.py", line 915, in _dygraph_call_func
outputs = self.forward(*inputs, **kwargs)
File "D:\ProgramData\Anaconda3\envs\paddle\Lib\site-packages\paddle\fluid\dygraph\layers.py", line 930, in __call__
return self._dygraph_call_func(*inputs, **kwargs)
File "C:\Users\Administrator\Desktop\PaddleOCR-2.6.0\ppocr\modeling\architectures\base_model.py", line 85, in forward
x = self.backbone(x)#ppocr\modeling\backbones\vqa_layoutlm.py forward
File "D:\ProgramData\Anaconda3\envs\paddle\Lib\site-packages\paddle\fluid\dygraph\layers.py", line 915, in _dygraph_call_func
outputs = self.forward(*inputs, **kwargs)
File "D:\ProgramData\Anaconda3\envs\paddle\Lib\site-packages\paddle\fluid\dygraph\layers.py", line 930, in __call__
return self._dygraph_call_func(*inputs, **kwargs)
File "C:\Users\Administrator\Desktop\PaddleOCR-2.6.0\tools\program.py", line 306, in train
preds = model(batch)#跳转到这里去 ppocr\modeling\architectures\base_model.py forward
File "C:\Users\Administrator\Desktop\PaddleOCR-2.6.0\tools\train.py", line 175, in main
program.train(config, train_dataloader, valid_dataloader, device, model,
File "C:\Users\Administrator\Desktop\PaddleOCR-2.6.0\tools\train.py", line 202, in mymain
main(config, device, logger, vdl_writer)
File "C:\Users\Administrator\Desktop\PaddleOCR-2.6.0\main.py", line 38, in <module>
mymain()
File "D:\ProgramData\Anaconda3\envs\paddle\Lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "D:\ProgramData\Anaconda3\envs\paddle\Lib\runpy.py", line 194, in _run_module_as_main (Current frame)
return _run_code(code, main_globals, None,
3条答案
按热度按时间ffdz8vbo1#
您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看 官网API文档 、 常见问题 、 历史Issue 、 AI社区 来寻求解答。祝您生活愉快~
Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API , FAQ , Github Issue and AI community to get the answer.Have a nice day!
xv8emn3q2#
收到,我看这是ocr的问题,已经叫了相关同学来查看。
8ulbf1ek3#
可以提供下你的使用环境吗,包括cuda版本,paddle版本
pip list |grep paddle
nvcc -V
[Hint: 'cudaErrorLaunchFailure'. An exception occurred on the device while executing a kernel. Common causes include dereferencing an invalid device pointerand accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases canbe found in the system specific user guide. This leaves the process in an inconsistent state and any further CUDA work willreturn the same error. To continue using CUDA, the process must be terminated and relaunched.] (at ..\paddle\phi\backends\gpu\cuda\cuda_info.cc:258)
[operator < concat > error]
这种报错信息一般是环境问题