我正在尝试为TF对象检测运行测试训练模拟(由谷歌开源)。我按照上面提到的步骤进行操作。 https://cloud.google.com/blog/big-data/2017/06/training-an-object-detector-using-cloud-machine-learning-engine
我的训练和进化命令完美运行。我可以在dir中看到模型检查点。我在谷歌云上运行训练模拟。
从本地计算机(mac)检查状态。 当我跑了 tensorboard --logdir = $ {YOUR_GCS_BUCKET}
我收到以下错误。
有人可以帮我指出错误。 看来有些dir。许可问题。但我无法理解我应该在代码中修改它。它指向根目录写东西。如何更改会产生张量板的内容,而不是写入/ root目录。
追踪(最近一次呼叫最后一次):
File "/Users/jalajjain/anaconda/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/Users/jalajjain/anaconda/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/Users/jalajjain/anaconda/lib/python3.5/site-packages/tensorboard/backend/application.py", line 327, in _reload_forever
reload_multiplexer(multiplexer, path_to_run)
File "/Users/jalajjain/anaconda/lib/python3.5/site-packages/tensorboard/backend/application.py", line 299, in reload_multiplexer
multiplexer.AddRunsFromDirectory(path, name)
File "/Users/jalajjain/anaconda/lib/python3.5/site-packages/tensorboard/backend/event_processing/plugin_event_multiplexer.py", line 175, in AddRunsFromDirectory
for subdir in GetLogdirSubdirectories(path):
File "/Users/jalajjain/anaconda/lib/python3.5/site-packages/tensorboard/backend/event_processing/plugin_event_multiplexer.py", line 445, in <genexpr>
subdir
File "/Users/jalajjain/anaconda/lib/python3.5/site-packages/tensorboard/backend/event_processing/io_wrapper.py", line 50, in ListRecursively
for dir_path, _, filenames in tf.gfile.Walk(top):
File "/Users/jalajjain/anaconda/lib/python3.5/site-packages/tensorflow/python/lib/io/file_io.py", line 514, in walk
for subitem in walk(os.path.join(top, subdir), in_order):
File "/Users/jalajjain/anaconda/lib/python3.5/site-packages/tensorflow/python/lib/io/file_io.py", line 514, in walk
for subitem in walk(os.path.join(top, subdir), in_order):
File "/Users/jalajjain/anaconda/lib/python3.5/site-packages/tensorflow/python/lib/io/file_io.py", line 514, in walk
for subitem in walk(os.path.join(top, subdir), in_order):
File "/Users/jalajjain/anaconda/lib/python3.5/site-packages/tensorflow/python/lib/io/file_io.py", line 514, in walk
for subitem in walk(os.path.join(top, subdir), in_order):
File "/Users/jalajjain/anaconda/lib/python3.5/site-packages/tensorflow/python/lib/io/file_io.py", line 514, in walk
for subitem in walk(os.path.join(top, subdir), in_order):
File "/Users/jalajjain/anaconda/lib/python3.5/site-packages/tensorflow/python/lib/io/file_io.py", line 514, in walk
for subitem in walk(os.path.join(top, subdir), in_order):
File "/Users/jalajjain/anaconda/lib/python3.5/site-packages/tensorflow/python/lib/io/file_io.py", line 514, in walk
for subitem in walk(os.path.join(top, subdir), in_order):
File "/Users/jalajjain/anaconda/lib/python3.5/site-packages/tensorflow/python/lib/io/file_io.py", line 495, in walk
listing = list_directory(top)
File "/Users/jalajjain/anaconda/lib/python3.5/site-packages/tensorflow/python/lib/io/file_io.py", line 474, in list_directory
compat.as_bytes(dirname), status)
File "/Users/jalajjain/anaconda/lib/python3.5/contextlib.py", line 66, in __exit__
next(self.gen)
File "/Users/jalajjain/anaconda/lib/python3.5/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.PermissionDeniedError: /.DocumentRevisions-V100/.cs/ChunkStorage/0/0/1**