2017-08-27 177 views
1

我無法tensorboard連接到我的谷歌雲平臺,因爲我面臨着以下錯誤:Tensorboard:文件系統方案GS沒有實現

命令,我運行:

gcloud auth application-default login tensorboard --logdir=gs://mybucket_which_contains_train_and_eval_directories

堆棧跟蹤:

Exception in thread Reloader: 
Traceback (most recent call last): 
    File "c:\python\python35\lib\threading.py", line 914, in _bootstrap_inner 
self.run() 
    File "c:\python\python35\lib\threading.py", line 862, in run 
self._target(*self._args, **self._kwargs) 
    File "c:\python\python35\lib\site-packages\tensorboard\backend\application.py", line 327, in _reload_forever 
reload_multiplexer(multiplexer, path_to_run) 
    File "c:\python\python35\lib\site-packages\tensorboard\backend\application.py", line 299, in reload_multiplexer 
multiplexer.AddRunsFromDirectory(path, name) 
    File "c:\python\python35\lib\site-packages\tensorboard\backend\event_processing\event_multiplexer.py", line 175, in AddRunsFromDirectory 
for subdir in GetLogdirSubdirectories(path): 
    File "c:\python\python35\lib\site-packages\tensorboard\backend\event_processing\event_multiplexer.py", line 439, in GetLogdirSubdirectories 
if tf.gfile.Exists(path) and not tf.gfile.IsDirectory(path): 
    File "c:\python\python35\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 252, in file_exists 
pywrap_tensorflow.FileExists(compat.as_bytes(filename), status) 
    File "c:\python\python35\lib\contextlib.py", line 66, in __exit__ 
next(self.gen) 
    File "c:\python\python35\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 466, in raise_exception_on_not_ok_status 
pywrap_tensorflow.TF_GetCode(status)) 
tensorflow.python.framework.errors_impl.UnimplementedError: File system scheme gs not implemented` 

OS平臺和分佈(例如,Linux操作系統Ubuntu 16.04): Windows 10

TensorFlow從(源或二進制)安裝: pip3 install tensorflow

TensorFlow版本(下面使用命令): 1.3.0

Tensorboard vers離子: 0.1.4

Python版本: 3.5.2

+0

似乎tensorboard不支持GS文件系統呢。一種解決方法是首先登錄然後運行tensorboard –

+0

它確實支持gs,至少對於linux –

+0

你是什麼意思的「登錄第一」?我已經登錄了,正如我的問題本身所述 –

回答