1、打开tensorboard时出现了此种错误。(如下图错误)
只需在运行时加入:
tensorboard --logdir "D:\PyCharm_workspace\test\logs" --host=127.0.0.1
运行成功:
2、运行tensorboard时出现了错误:ValueError: Invalid format string
解决办法,找到报错的位置:
File "C:\Users\qxq\AppData\Roaming\Python\Python36\site-packages\tensorboard\manager.py", line 50, in <lambda>
serialize=lambda dt: int(dt.strftime("%s")),
打开:C:\Users\qxq\AppData\Roaming\Python\Python36\site-packages\tensorboard\manager.py 文件,
将%s 改成%S(变成大写的,就ok)