问题:利用model.predict(data)预测结果时内存不够(报错OOM) 解决办法:加上batchsize=1,每次只训练1个数据,即 model.predict(data,batch_size = 1)