We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 318ee0e commit fca3f80Copy full SHA for fca3f80
10_save_restore_net.py
@@ -77,6 +77,6 @@ def model(X, w_h, w_h2, w_o, p_keep_input, p_keep_hidden): # this network is the
77
global_step.assign(i).eval() # set and update(eval) global_step with index, i
78
saver.save(sess, ckpt_dir + "/model.ckpt", global_step=global_step)
79
print(i, np.mean(np.argmax(teY, axis=1) ==
80
- sess.run(predict_op, feed_dict={X: teX, Y: teY,
+ sess.run(predict_op, feed_dict={X: teX,
81
p_keep_input: 1.0,
82
p_keep_hidden: 1.0})))
0 commit comments