paddleOCR训练报错MemoryError:(ResourceExhausted)Fail to alloc memory
收藏
排查好久了都找不到问题所在,又大佬知道的吗,万分感谢
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
收藏
请登录后评论
你看最后报了一个队列是空的错误,那么就应该是没读到数据,查一下数据吧,