【发布时间】:2016-06-29 10:39:41
【问题描述】:
我正在我自己的计算机上尝试使用相同的操作系统和 python 版本的this tensorflow distributed tutorial。我创建了第一个脚本并在终端中运行它,然后我打开另一个终端并运行第二个脚本并得到以下错误:
E0629 10:11:01.979187251 15265 tcp_server_posix.c:284] bind addr=[::]:2222: Address already in use
E0629 10:11:01.979243221 15265 server_chttp2.c:119] No address added out of total 1 resolved
Traceback (most recent call last):
File "worker0.py", line 7, in <module>
task_index=0)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/server_lib.py", line 142, in __init__
server_def.SerializeToString(), status)
File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
self.gen.next()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/errors.py", line 450, in raise_exception_on_not_ok_status
pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors.InternalError: Could not start gRPC server
我在尝试official distributed tutorial 时遇到了类似的错误。
编辑:我在另一台机器上尝试过这个,我有相同的包,现在我得到以下错误日志:
E0629 11:17:44.500224628 18393 tcp_server_posix.c:284] bind addr=[::]:2222: Address already in use
E0629 11:17:44.500268362 18393 server_chttp2.c:119] No address added out of total 1 resolved
Segmentation fault (core dumped)
可能是什么问题?
【问题讨论】:
标签: python-2.7 machine-learning tensorflow tensorflow-serving