{
  "id": 134564,
  "title": "How do I use TensorBoard with TPU here?",
  "url": "/competitions/flower-classification-with-tpus/discussion/134564",
  "author_name": "",
  "post_date": "2020-03-09T01:26:10.613853400Z",
  "votes": 2,
  "comment_count": 2,
  "views": 0,
  "content": "<p>I am trying to use TensorBoard with the Getting Started notebook. I forked the notebook and applied this tutorial <a href=\"https://www.kaggle.com/aagundez/using-tensorboard-in-kaggle-kernels\">here</a>. But I'm getting this error on TPU:\n<code>NotFoundError: Resource worker/_AnonymousVar274/N10tensorflow22SummaryWriterInterfaceE does not exist.</code></p>\n\n<p>This error does not occur on GPU but I also couldn't get TensorBoard to render its UI using it. That's another issue though.</p>\n\n<p>Anyone able to get TensorBoard working here? Thanks!</p>",
  "messages": [
    {
      "id": "766955",
      "postDate": "03/09/2020 01:26:10",
      "content": "<p>I am trying to use TensorBoard with the Getting Started notebook. I forked the notebook and applied this tutorial <a href=\"https://www.kaggle.com/aagundez/using-tensorboard-in-kaggle-kernels\">here</a>. But I'm getting this error on TPU:\n<code>NotFoundError: Resource worker/_AnonymousVar274/N10tensorflow22SummaryWriterInterfaceE does not exist.</code></p>\n\n<p>This error does not occur on GPU but I also couldn't get TensorBoard to render its UI using it. That's another issue though.</p>\n\n<p>Anyone able to get TensorBoard working here? Thanks!</p>",
      "rawMarkdown": "I am trying to use TensorBoard with the Getting Started notebook. I forked the notebook and applied this tutorial [here](https://www.kaggle.com/aagundez/using-tensorboard-in-kaggle-kernels). But I'm getting this error on TPU:\n`NotFoundError: Resource worker/_AnonymousVar274/N10tensorflow22SummaryWriterInterfaceE does not exist.`\n\nThis error does not occur on GPU but I also couldn't get TensorBoard to render its UI using it. That's another issue though.\n\nAnyone able to get TensorBoard working here? Thanks!",
      "votes": null
    },
    {
      "id": "767098",
      "postDate": "03/09/2020 06:55:34",
      "content": "<p>Looks like the reason the TensorBoard UI is not loaded is that it has been <a href=\"https://www.kaggle.com/product-feedback/89671\">disabled temporarily</a> for performance reasons.</p>\n\n<p>However, I still think the <code>N10tensorflow22SummaryWriterInterfaceE does not exist</code> error has got something to with the use of TPUs since it doesn't happen when using the GPU.</p>",
      "rawMarkdown": "Looks like the reason the TensorBoard UI is not loaded is that it has been [disabled temporarily](https://www.kaggle.com/product-feedback/89671) for performance reasons.\n\nHowever, I still think the `N10tensorflow22SummaryWriterInterfaceE does not exist` error has got something to with the use of TPUs since it doesn't happen when using the GPU.",
      "votes": null
    },
    {
      "id": "768394",
      "postDate": "03/10/2020 18:31:49",
      "content": "<p>Tensorboard needs a log file to be written somewhere, usually GCS, and the present Kaggle implementation with TPUs does not offer a writable GCS location. Sorry.</p>",
      "rawMarkdown": "Tensorboard needs a log file to be written somewhere, usually GCS, and the present Kaggle implementation with TPUs does not offer a writable GCS location. Sorry.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 767098,
      "author_name": "cddelta",
      "author_url": "",
      "post_date": "03/09/2020 06:55:34",
      "content": "<p>Looks like the reason the TensorBoard UI is not loaded is that it has been <a href=\"https://www.kaggle.com/product-feedback/89671\">disabled temporarily</a> for performance reasons.</p>\n\n<p>However, I still think the <code>N10tensorflow22SummaryWriterInterfaceE does not exist</code> error has got something to with the use of TPUs since it doesn't happen when using the GPU.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 768394,
      "author_name": "mgorner",
      "author_url": "",
      "post_date": "03/10/2020 18:31:49",
      "content": "<p>Tensorboard needs a log file to be written somewhere, usually GCS, and the present Kaggle implementation with TPUs does not offer a writable GCS location. Sorry.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "766955": "I am trying to use TensorBoard with the Getting Started notebook. I forked the notebook and applied this tutorial [here](https://www.kaggle.com/aagundez/using-tensorboard-in-kaggle-kernels). But I'm getting this error on TPU:\n`NotFoundError: Resource worker/_AnonymousVar274/N10tensorflow22SummaryWriterInterfaceE does not exist.`\n\nThis error does not occur on GPU but I also couldn't get TensorBoard to render its UI using it. That's another issue though.\n\nAnyone able to get TensorBoard working here? Thanks!",
    "767098": "Looks like the reason the TensorBoard UI is not loaded is that it has been [disabled temporarily](https://www.kaggle.com/product-feedback/89671) for performance reasons.\n\nHowever, I still think the `N10tensorflow22SummaryWriterInterfaceE does not exist` error has got something to with the use of TPUs since it doesn't happen when using the GPU.",
    "768394": "Tensorboard needs a log file to be written somewhere, usually GCS, and the present Kaggle implementation with TPUs does not offer a writable GCS location. Sorry."
  },
  "source": "meta"
}