每次我尝试使用命令运行张量板时:
tensorboard --logdir=logs/ --host=127.0.0.1
在导航到日志目录后的命令提示符中出现此错误:
OSError: [Errno 22] Invalid argument
. 我正在使用 TensorBoard 版本 1.13.1 我在我的代码中使用了以下命令:
tensorboard = TensorBoard(log_dir='<My/Path/To/Tensorflow/Log/Directory>')
并使用以下方法调用它:
`clf.fit(X,y,batch_size=30,
epochs=15,
validation_split=0.4,
callbacks=[tensorboard]
)`