我是靠谱客的博主 英俊狗,这篇文章主要介绍tensorflow:OOM when allocating tensor with shape[225,256,256,36] and type float on /job:localhost/re,现在分享给大家,希望可以做个参考。

运行TensorFlow(GPU)报错如下:

OOM when allocating tensor with shape[225,256,256,36] and type float on /job:localhost/replica:0/tas

原因是GPU OOM内存不够,因此可尝试改成批处理。即将训练的数据块调小。

参考链接:
https://stackoverflow.com/questions/39076388/tensorflow-deep-mnist-resource-exhausted-oom-when-allocating-tensor-with-shape

https://github.com/tensorflow/tensorflow/issues/609

最后

以上就是英俊狗最近收集整理的关于tensorflow:OOM when allocating tensor with shape[225,256,256,36] and type float on /job:localhost/re的全部内容,更多相关tensorflow:OOM内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(124)

评论列表共有 0 条评论

立即
投稿
返回
顶部