tensorflow-mnist-predict icon indicating copy to clipboard operation
tensorflow-mnist-predict copied to clipboard

fix create_model_1.py, create_model_2.py, predict2.py

Open mgh3326 opened this issue 6 years ago • 0 comments

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!

mgh3326 avatar Nov 06 '18 10:11 mgh3326