{
  "id": 273890,
  "title": "Mount gcs path on google colab",
  "url": "/competitions/landmark-recognition-2021/discussion/273890",
  "author_name": "",
  "post_date": "2021-09-23T04:22:36.966421500Z",
  "votes": 2,
  "comment_count": 2,
  "views": 0,
  "content": "<p>I tried to the dataset \"landmark-recognition-2021\" with gcs_path.<br>\nHowever, today I could not do it. (Others dataset could be mounted.)</p>\n<p>Does anyone see this problem?</p>\n<p>I use the gcs path below:<br>\n\"kds-a96c1802a6a66484c5bfddd852fe8b0c6a4e8b5f33f4660c3922dfc4\".</p>\n<p>--- (reference) full commands to mount gcs:</p>\n<h1>install gcsfuse</h1>\n<p>!echo \"deb <a href=\"http://packages.cloud.google.com/apt\" target=\"_blank\">http://packages.cloud.google.com/apt</a> gcsfuse-bionic main\" &gt; /etc/apt/sources.list.d/gcsfuse.list<br>\n!curl <a href=\"https://packages.cloud.google.com/apt/doc/apt-key.gpg\" target=\"_blank\">https://packages.cloud.google.com/apt/doc/apt-key.gpg</a> | apt-key add -<br>\n!apt update<br>\n!apt install gcsfuse</p>\n<h1>mount</h1>\n<p>gcs_path = \"kds-a96c1802a6a66484c5bfddd852fe8b0c6a4e8b5f33f4660c3922dfc4\"<br>\nmount_path = \"/kaggle/input/landmark-recognition-2021\"<br>\n!gcsfuse --implicit-dirs --limit-bytes-per-sec -1 --limit-ops-per-sec -1 $gcs_path $mount_path</p>",
  "messages": [
    {
      "id": "1521245",
      "postDate": "09/23/2021 04:22:36",
      "content": "<p>I tried to the dataset \"landmark-recognition-2021\" with gcs_path.<br>\nHowever, today I could not do it. (Others dataset could be mounted.)</p>\n<p>Does anyone see this problem?</p>\n<p>I use the gcs path below:<br>\n\"kds-a96c1802a6a66484c5bfddd852fe8b0c6a4e8b5f33f4660c3922dfc4\".</p>\n<p>--- (reference) full commands to mount gcs:</p>\n<h1>install gcsfuse</h1>\n<p>!echo \"deb <a href=\"http://packages.cloud.google.com/apt\" target=\"_blank\">http://packages.cloud.google.com/apt</a> gcsfuse-bionic main\" &gt; /etc/apt/sources.list.d/gcsfuse.list<br>\n!curl <a href=\"https://packages.cloud.google.com/apt/doc/apt-key.gpg\" target=\"_blank\">https://packages.cloud.google.com/apt/doc/apt-key.gpg</a> | apt-key add -<br>\n!apt update<br>\n!apt install gcsfuse</p>\n<h1>mount</h1>\n<p>gcs_path = \"kds-a96c1802a6a66484c5bfddd852fe8b0c6a4e8b5f33f4660c3922dfc4\"<br>\nmount_path = \"/kaggle/input/landmark-recognition-2021\"<br>\n!gcsfuse --implicit-dirs --limit-bytes-per-sec -1 --limit-ops-per-sec -1 $gcs_path $mount_path</p>",
      "rawMarkdown": "I tried to the dataset \"landmark-recognition-2021\" with gcs_path.\nHowever, today I could not do it. (Others dataset could be mounted.)\n\nDoes anyone see this problem?\n\nI use the gcs path below:\n\"kds-a96c1802a6a66484c5bfddd852fe8b0c6a4e8b5f33f4660c3922dfc4\".\n\n\n--- (reference) full commands to mount gcs:\n# install gcsfuse\n!echo \"deb http://packages.cloud.google.com/apt gcsfuse-bionic main\" > /etc/apt/sources.list.d/gcsfuse.list\n!curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -\n!apt update\n!apt install gcsfuse\n\n# mount\ngcs_path = \"kds-a96c1802a6a66484c5bfddd852fe8b0c6a4e8b5f33f4660c3922dfc4\"\nmount_path = \"/kaggle/input/landmark-recognition-2021\"\n!gcsfuse --implicit-dirs --limit-bytes-per-sec -1 --limit-ops-per-sec -1 $gcs_path $mount_path",
      "votes": null
    },
    {
      "id": "1521364",
      "postDate": "09/23/2021 06:55:17",
      "content": "<p><a href=\"https://www.kaggle.com/motono0223\" target=\"_blank\">@motono0223</a> <br>\nif there's nothing in the path or you can't read it, the path might be changed.<br>\nuse kaggle notebook to recheck the actual gcs path.</p>",
      "rawMarkdown": "motono0223 \nif there's nothing in the path or you can't read it, the path might be changed.\nuse kaggle notebook to recheck the actual gcs path.",
      "votes": null
    },
    {
      "id": "1521402",
      "postDate": "09/23/2021 07:42:52",
      "content": "<p><a href=\"https://www.kaggle.com/gdoong\" target=\"_blank\">@gdoong</a> Thank you for your mention.<br>\nI solved this trouble by your advice!</p>",
      "rawMarkdown": "gdoong Thank you for your mention.\nI solved this trouble by your advice!",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1521364,
      "author_name": "gdoong",
      "author_url": "",
      "post_date": "09/23/2021 06:55:17",
      "content": "<p><a href=\"https://www.kaggle.com/motono0223\" target=\"_blank\">@motono0223</a> <br>\nif there's nothing in the path or you can't read it, the path might be changed.<br>\nuse kaggle notebook to recheck the actual gcs path.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1521402,
      "author_name": "motono0223",
      "author_url": "",
      "post_date": "09/23/2021 07:42:52",
      "content": "<p><a href=\"https://www.kaggle.com/gdoong\" target=\"_blank\">@gdoong</a> Thank you for your mention.<br>\nI solved this trouble by your advice!</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1521245": "I tried to the dataset \"landmark-recognition-2021\" with gcs_path.\nHowever, today I could not do it. (Others dataset could be mounted.)\n\nDoes anyone see this problem?\n\nI use the gcs path below:\n\"kds-a96c1802a6a66484c5bfddd852fe8b0c6a4e8b5f33f4660c3922dfc4\".\n\n\n--- (reference) full commands to mount gcs:\n# install gcsfuse\n!echo \"deb http://packages.cloud.google.com/apt gcsfuse-bionic main\" > /etc/apt/sources.list.d/gcsfuse.list\n!curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -\n!apt update\n!apt install gcsfuse\n\n# mount\ngcs_path = \"kds-a96c1802a6a66484c5bfddd852fe8b0c6a4e8b5f33f4660c3922dfc4\"\nmount_path = \"/kaggle/input/landmark-recognition-2021\"\n!gcsfuse --implicit-dirs --limit-bytes-per-sec -1 --limit-ops-per-sec -1 $gcs_path $mount_path",
    "1521364": "motono0223 \nif there's nothing in the path or you can't read it, the path might be changed.\nuse kaggle notebook to recheck the actual gcs path.",
    "1521402": "gdoong Thank you for your mention.\nI solved this trouble by your advice!"
  },
  "source": "meta"
}