OP_REQUIRES failed at conv_ops.cc:386 : Resource exhausted: OOM when allocating tensor with shape..
Posted jfdwd
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了OP_REQUIRES failed at conv_ops.cc:386 : Resource exhausted: OOM when allocating tensor with shape..相关的知识,希望对你有一定的参考价值。
tensorflow-gpu验证准确率是报错如上:
解决办法:
1. 加入os.environ[‘CUDA_VISIBLE_DEVICES‘]=‘2‘
强制使用CPU验证-----慢
2.‘batch_size‘, 降低为32,即可使用GPU跑------快
以上是关于OP_REQUIRES failed at conv_ops.cc:386 : Resource exhausted: OOM when allocating tensor with shape..的主要内容,如果未能解决你的问题,请参考以下文章
查看逻辑卷出现 read failed after 0 of 4096 at 0
(原)patching file 出现 Hunk #1 FAILED at xxx(different line endings).
Server Tomcat v7.0 Server at localhost failed to start.
运行出现Server Tomcat v8.5 Server at localhost failed to start.和A child container failed during start(示例