Skip to content

Commit a9f9a5b

Browse files
authored
Merge pull request nlintz#58 from gm06041/patch-7
Update 10_save_restore_net.py
2 parents 318ee0e + fca3f80 commit a9f9a5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

10_save_restore_net.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,6 @@ def model(X, w_h, w_h2, w_o, p_keep_input, p_keep_hidden): # this network is the
7777
global_step.assign(i).eval() # set and update(eval) global_step with index, i
7878
saver.save(sess, ckpt_dir + "/model.ckpt", global_step=global_step)
7979
print(i, np.mean(np.argmax(teY, axis=1) ==
80-
sess.run(predict_op, feed_dict={X: teX, Y: teY,
80+
sess.run(predict_op, feed_dict={X: teX,
8181
p_keep_input: 1.0,
8282
p_keep_hidden: 1.0})))

0 commit comments

Comments
 (0)