我使用Tensorflow在Keras中实现了一个模型(CNN + RNN模型)。但是,当我要评估模型时,出现以下错误:
2018 09:48:44.961161: I tensorflow/core/platform
/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2018 09:49:00.450298: W tensorflow/core/framework/allocator.cc:101]
Allocation of 3359939800 exceeds 10% of system memory.
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
这是CPU内存分配的问题,但我不知道如何解决此问题。我模型的参数很小,所以我认为不是问题所在。谢谢你的帮助。