You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 21, 2024. It is now read-only.
Dear all,
I'd like to load the offline saved GP. I am fairly new to Tensorflow and struggle finding the right syntax. It looks like I can import the saved graph quite easily but I am not able to get a full prediction out of a saver.
with tf.Session() as sess:
new_saver = tf.train.import_meta_graph('final_model.ckpt.meta')
new_saver.restore(sess, 'final_model.ckpt')
graph = tf.get_default_graph()
ydata = graph.get_operation_by_name('Y_data').outputs[0]
udata = graph.get_operation_by_name('U_data').outputs[0]
value = graph.get_operation_by_name('Y_value').outputs[0]
#doesn't exists but I guess this is what I need..
mean = sess.run(value ,feed_dict={ydata:[[[1,2,3,4]]],udata:[[[1,2,3,4,5,6]]]})
Any suggestions how to fix this?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Dear all,
I'd like to load the offline saved GP. I am fairly new to Tensorflow and struggle finding the right syntax. It looks like I can import the saved graph quite easily but I am not able to get a full prediction out of a saver.
Any suggestions how to fix this?
Thanks in advance!
The text was updated successfully, but these errors were encountered: