【发布时间】:2016-04-11 07:56:50
【问题描述】:
我浏览了 TensorFlow 中评估训练模型的基本示例。它是这样说的:
accuracy = tf.reduce_mean(tf.cast(correct_prediction, "float"))
print(sess.run(accuracy, feed_dict={x: mnist.test.images, y_: mnist.test.labels}))
我没有遵循此代码,训练有素的“模型”在哪里?还是 tf.reduce_mean(....) ?检查训练好的模型。
【问题讨论】:
-
问清楚你的问题,明确你的格式。学习如何提问。你的问题没有多大意义。
-
我对学习 TensorFlow 很感兴趣,但我意识到当我开始时,除了运行示例之外,我缺乏基本的词汇和概念。因此,为了了解基础知识,我求助于 Neural Networks and Deep Learning 和 Andrew Ng course videos
标签: machine-learning classification tensorflow mnist