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
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)]]
The text was updated successfully, but these errors were encountered:
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)]]
The text was updated successfully, but these errors were encountered: