2020年1月5日星期日

Tensorboard:PermissionError: [Errno 13] Permission denied: '/tmp/.tensorboard-info/pid-20281.info'

Permission error when running TensorBoard:

PermissionError: [Errno 13] Permission denied: '/tmp/.tensorboard-info/pid-20281.info'




Reference:
https://www.jianshu.com/p/9fa5022ebe10
https://github.com/tensorflow/tensorboard/issues/2010#issuecomment-484605529


Please see the two references above for the cause of the error。

solution:

Run from the command Prompt:

export TMPDIR=/tmp/$USER;

# The meaning of the above statement can be viewed through cd / tmp / $ USER

mkdir -p $TMPDIR;

Then run the normal tensorboard program:

 tensorboard --logdir $LOGDIR

没有评论:

发表评论