{
  "id": 152864,
  "title": "Using colab",
  "url": "/competitions/global-wheat-detection/discussion/152864",
  "author_name": "",
  "post_date": "2020-05-21T20:38:27.206801600Z",
  "votes": null,
  "comment_count": 5,
  "views": 0,
  "content": "<p>Is there a way to load the dataset in colab?\nThanks in advance</p>",
  "messages": [
    {
      "id": "856557",
      "postDate": "05/21/2020 20:38:27",
      "content": "<p>Is there a way to load the dataset in colab?\nThanks in advance</p>",
      "rawMarkdown": "Is there a way to load the dataset in colab?\nThanks in advance",
      "votes": null
    },
    {
      "id": "856617",
      "postDate": "05/21/2020 22:40:32",
      "content": "<p>simply follow <a href=\"https://www.kaggle.com/general/74235\">this</a> discussion thread.</p>",
      "rawMarkdown": "simply follow [this](https://www.kaggle.com/general/74235) discussion thread.",
      "votes": null
    },
    {
      "id": "856708",
      "postDate": "05/22/2020 02:26:59",
      "content": "<p>I tried this method already but only around ~20 images were able to load and no more than that.</p>",
      "rawMarkdown": "I tried this method already but only around ~20 images were able to load and no more than that.",
      "votes": null
    },
    {
      "id": "857326",
      "postDate": "05/22/2020 14:22:52",
      "content": "<p>I had also faced the same problem in other competition. Here's the work around which I found helpful. <a href=\"https://www.kaggle.com/c/plant-pathology-2020-fgvc7/discussion/148253\">Link </a></p>",
      "rawMarkdown": "I had also faced the same problem in other competition. Here's the work around which I found helpful. [Link ](https://www.kaggle.com/c/plant-pathology-2020-fgvc7/discussion/148253)",
      "votes": null
    },
    {
      "id": "858915",
      "postDate": "05/24/2020 00:08:02",
      "content": "<p>Following are my commands to load data on colab. The kaggle.json should be made from kaggle website.\n<code>\n! pip install --upgrade --force-reinstall --no-deps kaggle\n! mkdir -p ~/.kaggle/\n! cp /kaggle.json ~/.kaggle/\n! chmod 600 ~/.kaggle/kaggle.json\n! kaggle competitions download -c global-wheat-detection\n! unzip /content/global-wheat-detection.zip -d /content/global-wheat-detection &amp;gt; /dev/null\n</code></p>",
      "rawMarkdown": "Following are my commands to load data on colab. The kaggle.json should be made from kaggle website.\n```\n! pip install --upgrade --force-reinstall --no-deps kaggle\n! mkdir -p ~/.kaggle/\n! cp /kaggle.json ~/.kaggle/\n! chmod 600 ~/.kaggle/kaggle.json\n! kaggle competitions download -c global-wheat-detection\n! unzip /content/global-wheat-detection.zip -d /content/global-wheat-detection &gt; /dev/null\n```",
      "votes": null
    },
    {
      "id": "870577",
      "postDate": "06/01/2020 18:45:47",
      "content": "<p>This might happen because the version of kaggle library is old, you would have to upgrade it using </p>\n\n<p><code>! pip install --upgrade --force-reinstall --no-deps kaggle</code></p>",
      "rawMarkdown": "This might happen because the version of kaggle library is old, you would have to upgrade it using \n\n`! pip install --upgrade --force-reinstall --no-deps kaggle`",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 856617,
      "author_name": "rohitsingh9990",
      "author_url": "",
      "post_date": "05/21/2020 22:40:32",
      "content": "<p>simply follow <a href=\"https://www.kaggle.com/general/74235\">this</a> discussion thread.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 856708,
      "author_name": "bhavesjain",
      "author_url": "",
      "post_date": "05/22/2020 02:26:59",
      "content": "<p>I tried this method already but only around ~20 images were able to load and no more than that.</p>",
      "votes": null,
      "replies": [
        {
          "id": 870577,
          "author_name": "jalfaizy",
          "author_url": "",
          "post_date": "06/01/2020 18:45:47",
          "content": "<p>This might happen because the version of kaggle library is old, you would have to upgrade it using </p>\n\n<p><code>! pip install --upgrade --force-reinstall --no-deps kaggle</code></p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 857326,
      "author_name": "jimitshah777",
      "author_url": "",
      "post_date": "05/22/2020 14:22:52",
      "content": "<p>I had also faced the same problem in other competition. Here's the work around which I found helpful. <a href=\"https://www.kaggle.com/c/plant-pathology-2020-fgvc7/discussion/148253\">Link </a></p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 858915,
      "author_name": "whurobin",
      "author_url": "",
      "post_date": "05/24/2020 00:08:02",
      "content": "<p>Following are my commands to load data on colab. The kaggle.json should be made from kaggle website.\n<code>\n! pip install --upgrade --force-reinstall --no-deps kaggle\n! mkdir -p ~/.kaggle/\n! cp /kaggle.json ~/.kaggle/\n! chmod 600 ~/.kaggle/kaggle.json\n! kaggle competitions download -c global-wheat-detection\n! unzip /content/global-wheat-detection.zip -d /content/global-wheat-detection &amp;gt; /dev/null\n</code></p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "856557": "Is there a way to load the dataset in colab?\nThanks in advance",
    "856617": "simply follow [this](https://www.kaggle.com/general/74235) discussion thread.",
    "856708": "I tried this method already but only around ~20 images were able to load and no more than that.",
    "857326": "I had also faced the same problem in other competition. Here's the work around which I found helpful. [Link ](https://www.kaggle.com/c/plant-pathology-2020-fgvc7/discussion/148253)",
    "858915": "Following are my commands to load data on colab. The kaggle.json should be made from kaggle website.\n```\n! pip install --upgrade --force-reinstall --no-deps kaggle\n! mkdir -p ~/.kaggle/\n! cp /kaggle.json ~/.kaggle/\n! chmod 600 ~/.kaggle/kaggle.json\n! kaggle competitions download -c global-wheat-detection\n! unzip /content/global-wheat-detection.zip -d /content/global-wheat-detection &gt; /dev/null\n```",
    "870577": "This might happen because the version of kaggle library is old, you would have to upgrade it using \n\n`! pip install --upgrade --force-reinstall --no-deps kaggle`"
  },
  "source": "meta"
}