No dashboards are active for the current data set.-----Pycharm啓動Tensorboard

前言

當train完model後,tensorflow會幫我們保存checkpoints和logs,其中logs就保存訓練參數,可以利用Tensorboard可視化(events.out.tfevents本地服務器輸出到網頁可視化)。

代碼

Pycharm–terminal 中輸入:

tensorboard --logdir "YourPath" --port=6006

其中 YourPath 爲運行文件(events.out.tfevents)的上級目錄的地址,切記一定要使用 雙引號 將路徑包圍

在Chrome中輸入 http://localhost:6006/ 查看可視化結果。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章