tensorflow-mnist-predict
tensorflow-mnist-predict copied to clipboard
fix create_model_1.py, create_model_2.py, predict2.py
Hello!
I saw a really good code.
I got a pull request because I had an error in my environment(windows10, tensorflow 1.9 gpu).
Error found in file create_model_1.py and file create_model_2.py.
Changed saved path
save_path = saver.save(sess, "model.ckpt")
to save_path = saver.save(sess, "./model.ckpt")
and
init_op = global_variables_initializer()
to init_op = tf.global_variables_initializer()
Have a great day!