【发布时间】:2016-06-23 21:01:49
【问题描述】:
我最近实现了一个模型,当我运行它时收到以下警告:
UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape.
This may consume a large amount of memory.
"Converting sparse IndexedSlices to a dense Tensor of unknown shape. "
使用一些类似的参数设置(嵌入维度),模型突然变得异常缓慢。
- 此警告意味着什么?看来我所做的事情已经导致所有的梯度都是密集的,所以反向传播正在做密集的矩阵计算
- 如果是模型存在问题导致此问题,我该如何识别并修复它?
【问题讨论】:
标签: tensorflow