tensorboard logdir with s3 path

安稳与你 提交于 2019-12-22 11:23:14

问题


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.

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.

Am I missing something here?


回答1:


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

(1) add ENV VARIBLES

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

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

pip install tensorflow==1.4.1 

(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


来源:https://stackoverflow.com/questions/47425882/tensorboard-logdir-with-s3-path

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!