Skip to content

Instantly share code, notes, and snippets.

@niektemme
Created February 16, 2016 10:49
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save niektemme/c6c83bd68948231f6cc0 to your computer and use it in GitHub Desktop.
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