1

我使用 Tensorboard 回调,我可以访问所有提供的图表,但如何在 Tensorboard 环境中使用 What If 工具。我浏览了谷歌的官方帖子,但想不通。有人可以概述一下正常的 Tensorboard 回调要遵循的不同步骤吗?

4

1 回答 1

1

如果您想将 WIT 用于 keras 模型,请查看有关在 jupyter 或 colab notebooks 中使用 WIT 的信息,您可以在其中为您的 keras 模型编写包装器,以便直接在 notebook 中将其与 WIT 一起使用。

文档:https ://github.com/tensorflow/tensorboard/tree/master/tensorboard/plugins/interactive_inference#notebook-mode-details

包装 Keras 模型以与 WIT 一起使用的 colab 示例: https ://colab.research.google.com/github/pair-code/what-if-tool/blob/master/WIT_Toxicity_Text_Model_Comparison.ipynb

于 2019-02-01T16:13:27.287 回答