{
  "id": 201614,
  "title": "Setup Dataset using Kaggle API (Colab/Local Machine Solution) ",
  "url": "/competitions/cassava-leaf-disease-classification/discussion/201614",
  "author_name": "",
  "post_date": "2020-12-05T19:33:22.029665200Z",
  "votes": 8,
  "comment_count": 3,
  "views": 0,
  "content": "<p>I have observed that some particular version of Kaggle API works. To download the dataset using Kaggle follow these steps:</p>\n<p>Download your Kaggle.json file from profile and execute the commands:</p>\n<pre><code>pip uninstall -y kaggle\n\npip install --upgrade pip\n\npip install kaggle==1.5.6\n\nmkdir -p ~/.kaggle\n\ncp kaggle.json ~/.kaggle/\n\nkaggle -v\n</code></pre>\n<p>To do the same thing on colab:</p>\n<pre><code>from google.colab import files\n\nfiles.upload()\n</code></pre>\n<p>To download the dataset for this competition use:</p>\n<pre><code>kaggle competitions download -c cassava-leaf-disease-classification\n</code></pre>",
  "messages": [
    {
      "id": "1103281",
      "postDate": "12/05/2020 19:33:22",
      "content": "<p>I have observed that some particular version of Kaggle API works. To download the dataset using Kaggle follow these steps:</p>\n<p>Download your Kaggle.json file from profile and execute the commands:</p>\n<pre><code>pip uninstall -y kaggle\n\npip install --upgrade pip\n\npip install kaggle==1.5.6\n\nmkdir -p ~/.kaggle\n\ncp kaggle.json ~/.kaggle/\n\nkaggle -v\n</code></pre>\n<p>To do the same thing on colab:</p>\n<pre><code>from google.colab import files\n\nfiles.upload()\n</code></pre>\n<p>To download the dataset for this competition use:</p>\n<pre><code>kaggle competitions download -c cassava-leaf-disease-classification\n</code></pre>",
      "rawMarkdown": "I have observed that some particular version of Kaggle API works. To download the dataset using Kaggle follow these steps:\n\nDownload your Kaggle.json file from profile and execute the commands:\n\n\n```\npip uninstall -y kaggle\n\npip install --upgrade pip\n\npip install kaggle==1.5.6\n\nmkdir -p ~/.kaggle\n\ncp kaggle.json ~/.kaggle/\n\nkaggle -v\n\n```\n\nTo do the same thing on colab:\n```\nfrom google.colab import files\n\nfiles.upload()\n```\n\n\nTo download the dataset for this competition use:\n\n```\nkaggle competitions download -c cassava-leaf-disease-classification\n```",
      "votes": null
    },
    {
      "id": "1103300",
      "postDate": "12/05/2020 19:53:21",
      "content": "<p>I don't understand why such important procedure is hidden in Discussion tab. This post must be pinned at the top! Finally got me started with the dataset.</p>",
      "rawMarkdown": "I don't understand why such important procedure is hidden in Discussion tab. This post must be pinned at the top! Finally got me started with the dataset.",
      "votes": null
    },
    {
      "id": "1124065",
      "postDate": "12/23/2020 16:56:46",
      "content": "<p>Thank you sir</p>",
      "rawMarkdown": "Thank you sir",
      "votes": null
    },
    {
      "id": "1124272",
      "postDate": "12/23/2020 19:32:50",
      "content": "<p>Thank you!</p>",
      "rawMarkdown": "Thank you!",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1103300,
      "author_name": "rahultiwari1995",
      "author_url": "",
      "post_date": "12/05/2020 19:53:21",
      "content": "<p>I don't understand why such important procedure is hidden in Discussion tab. This post must be pinned at the top! Finally got me started with the dataset.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1124065,
      "author_name": "hotsonhonet",
      "author_url": "",
      "post_date": "12/23/2020 16:56:46",
      "content": "<p>Thank you sir</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1124272,
      "author_name": "vad13irt",
      "author_url": "",
      "post_date": "12/23/2020 19:32:50",
      "content": "<p>Thank you!</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1103281": "I have observed that some particular version of Kaggle API works. To download the dataset using Kaggle follow these steps:\n\nDownload your Kaggle.json file from profile and execute the commands:\n\n\n```\npip uninstall -y kaggle\n\npip install --upgrade pip\n\npip install kaggle==1.5.6\n\nmkdir -p ~/.kaggle\n\ncp kaggle.json ~/.kaggle/\n\nkaggle -v\n\n```\n\nTo do the same thing on colab:\n```\nfrom google.colab import files\n\nfiles.upload()\n```\n\n\nTo download the dataset for this competition use:\n\n```\nkaggle competitions download -c cassava-leaf-disease-classification\n```",
    "1103300": "I don't understand why such important procedure is hidden in Discussion tab. This post must be pinned at the top! Finally got me started with the dataset.",
    "1124065": "Thank you sir",
    "1124272": "Thank you!"
  },
  "source": "meta"
}