Consider Stack Overflow for getting support using TensorBoard - they have a larger community with better searchability:
https://stackoverflow.com/questions/tagged/tensorboard
For bug reports, please include the following:
Traceback (most recent call last):
File "
File "/home/qqdong/anaconda3/envs/tf1.7/lib/python3.6/site-packages/tensorflow/python/debug/wrappers/grpc_wrapper.py", line 225, in run
self._sent_graph_version)
File "/home/qqdong/anaconda3/envs/tf1.7/lib/python3.6/site-packages/tensorflow/python/debug/wrappers/grpc_wrapper.py", line 61, in publish_traceback
send_source=True)
File "/home/qqdong/anaconda3/envs/tf1.7/lib/python3.6/site-packages/tensorflow/python/debug/lib/source_remote.py", line 192, in send_graph_tracebacks
graph=graph, send_source=send_source)
File "/home/qqdong/anaconda3/envs/tf1.7/lib/python3.6/site-packages/tensorflow/python/debug/lib/source_remote.py", line 166, in _send_call_tracebacks
stub.SendTracebacks(call_traceback)
File "/home/qqdong/anaconda3/envs/tf1.7/lib/python3.6/site-packages/grpc/_channel.py", line 487, in __call__
return _end_unary_response_blocking(state, call, False, deadline)
File "/home/qqdong/anaconda3/envs/tf1.7/lib/python3.6/site-packages/grpc/_channel.py", line 437, in _end_unary_response_blocking
raise _Rendezvous(state, None, None, deadline)
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with (StatusCode.UNAVAILABLE, Connect Failed)>
from tensorflow.python import debug as tf_debug
sess = tf.Session()
sess = tf_debug.TensorBoardDebugWrapperSession(sess, 'localhost:6064')
a = tf.constant([1,2])
sess.run(a)
Was TensorBoard running on localhost:6064 when you ran that code?
Ah yeah, you want to make sure that TensorBoard is running on localhost with the debugger_port flag set to 6064:
tensorboard \
--debugger_port 6064 \
--port 6006
@chihuahua @nfelt Yes, I've made sure TensorBoard is running on localhost with the debugger_port flag set to 6064:
tensorboard --logdir "/data3/dqq/projects/seq2seq_dqq/Models/" --port 6006 --debugger_port 6064
The message from tensorboard is:
Creating InteractiveDebuggerPlugin at port 6064
E0410 15:22:42.716680446 50028 tcp_server_posix.cc:64] check for SO_REUSEPORT: {"created":"@1523344962.716666366","description":"SO_REUSEPORT unavailable on compiling system","file":"src/core/lib/iomgr/socket_utils_common_posix.cc","file_line":163}
TensorBoard 1.7.0 at http://ubuntu:6006 (Press CTRL+C to quit)
The website of tensorboard #debugger is showing:
Debugger is waiting for Session.run() connections...
tf.Session:
import tensorflow as tf
from tensorflow.python import debug as tf_debug
sess = tf.Session()
sess = tf_debug.TensorBoardDebugWrapperSession(sess, "ubuntu:6064")
sess.run(my_fetches)
.......
The commit mentioned above should have fixed this issue. The fix will be available in the next release of tensorflow and tensorboard.
Ive similar error with
https://github.com/tensorflow/tensorboard/issues/2477
Most helpful comment
@chihuahua @nfelt Yes, I've made sure TensorBoard is running on localhost with the debugger_port flag set to 6064:
tensorboard --logdir "/data3/dqq/projects/seq2seq_dqq/Models/" --port 6006 --debugger_port 6064The message from tensorboard is:
Creating InteractiveDebuggerPlugin at port 6064
E0410 15:22:42.716680446 50028 tcp_server_posix.cc:64] check for SO_REUSEPORT: {"created":"@1523344962.716666366","description":"SO_REUSEPORT unavailable on compiling system","file":"src/core/lib/iomgr/socket_utils_common_posix.cc","file_line":163}
TensorBoard 1.7.0 at http://ubuntu:6006 (Press CTRL+C to quit)
The website of tensorboard #debugger is showing:
Debugger is waiting for Session.run() connections...
tf.Session:
import tensorflow as tf
from tensorflow.python import debug as tf_debug
sess = tf.Session()
sess = tf_debug.TensorBoardDebugWrapperSession(sess, "ubuntu:6064")
sess.run(my_fetches)
.......