Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It doesn't work on tensorflow 1.9 #13

Open
postxd opened this issue Nov 1, 2018 · 0 comments
Open

It doesn't work on tensorflow 1.9 #13

postxd opened this issue Nov 1, 2018 · 0 comments

Comments

@postxd
Copy link

postxd commented Nov 1, 2018

It always throws the following exception,can you give some tips to fix this issue?
I just tried it on tensorflow 1.9. I am not sure whether it works on other version.

Traceback (most recent call last):
File "train_squeezenet.py", line 184, in
run()
File "train_squeezenet.py", line 180, in run
_run(args)
File "train_squeezenet.py", line 107, in _run
sess.run(train_op, feed_dict=pipeline.training_data)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 900, in run
run_metadata_ptr)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1135, in _run
feed_dict_tensor, options, run_metadata)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1316, in _do_run
run_metadata)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1335, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.FailedPreconditionError: Attempting to use uninitialized value metrics/training/accuracy/count
[[Node: metrics/training/accuracy/AssignAdd_1 = AssignAdd[T=DT_FLOAT, use_locking=false, _device="/job:localhost/replica:0/task:0/device:CPU:0"](metrics/training/accuracy/count, metrics/training/accuracy/ToFloat_1)]]

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

No branches or pull requests

1 participant