带有s3路径的tensorboard logdir [英] tensorboard logdir with s3 path

查看:230
本文介绍了带有s3路径的tensorboard logdir的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到tensorflow支持AWS s3文件系统( https://github.com/tensorflow/tensorflow/tree/master/tensorflow/core/platform/s3 ),但我无法在tensorboard中使用S3路径.

I see tensorflow support AWS s3 file system (https://github.com/tensorflow/tensorflow/tree/master/tensorflow/core/platform/s3) but I am unable to use the S3 path with tensorboard.

我尝试了最新的每晚0.4.0rc3,但是没有运气.我也在本地构建,并确保将Do you wish to build TensorFlow with Amazon S3 File System support? [Y/n]:设置为YES,但仍然看不到tensorboard --logdir=s3://bucket/path正常工作.

I tried latest nightly 0.4.0rc3 but no luck. I built locally also and made sure Do you wish to build TensorFlow with Amazon S3 File System support? [Y/n]: set to YES but still i don't see tensorboard --logdir=s3://bucket/path working at all.

我在这里想念东西吗?

推荐答案

如果使用AWS s3文件启动张量板,则应执行以下操作:

If you start a tensorboard by using AWS s3 file, you should do as follows:

(1)添加ENV变量

export AWS_ACCESS_KEY_ID=******
export AWS_SECRET_ACCESS_KEY=*******
export S3_ENDPOINT=******
export S3_VERIFY_SSL=0    
export S3_USE_HTTPS=0 

(2)使用pip将Tensorflow升级到最新版本:

(2) upgrade tensorflow to newest version by using pip:

pip install tensorflow==1.4.1 

(3)不需要升级张量板,因为它是在上一步中旋转的

(3) you don't need to upgrade tensorboard, because it is revolved in the previous step

然后,您可以使用代码启动张量板

Then you can start you tensorboard by using you code

tensorboard --logdir=s3://bucket/path

这篇关于带有s3路径的tensorboard logdir的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆