官术网_书友最值得收藏!

Running TensorBoard

All that's left is to start the TensorBoard process. We can start TensorBoard using the following code:

tensorboard --logdir ~/ch3_tb_log --port 6006

As you might have guessed, --logdir specifies the directory we just created and --port 6006 specifies the port that TensorBoard will run on. Port 6006 is the default; however, you can use whatever port you want.

You should now be able to navigate to the TensorBoard URL by pointing your browser at http://<ip address>:6006

If you're using a cloud service, you may also need to adjust a firewall or security rule to allow connects to your server on port 6006. On Amazon Web Services (AWS), you can do this by editing the inbound rules in the security group associated with your EC2 instance:

>
You may not want to allow the entire world open access, as I do above. This is just a test instance so I'm not too concerned with security and anyway I like to live dangerously.

If everything is working, you should see an empty TensorBoard as follows:

Don't worry, we will fill it up shortly.

主站蜘蛛池模板: 石泉县| 鄯善县| 陕西省| 延庆县| 本溪市| 瓦房店市| 金门县| 乌拉特中旗| 东莞市| 泊头市| 怀化市| 搜索| 稻城县| 白山市| 平舆县| 太谷县| 乐至县| 琼中| 临武县| 临洮县| 新蔡县| 吴桥县| 兰西县| 浏阳市| 邯郸市| 丁青县| 安泽县| 河北省| 深圳市| 永昌县| 湾仔区| 晋中市| 互助| 泰宁县| 东莞市| 永城市| 阆中市| 乌拉特前旗| 望江县| 钟祥市| 渑池县|