{
  "id": 214387,
  "title": "[SOLVED] Error when loading external data from 'tf-flower-photo-tfrec'",
  "url": "/competitions/tpu-getting-started/discussion/214387",
  "author_name": "jonas albrecht",
  "post_date": "2021-01-26T13:19:23.657000",
  "votes": 3,
  "comment_count": 2,
  "views": null,
  "content": "<p>Hello there,</p>\n<p>i wanted to use external data via </p>\n<p><code>GCS_DS_PATH_EXT = KaggleDatasets().get_gcs_path('tf-flower-photo-tfrec')</code></p>\n<p>but I get this error message every time</p>\n<p><code>BackendError: Unexpected response from the service. Response: {'errors': [\"Dataset not found for directory 'tf-flower-photo-tfrec', please make sure you are passing a valid directory name under /kaggle/input\"], 'error': {'code': 5}, 'wasSuccessful': False}.</code></p>\n<p>It seems to work in all the other notebooks, I dont know what I can do to fix this problem, can anybody help me?</p>\n<p>Edit:</p>\n<p>sorry, my bad, of course you have to add the Data on the right side of the notebook to the input data of your notebook, otherwise the dataset will not be found.  Simply click on \"+ Add data\", then look for the 'tf-flower-photo-tfrec' dataset  and add it!</p>",
  "messages": [
    {
      "id": 1170828,
      "postDate": "2021-01-26T13:19:23.657Z",
      "content": "<p>Hello there,</p>\n<p>i wanted to use external data via </p>\n<p><code>GCS_DS_PATH_EXT = KaggleDatasets().get_gcs_path('tf-flower-photo-tfrec')</code></p>\n<p>but I get this error message every time</p>\n<p><code>BackendError: Unexpected response from the service. Response: {'errors': [\"Dataset not found for directory 'tf-flower-photo-tfrec', please make sure you are passing a valid directory name under /kaggle/input\"], 'error': {'code': 5}, 'wasSuccessful': False}.</code></p>\n<p>It seems to work in all the other notebooks, I dont know what I can do to fix this problem, can anybody help me?</p>\n<p>Edit:</p>\n<p>sorry, my bad, of course you have to add the Data on the right side of the notebook to the input data of your notebook, otherwise the dataset will not be found.  Simply click on \"+ Add data\", then look for the 'tf-flower-photo-tfrec' dataset  and add it!</p>",
      "rawMarkdown": "Hello there,\n\ni wanted to use external data via \n\n`GCS_DS_PATH_EXT = KaggleDatasets().get_gcs_path('tf-flower-photo-tfrec')`\n\nbut I get this error message every time\n\n`BackendError: Unexpected response from the service. Response: {'errors': [\"Dataset not found for directory 'tf-flower-photo-tfrec', please make sure you are passing a valid directory name under /kaggle/input\"], 'error': {'code': 5}, 'wasSuccessful': False}.`\n\nIt seems to work in all the other notebooks, I dont know what I can do to fix this problem, can anybody help me?\n\nEdit:\n\nsorry, my bad, of course you have to add the Data on the right side of the notebook to the input data of your notebook, otherwise the dataset will not be found.  Simply click on \"+ Add data\", then look for the 'tf-flower-photo-tfrec' dataset  and add it!",
      "votes": 3
    },
    {
      "id": 1280792,
      "postDate": "2021-04-22T10:59:55.763Z",
      "content": "<p>Thanks man! This was super helpful for me! First time using the Kaggle notebook so was also a little bit confused.</p>",
      "rawMarkdown": "Thanks man! This was super helpful for me! First time using the Kaggle notebook so was also a little bit confused.",
      "votes": 1
    },
    {
      "id": 1907303,
      "postDate": "2022-08-20T16:45:49.677Z",
      "content": "<p>lifesaver thanks</p>",
      "rawMarkdown": "lifesaver thanks"
    }
  ],
  "comments": [
    {
      "id": 1280792,
      "author_name": "John-Edward Ferreira",
      "author_url": "",
      "post_date": "2021-04-22T10:59:55.763000",
      "content": "<p>Thanks man! This was super helpful for me! First time using the Kaggle notebook so was also a little bit confused.</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1907303,
      "author_name": "EVAN M. SHLOM",
      "author_url": "",
      "post_date": "2022-08-20T16:45:49.677000",
      "content": "<p>lifesaver thanks</p>",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1170828": "Hello there,\n\ni wanted to use external data via \n\n`GCS_DS_PATH_EXT = KaggleDatasets().get_gcs_path('tf-flower-photo-tfrec')`\n\nbut I get this error message every time\n\n`BackendError: Unexpected response from the service. Response: {'errors': [\"Dataset not found for directory 'tf-flower-photo-tfrec', please make sure you are passing a valid directory name under /kaggle/input\"], 'error': {'code': 5}, 'wasSuccessful': False}.`\n\nIt seems to work in all the other notebooks, I dont know what I can do to fix this problem, can anybody help me?\n\nEdit:\n\nsorry, my bad, of course you have to add the Data on the right side of the notebook to the input data of your notebook, otherwise the dataset will not be found.  Simply click on \"+ Add data\", then look for the 'tf-flower-photo-tfrec' dataset  and add it!",
    "1280792": "Thanks man! This was super helpful for me! First time using the Kaggle notebook so was also a little bit confused.",
    "1907303": "lifesaver thanks"
  }
}