ERROR: TensorBoard could not bind to port 6006, it was already in use

ERROR: TensorBoard could not bind to port 6006, it was already in use

遇到这种错误我的解决办法如下:

$ lsof -i:6006

ERROR: TensorBoard could not bind to port 6006, it was already in use_第1张图片
然后找到TCP *:x11-6(LISTEN)所对应的PID。

$ kill -9 3645561 

然后就可以运行tensorboard --logdir release_model --port 6006了。

你可能感兴趣的:(python)