- 安装 TensorFlow(不安装也可以,但是等会第3步命令行输入命令后会出现提示:TensorFlow installation not found - running with reduced feature set.),建议安装 CPU-Only 版本,打开命令行使输入:
pip install tensorflow
,若网速慢,可使用清华软件源,具体步骤自行百度。
安装 tensorboard:pip install tensorboard
安装 tensorboard:pip install tensorboardX
- 在命令行中输入:
tensorboard --logdir <your/running/dir> --port <your_bind_port>
,for example:tensorboard --logdir=D:\logs
,注意路径中不能有中文。另外,若路径中有文件夹名称中间有空格,可以使用双引号将整个路径括起来,如"D:\For Example\logs"
- 打开 chrome,在搜索栏中输入:
localhost:6006
使用 tensorboard
最新推荐文章于 2025-03-27 22:47:49 发布