【发布时间】:2018-03-27 03:51:09
【问题描述】:
我使用 tensorflow 为灰度图像着色。所以我使用sigmoid_cross_entropy_with_logits() 并使用tf.train.AdadeltaOptimizer() 将其最小化。我训练它并打印
correct_prediction = tf.norm(y_ - y_conv)
但经过几次迭代后,它给了我nan:
step 0, acc 2068538.88
step 1, acc 287121.97
step 2, acc 82377.69
step 3, acc 31250.95
step 4, acc 16694.72
step 5, acc 10168.58
step 6, acc 6993.02
step 7, acc nan
step 8, acc nan
step 9, acc nan
什么意思?
【问题讨论】:
标签: python tensorflow