Skip to content

Instantly share code, notes, and snippets.

@niektemme
Created February 16, 2016 10:49
Embed
What would you like to do?
with tf.Session() as sess:
sess.run(init_op)
saver.restore(sess, "model2.ckpt")
#print ("Model restored.")
prediction=tf.argmax(y_conv,1)
return prediction.eval(feed_dict={x: [imvalue],keep_prob: 1.0}, session=sess)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment