{
  "id": 109508,
  "title": "download in separate folders",
  "url": "/competitions/rsna-intracranial-hemorrhage-detection/discussion/109508",
  "author_name": "Virilo Tejedor Aguilera",
  "post_date": "2019-09-19T17:02:09.318000",
  "votes": 2,
  "comment_count": 11,
  "views": 0,
  "content": "<p>I'm trying to download:</p>\n\n<pre><code>kaggle competitions download -c rsna-intracranial-hemorrhage-detection -p .\n</code></pre>\n\n<p>And it has started downloading the .dcm files directly to the current folder</p>\n\n<p>I expected the files in separate train/test folders, or in one .zip file per train/test dataset</p>\n\n<p>Anyone having the same issue?</p>\n\n<p>Using Kaggle API 1.5.5</p>\n\n<p>Cheers</p>",
  "messages": [
    {
      "id": 630060,
      "postDate": "2019-09-19T17:04:25.460Z",
      "content": "<p>Hi, thanks for your feedback!  The API is currently not working as expected.  Please use the Download All button to grab the data in the meantime.</p>",
      "rawMarkdown": "Hi, thanks for your feedback!  The API is currently not working as expected.  Please use the Download All button to grab the data in the meantime.",
      "votes": 1
    },
    {
      "id": 630059,
      "postDate": "2019-09-19T17:02:09.320Z",
      "content": "<p>I'm trying to download:</p>\n\n<pre><code>kaggle competitions download -c rsna-intracranial-hemorrhage-detection -p .\n</code></pre>\n\n<p>And it has started downloading the .dcm files directly to the current folder</p>\n\n<p>I expected the files in separate train/test folders, or in one .zip file per train/test dataset</p>\n\n<p>Anyone having the same issue?</p>\n\n<p>Using Kaggle API 1.5.5</p>\n\n<p>Cheers</p>",
      "rawMarkdown": "I'm trying to download:\n\n    kaggle competitions download -c rsna-intracranial-hemorrhage-detection -p .\n\nAnd it has started downloading the .dcm files directly to the current folder\n\nI expected the files in separate train/test folders, or in one .zip file per train/test dataset\n\nAnyone having the same issue?\n\nUsing Kaggle API 1.5.5\n\n\nCheers\n",
      "votes": 2
    },
    {
      "id": 630884,
      "postDate": "2019-09-20T23:57:16.447Z",
      "content": "<p>Hi :) </p>\n\n<p>I have updated kaggle API but it crashed at 65% of data :/ </p>",
      "rawMarkdown": "Hi :) \n\nI have updated kaggle API but it crashed at 65% of data :/ ",
      "replies": [
        {
          "id": 630886,
          "postDate": "2019-09-21T00:02:21.997Z",
          "content": "<p>Hi! Sorry to hear that - thanks for your report. What did the crash look like? Was there an error message?</p>",
          "rawMarkdown": "Hi! Sorry to hear that - thanks for your report. What did the crash look like? Was there an error message?"
        },
        {
          "id": 630887,
          "postDate": "2019-09-21T00:06:48.760Z",
          "content": "<p>Thanks for the fast response! </p>\n\n<p>Yeah there was but unfortunately I had to reboot my system and did not save the message. Next time - hopefully not - I will save it :) I am trying to download data once again.</p>",
          "rawMarkdown": "Thanks for the fast response! \n\nYeah there was but unfortunately I had to reboot my system and did not save the message. Next time - hopefully not - I will save it :) I am trying to download data once again."
        },
        {
          "id": 630891,
          "postDate": "2019-09-21T00:12:42.967Z",
          "content": "<p>Sounds good! Hopefully things are error-free this time. :) Sorry again for the trouble.</p>",
          "rawMarkdown": "Sounds good! Hopefully things are error-free this time. :) Sorry again for the trouble."
        },
        {
          "id": 631105,
          "postDate": "2019-09-21T11:21:18.473Z",
          "content": "<p>Download was error free ... but :/ There are plenty corrupted images <img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1528223%2F1e7c66dac3f2a149cc2d9fb0ac374e08%2Frsna.png?generation=1569064839446608&amp;alt=media\" alt=\"\"></p>\n\n<p>I hope that only in train set, nevertheless this is the first time I have so many issues with data :( </p>",
          "rawMarkdown": "Download was error free ... but :/ There are plenty corrupted images ![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1528223%2F1e7c66dac3f2a149cc2d9fb0ac374e08%2Frsna.png?generation=1569064839446608&amp;alt=media)\n\nI hope that only in train set, nevertheless this is the first time I have so many issues with data :( "
        },
        {
          "id": 631132,
          "postDate": "2019-09-21T12:21:56.150Z",
          "content": "<p>Hmm, that's odd. Thanks for the report. We'll check it out. Sorry again for the trouble!</p>",
          "rawMarkdown": "Hmm, that's odd. Thanks for the report. We'll check it out. Sorry again for the trouble!"
        },
        {
          "id": 631134,
          "postDate": "2019-09-21T12:23:32.980Z",
          "content": "<p>I will just skip that files during the learning process for now :) </p>",
          "rawMarkdown": "I will just skip that files during the learning process for now :) "
        },
        {
          "id": 631248,
          "postDate": "2019-09-21T17:08:06.303Z",
          "content": "<p><a href=\"/meykds\">@meykds</a> I was able to reproduce that sometimes the API download stops before the file is finished and sometimes it works. Please try to download again or use the web interface. The md5 sum of the full file should be <code>183f9b8b88ae7844c1aeea248a37b72c</code>. Sorry for the troubles!</p>",
          "rawMarkdown": "@meykds I was able to reproduce that sometimes the API download stops before the file is finished and sometimes it works. Please try to download again or use the web interface. The md5 sum of the full file should be `183f9b8b88ae7844c1aeea248a37b72c`. Sorry for the troubles!"
        }
      ]
    },
    {
      "id": 630064,
      "postDate": "2019-09-19T17:13:45.327Z",
      "content": "<p>thanks <a href=\"/philculliton\">@philculliton</a> </p>",
      "rawMarkdown": "thanks @philculliton ",
      "replies": [
        {
          "id": 630135,
          "postDate": "2019-09-19T19:27:09.917Z",
          "content": "<p>The API should work now for download competition data - you just need to update your <code>kaggle</code> library as described [here] (<a href=\"https://www.kaggle.com/c/rsna-intracranial-hemorrhage-detection/discussion/109520#latest-630128\">https://www.kaggle.com/c/rsna-intracranial-hemorrhage-detection/discussion/109520#latest-630128</a>). Let us know if you have any further problems!</p>",
          "rawMarkdown": "The API should work now for download competition data - you just need to update your `kaggle` library as described [here] (https://www.kaggle.com/c/rsna-intracranial-hemorrhage-detection/discussion/109520#latest-630128). Let us know if you have any further problems!"
        }
      ]
    }
  ],
  "comments": [
    {
      "id": 630060,
      "author_name": "Phil Culliton",
      "author_url": "",
      "post_date": "2019-09-19T17:04:25.460000",
      "content": "<p>Hi, thanks for your feedback!  The API is currently not working as expected.  Please use the Download All button to grab the data in the meantime.</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 630884,
      "author_name": "Meyk",
      "author_url": "",
      "post_date": "2019-09-20T23:57:16.447000",
      "content": "<p>Hi :) </p>\n\n<p>I have updated kaggle API but it crashed at 65% of data :/ </p>",
      "votes": 0,
      "replies": [
        {
          "id": 630886,
          "author_name": "Phil Culliton",
          "author_url": "",
          "post_date": "2019-09-21T00:02:21.997000",
          "content": "<p>Hi! Sorry to hear that - thanks for your report. What did the crash look like? Was there an error message?</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 630887,
          "author_name": "Meyk",
          "author_url": "",
          "post_date": "2019-09-21T00:06:48.760000",
          "content": "<p>Thanks for the fast response! </p>\n\n<p>Yeah there was but unfortunately I had to reboot my system and did not save the message. Next time - hopefully not - I will save it :) I am trying to download data once again.</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 630891,
          "author_name": "Phil Culliton",
          "author_url": "",
          "post_date": "2019-09-21T00:12:42.967000",
          "content": "<p>Sounds good! Hopefully things are error-free this time. :) Sorry again for the trouble.</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 631105,
          "author_name": "Meyk",
          "author_url": "",
          "post_date": "2019-09-21T11:21:18.473000",
          "content": "<p>Download was error free ... but :/ There are plenty corrupted images <img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1528223%2F1e7c66dac3f2a149cc2d9fb0ac374e08%2Frsna.png?generation=1569064839446608&amp;alt=media\" alt=\"\"></p>\n\n<p>I hope that only in train set, nevertheless this is the first time I have so many issues with data :( </p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 631132,
          "author_name": "Phil Culliton",
          "author_url": "",
          "post_date": "2019-09-21T12:21:56.150000",
          "content": "<p>Hmm, that's odd. Thanks for the report. We'll check it out. Sorry again for the trouble!</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 631134,
          "author_name": "Meyk",
          "author_url": "",
          "post_date": "2019-09-21T12:23:32.980000",
          "content": "<p>I will just skip that files during the learning process for now :) </p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 631248,
          "author_name": "Will Cukierski",
          "author_url": "",
          "post_date": "2019-09-21T17:08:06.303000",
          "content": "<p><a href=\"/meykds\">@meykds</a> I was able to reproduce that sometimes the API download stops before the file is finished and sometimes it works. Please try to download again or use the web interface. The md5 sum of the full file should be <code>183f9b8b88ae7844c1aeea248a37b72c</code>. Sorry for the troubles!</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 630064,
      "author_name": "Virilo Tejedor Aguilera",
      "author_url": "",
      "post_date": "2019-09-19T17:13:45.327000",
      "content": "<p>thanks <a href=\"/philculliton\">@philculliton</a> </p>",
      "votes": 0,
      "replies": [
        {
          "id": 630135,
          "author_name": "Phil Culliton",
          "author_url": "",
          "post_date": "2019-09-19T19:27:09.917000",
          "content": "<p>The API should work now for download competition data - you just need to update your <code>kaggle</code> library as described [here] (<a href=\"https://www.kaggle.com/c/rsna-intracranial-hemorrhage-detection/discussion/109520#latest-630128\">https://www.kaggle.com/c/rsna-intracranial-hemorrhage-detection/discussion/109520#latest-630128</a>). Let us know if you have any further problems!</p>",
          "votes": 0,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "630060": "Hi, thanks for your feedback!  The API is currently not working as expected.  Please use the Download All button to grab the data in the meantime.",
    "630059": "I'm trying to download:\n\n    kaggle competitions download -c rsna-intracranial-hemorrhage-detection -p .\n\nAnd it has started downloading the .dcm files directly to the current folder\n\nI expected the files in separate train/test folders, or in one .zip file per train/test dataset\n\nAnyone having the same issue?\n\nUsing Kaggle API 1.5.5\n\n\nCheers\n",
    "630884": "Hi :) \n\nI have updated kaggle API but it crashed at 65% of data :/ ",
    "630064": "thanks @philculliton "
  }
}