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
Thanks for your code. When I try to implement, it gives me following error as shown in diagram. Could you please help me with this? I am unable to figure out. I already tried like this:
Hi @rameshjesswani First, this is a very old code, and it hasn't been updated for quite a while, so it may not be compatible with the latest version of Tensorflow.
And the code you mentioned is reading a checkpoint file from the directory, so you should have pre-trained the model, and have a CNN_1.ckpt file saved in the directory. That means you should already run the previous cell, and save_path = saver.save(session, "CNN_1.ckpt") generated a CNN_1.ckpt file already, then you can correctly read the file.
Hello @hangyao
Thanks for your code. When I try to implement, it gives me following error as shown in diagram. Could you please help me with this? I am unable to figure out. I already tried like this:
reader = tf.train.NewCheckpointReader("CNN_1.ckpt")
but it does not work.
The text was updated successfully, but these errors were encountered: