{
  "id": 147947,
  "title": "Problem getting data through Kaggle API",
  "url": "/competitions/alaska2-image-steganalysis/discussion/147947",
  "author_name": "",
  "post_date": "2020-05-02T13:25:02.053655300Z",
  "votes": 2,
  "comment_count": 2,
  "views": 0,
  "content": "<p>Hi everyone,\nI wanted to download the data in google colab using Kaggle API, but after downloading several images, it stops and return 429 Too many requests. Anyone knows how to deal with it?\nAlso, when I download, it seems that it's downloading image by image instead of folder by folder. Is there a way to download just one zipped file using the API?</p>\n\n<p>Thanks !</p>",
  "messages": [
    {
      "id": "830286",
      "postDate": "05/02/2020 13:25:02",
      "content": "<p>Hi everyone,\nI wanted to download the data in google colab using Kaggle API, but after downloading several images, it stops and return 429 Too many requests. Anyone knows how to deal with it?\nAlso, when I download, it seems that it's downloading image by image instead of folder by folder. Is there a way to download just one zipped file using the API?</p>\n\n<p>Thanks !</p>",
      "rawMarkdown": "Hi everyone,\nI wanted to download the data in google colab using Kaggle API, but after downloading several images, it stops and return 429 Too many requests. Anyone knows how to deal with it?\nAlso, when I download, it seems that it's downloading image by image instead of folder by folder. Is there a way to download just one zipped file using the API?\n\nThanks !",
      "votes": null
    },
    {
      "id": "833494",
      "postDate": "05/04/2020 21:10:02",
      "content": "<p>Hello,\nGoogle colab might have a limit to number of files it can download at a time. Not sure on that one.\nIf you are using colab to train on TPU you could specify a GCS path to bucket. This is an easier and probably a faster way to access data and start training. </p>\n\n<p>The GCS path for this competition is as follows:\n<code>gs://kds-33d22c334621010c6f3b2067390e70d0fe42224b2559e48711fb5ae0</code> </p>\n\n<p>I would recommend you to follow <a href=\"https://www.kaggle.com/c/flower-classification-with-tpus/discussion/134025\">this</a> discussion for more information</p>",
      "rawMarkdown": "Hello,\nGoogle colab might have a limit to number of files it can download at a time. Not sure on that one.\nIf you are using colab to train on TPU you could specify a GCS path to bucket. This is an easier and probably a faster way to access data and start training. \n\nThe GCS path for this competition is as follows:\n`gs://kds-33d22c334621010c6f3b2067390e70d0fe42224b2559e48711fb5ae0` \n\nI would recommend you to follow [this](https://www.kaggle.com/c/flower-classification-with-tpus/discussion/134025) discussion for more information",
      "votes": null
    },
    {
      "id": "833556",
      "postDate": "05/04/2020 22:09:28",
      "content": "<p>Thank you very much for your answer, I will try that :)</p>",
      "rawMarkdown": "Thank you very much for your answer, I will try that :)",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 833494,
      "author_name": "ayush3496",
      "author_url": "",
      "post_date": "05/04/2020 21:10:02",
      "content": "<p>Hello,\nGoogle colab might have a limit to number of files it can download at a time. Not sure on that one.\nIf you are using colab to train on TPU you could specify a GCS path to bucket. This is an easier and probably a faster way to access data and start training. </p>\n\n<p>The GCS path for this competition is as follows:\n<code>gs://kds-33d22c334621010c6f3b2067390e70d0fe42224b2559e48711fb5ae0</code> </p>\n\n<p>I would recommend you to follow <a href=\"https://www.kaggle.com/c/flower-classification-with-tpus/discussion/134025\">this</a> discussion for more information</p>",
      "votes": null,
      "replies": [
        {
          "id": 833556,
          "author_name": "pierreb1105",
          "author_url": "",
          "post_date": "05/04/2020 22:09:28",
          "content": "<p>Thank you very much for your answer, I will try that :)</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "830286": "Hi everyone,\nI wanted to download the data in google colab using Kaggle API, but after downloading several images, it stops and return 429 Too many requests. Anyone knows how to deal with it?\nAlso, when I download, it seems that it's downloading image by image instead of folder by folder. Is there a way to download just one zipped file using the API?\n\nThanks !",
    "833494": "Hello,\nGoogle colab might have a limit to number of files it can download at a time. Not sure on that one.\nIf you are using colab to train on TPU you could specify a GCS path to bucket. This is an easier and probably a faster way to access data and start training. \n\nThe GCS path for this competition is as follows:\n`gs://kds-33d22c334621010c6f3b2067390e70d0fe42224b2559e48711fb5ae0` \n\nI would recommend you to follow [this](https://www.kaggle.com/c/flower-classification-with-tpus/discussion/134025) discussion for more information",
    "833556": "Thank you very much for your answer, I will try that :)"
  },
  "source": "meta"
}