首页 Paddle框架 帖子详情
paddleOCR训练报错MemoryError:(ResourceExhausted)Fail to alloc memory
收藏
快速回复
Paddle框架 其他模型训练 3071 1
paddleOCR训练报错MemoryError:(ResourceExhausted)Fail to alloc memory
收藏
快速回复
Paddle框架 其他模型训练 3071 1

排查好久了都找不到问题所在,又大佬知道的吗,万分感谢

MemoryError: (ResourceExhausted) Fail to alloc memory of 520491136 size, error code is 12.
[Hint: Expected error == 0, but received error:12 != 0:0.] (at /paddle/paddle/fluid/memory/allocation/system_allocator.cc:71)

Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/paddle/fluid/dataloader/dataloader_iter.py", line 623, in _get_data
data = self._data_queue.get(timeout=self._timeout)
File "/usr/local/lib/python3.8/multiprocessing/queues.py", line 108, in get
raise Empty
_queue.Empty

During handling of the above exception, another exception occurred:

0
收藏
回复
全部评论(1)
时间顺序
李长安
#2 回复于2023-03

你看最后报了一个队列是空的错误,那么就应该是没读到数据,查一下数据吧,

1
回复
需求/bug反馈?一键提issue告诉我们
发现bug?如果您知道修复办法,欢迎提pr直接参与建设飞桨~
在@后输入用户全名并按空格结束,可艾特全站任一用户