basic_session_run_hooks.NanLossDuringTrainingError: NaN loss during training.

报错tensorflow.python.training.basic_session_run_hooks.NanLossDuringTrainingError: NaN loss during training.

是在调用wide_deep的wide过程中报错的.
用tfdbg查看, 发现是在节点linear/linear_model/item_id_embedding/Reshape中存在全部为nan的张量.

 2 input(s):
      [Reshape] linear/linear_model/item_id_embedding/Reshape
      [Identity]

Tensorflow估计模型随损失= NaN而发散?
Deep-Learning Nan loss reasons
Tensorflow NaN loss during training: trying to reshape logits and labels

发表评论

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据