tensorboard中No dashboards are active for the current data set.问题

img

img


有兄弟知道我的tensorboard为什么不可以吗,
我试了绝对路径,相对路径都不行,换过端口也不行,有兄弟可以解答吗

以下答案引用自GPT-3大模型,请合理使用:

!

检查你是否正确使用了tensorboard函数。 确保您在调用tensorboard时提供了有效路径。 建议使用绝对路径而不是相对路径。 

您还可以尝试使用以下代码来调用tensorboard:

import tensorflow as tf

# Create a summary writer
writer = tf.summary.FileWriter("/path/to/log_directory")

# Create the TensorBoard object
tb = tf.keras.callbacks.TensorBoard(log_dir="./logs/fit")

# Train your model
model.fit(x_train, y_train, callbacks=[tb])

如果我的回答解决了您的问题,请采纳我的回答

不知道你这个问题是否已经解决, 如果还没有解决的话:

如果你已经解决了该问题, 非常希望你能够分享一下解决方案, 写成博客, 将相关链接放在评论区, 以帮助更多的人 ^-^