我使用Keras运行神经网络,它遇到了这个问题:
W tensorflow/core/framework/allocator.cc:101]:
Allocation of 19267584 exceeds 10% of system memory.
我已经看到了一些有关此问题的讨论,例如更改批次大小(这对我有用),但我也想知道是否存在解决此问题的永久方法,例如,我可以安装一个额外的SSD以增加容量我的Linux系统的物理存储。
我是Linux和机器学习的新手,所以我不确定是否可以像这样简单地解决此问题。请让我们知道,谢谢。
一些有关此分配超出系统内存10%的讨论可以在下面找到,以为您提供更多背景信息:
https://github.com/tensorflow/tensorflow/issues/18736
Tensorflow Allocation Memory: Allocation of 38535168 exceeds 10% of system memory