我正在尝试通过 tensorboard profiling 选项卡探索模型调整,并试图通过 tensorboard 回调生成文件,如下所示。
log_dir="logs/profile/" + datetime.now().strftime("%Y%m%d-%H%M%S")
tensorboard_callback = tf.keras.callbacks.TensorBoard(log_dir=log_dir,
histogram_freq=1, profile_batch = 3)
model.fit(train_data,
steps_per_epoch=20,
epochs=10,
callbacks=[tensorboard_callback])
Run Code Online (Sandbox Code Playgroud)
它在我的 colab 中生成了以下文件。然后将这些文件下载到我的本地 PC 中以在 tensorboard 中查看,但在 Profile 选项卡中没有显示任何内容。显示信息的所有其他选项卡。
日志/配置文件/日志/配置文件/20190907-130136/日志/配置文件/20190907-130136/train/logs/profile/20190907-130136/train/events.out.tfevents.1567861315.340ae5d20profile-130136 130136/train/events.out.tfevents.1567861301.340ae5d21d3b.119.129998.v2 日志/配置文件/20190907-130136/train/plugins/日志/配置文件/20190907/train/10190907/train/20190907/train/profile3016/profile/plugins/profile31091016 train/plugins/profile/2019-09-07_13-01-55/logs/profile/20190907-130136/train/plugins/profile/2019-09-07_13-01-55/local.trace
想要附加文件,但没有选项可以在此处附加他的文件...谁能帮助解释为什么此脚本中的配置文件信息没有显示到本地 PC tensorboard 配置文件选项卡中?
tensorboard ×1