Skip to content

fix create_model_1.py, create_model_2.py, predict2.py#15

Open
mgh3326 wants to merge 4 commits intoniektemme:masterfrom
mgh3326:master
Open

fix create_model_1.py, create_model_2.py, predict2.py#15
mgh3326 wants to merge 4 commits intoniektemme:masterfrom
mgh3326:master

Conversation

@mgh3326
Copy link
Copy Markdown

@mgh3326 mgh3326 commented Nov 6, 2018

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!

global_variables_initializer() to tf.global_variables_initializer()
ValueError: Parent directory of model.ckpt doesn't exist, can't 
save_path = saver.save(sess, "model.ckpt") to save_path = saver.save(sess, "./model.ckpt")
Fix Parent directory of model.ckpt doesn't exis
Fix : name global_variables_initialize
@mgh3326 mgh3326 changed the title fix create_model_1.py fix create_model_1.py, create_model_2.py, predict2.py Nov 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant