{
  "id": 190144,
  "title": "How colab get the matched file path based on kaggle gcs path",
  "url": "/competitions/rsna-str-pulmonary-embolism-detection/discussion/190144",
  "author_name": "cswwp",
  "post_date": "2020-10-10T11:26:08.202000",
  "votes": -1,
  "comment_count": 3,
  "views": 0,
  "content": "<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F347724%2F592a81559f6f862f18ca274eca17e154%2F000.png?generation=1602329105356562&amp;alt=media\" alt=\"\"></p>\n<p>i try to get the matched file path with glob, but it not work, anyone know how to achieve it?</p>\n<p>gs://kds-0d0329d5adb41dd20cc337eaf172f7a0fe1f32ff15d0dbf0c65de275 is a gcs path with KaggleDatasets().get_gcs_path('rsna-str-pe-detection-jpeg-256') which origin data is generated by <a href=\"https://www.kaggle.com/vaillant\" target=\"_blank\">@vaillant</a> </p>",
  "messages": [
    {
      "id": 1048122,
      "postDate": "2020-10-13T08:05:21.267Z",
      "content": "<p>Have you checked the gcs path? Because every 3-5 days the path changes.</p>",
      "rawMarkdown": "Have you checked the gcs path? Because every 3-5 days the path changes.",
      "votes": 1
    },
    {
      "id": 1046103,
      "postDate": "2020-10-11T10:51:48.840Z",
      "content": "<p>Try <code>tf.io.gfile.glob(PATH)</code></p>",
      "rawMarkdown": "Try `tf.io.gfile.glob(PATH)`",
      "votes": 1,
      "replies": [
        {
          "id": 1046107,
          "postDate": "2020-10-11T10:58:30.337Z",
          "content": "<p>Okay, thank you. I have download the data to colab</p>",
          "rawMarkdown": "Okay, thank you. I have download the data to colab"
        }
      ]
    },
    {
      "id": 1045137,
      "postDate": "2020-10-10T11:26:08.203Z",
      "content": "<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F347724%2F592a81559f6f862f18ca274eca17e154%2F000.png?generation=1602329105356562&amp;alt=media\" alt=\"\"></p>\n<p>i try to get the matched file path with glob, but it not work, anyone know how to achieve it?</p>\n<p>gs://kds-0d0329d5adb41dd20cc337eaf172f7a0fe1f32ff15d0dbf0c65de275 is a gcs path with KaggleDatasets().get_gcs_path('rsna-str-pe-detection-jpeg-256') which origin data is generated by <a href=\"https://www.kaggle.com/vaillant\" target=\"_blank\">@vaillant</a> </p>",
      "rawMarkdown": "![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F347724%2F592a81559f6f862f18ca274eca17e154%2F000.png?generation=1602329105356562&alt=media)\n\ni try to get the matched file path with glob, but it not work, anyone know how to achieve it?\n\ngs://kds-0d0329d5adb41dd20cc337eaf172f7a0fe1f32ff15d0dbf0c65de275 is a gcs path with KaggleDatasets().get_gcs_path('rsna-str-pe-detection-jpeg-256') which origin data is generated by @vaillant ",
      "votes": -1
    }
  ],
  "comments": [
    {
      "id": 1048122,
      "author_name": "Long Luu",
      "author_url": "",
      "post_date": "2020-10-13T08:05:21.267000",
      "content": "<p>Have you checked the gcs path? Because every 3-5 days the path changes.</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1046103,
      "author_name": "Jose",
      "author_url": "",
      "post_date": "2020-10-11T10:51:48.840000",
      "content": "<p>Try <code>tf.io.gfile.glob(PATH)</code></p>",
      "votes": 1,
      "replies": [
        {
          "id": 1046107,
          "author_name": "cswwp",
          "author_url": "",
          "post_date": "2020-10-11T10:58:30.337000",
          "content": "<p>Okay, thank you. I have download the data to colab</p>",
          "votes": 0,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1048122": "Have you checked the gcs path? Because every 3-5 days the path changes.",
    "1046103": "Try `tf.io.gfile.glob(PATH)`",
    "1045137": "![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F347724%2F592a81559f6f862f18ca274eca17e154%2F000.png?generation=1602329105356562&alt=media)\n\ni try to get the matched file path with glob, but it not work, anyone know how to achieve it?\n\ngs://kds-0d0329d5adb41dd20cc337eaf172f7a0fe1f32ff15d0dbf0c65de275 is a gcs path with KaggleDatasets().get_gcs_path('rsna-str-pe-detection-jpeg-256') which origin data is generated by @vaillant "
  }
}