{
  "id": 116809,
  "title": "Training on colab",
  "url": "/competitions/rsna-intracranial-hemorrhage-detection/discussion/116809",
  "author_name": "Naman Makkar",
  "post_date": "2019-11-11T14:54:09.917000",
  "votes": 1,
  "comment_count": 9,
  "views": 0,
  "content": "<p>I have run out of gpu memory on kaggle. Can someone tell me how to download the data from this competition to my colab notebook ? </p>",
  "messages": [
    {
      "id": 671049,
      "postDate": "2019-11-12T07:34:18.707Z",
      "content": "<p>Install Kaggle API and check it's document. \nYou can also use this command in Colab.\n<code>!kaggle competitions download -c rsna-intracranial-hemorrhage-detection</code></p>",
      "rawMarkdown": "Install Kaggle API and check it's document. \nYou can also use this command in Colab.\n`!kaggle competitions download -c rsna-intracranial-hemorrhage-detection`",
      "votes": 6,
      "replies": [
        {
          "id": 671215,
          "postDate": "2019-11-12T11:45:58.550Z",
          "content": "<p>Thanks a lot !</p>",
          "rawMarkdown": "Thanks a lot !"
        },
        {
          "id": 671868,
          "postDate": "2019-11-13T08:55:08.113Z",
          "content": "<p>I repeatedly keep getting a 401 unauthorised error\nThis is the code I tried</p>\n\n<p>!pip install -U -q kaggle\n!mkdir -p ~/.kaggle</p>\n\n<p>from google.colab import files\nfiles.upload()</p>\n\n<p>!cp kaggle.json ~/.kaggle/\n!kaggle datasets list\nI get a 401 unauthorised error here</p>\n\n<p>!kaggle competitions download -c rsna-intracranial-hemorrhage-detection\nI get another one here even though I have uploaded my API token json file from my account.\nI have tried using multiple API tokens by expiring the previous ones but nothing seems to be working</p>",
          "rawMarkdown": "I repeatedly keep getting a 401 unauthorised error\nThis is the code I tried\n\n!pip install -U -q kaggle\n!mkdir -p ~/.kaggle\n\nfrom google.colab import files\nfiles.upload()\n\n!cp kaggle.json ~/.kaggle/\n!kaggle datasets list\nI get a 401 unauthorised error here\n\n!kaggle competitions download -c rsna-intracranial-hemorrhage-detection\nI get another one here even though I have uploaded my API token json file from my account.\nI have tried using multiple API tokens by expiring the previous ones but nothing seems to be working"
        },
        {
          "id": 671872,
          "postDate": "2019-11-13T09:03:08.917Z",
          "content": "<p>I fixed it \nIt is working now !</p>",
          "rawMarkdown": "I fixed it \nIt is working now !"
        }
      ]
    },
    {
      "id": 670529,
      "postDate": "2019-11-11T14:54:09.917Z",
      "content": "<p>I have run out of gpu memory on kaggle. Can someone tell me how to download the data from this competition to my colab notebook ? </p>",
      "rawMarkdown": "I have run out of gpu memory on kaggle. Can someone tell me how to download the data from this competition to my colab notebook ? ",
      "votes": 1
    },
    {
      "id": 671019,
      "postDate": "2019-11-12T06:43:20.627Z",
      "content": "<p>check this repository of mine : <a href=\"https://github.com/mobassir94/RSNA-Intracranial-Hemorrhage-Detection\">https://github.com/mobassir94/RSNA-Intracranial-Hemorrhage-Detection</a></p>",
      "rawMarkdown": "check this repository of mine : https://github.com/mobassir94/RSNA-Intracranial-Hemorrhage-Detection",
      "votes": 2,
      "replies": [
        {
          "id": 671214,
          "postDate": "2019-11-12T11:45:41.957Z",
          "content": "<p>Thank you very much. This is very helpful</p>",
          "rawMarkdown": "Thank you very much. This is very helpful",
          "votes": 1
        },
        {
          "id": 671326,
          "postDate": "2019-11-12T14:26:57.187Z",
          "content": "<p>Also, would it be possible for me to train it for more than 9 hours ? </p>",
          "rawMarkdown": "Also, would it be possible for me to train it for more than 9 hours ? ",
          "votes": 1
        },
        {
          "id": 671332,
          "postDate": "2019-11-12T14:35:44.410Z",
          "content": "<p>sometimes colab gets disconnected after 8 hours,sometimes earlier than that and sometimes you can train your model approximately 12 hours long,just give it a try!</p>",
          "rawMarkdown": "sometimes colab gets disconnected after 8 hours,sometimes earlier than that and sometimes you can train your model approximately 12 hours long,just give it a try!",
          "votes": 1
        },
        {
          "id": 671762,
          "postDate": "2019-11-13T06:03:56.153Z",
          "content": "<p>Yes <a href=\"/namansingh2803\">@namansingh2803</a>  you can train it for more than 9 hour just don't do close or disconnect your runtime.</p>",
          "rawMarkdown": "Yes @namansingh2803  you can train it for more than 9 hour just don't do close or disconnect your runtime.",
          "votes": 3
        }
      ]
    }
  ],
  "comments": [
    {
      "id": 671049,
      "author_name": "itsshavar",
      "author_url": "",
      "post_date": "2019-11-12T07:34:18.707000",
      "content": "<p>Install Kaggle API and check it's document. \nYou can also use this command in Colab.\n<code>!kaggle competitions download -c rsna-intracranial-hemorrhage-detection</code></p>",
      "votes": 6,
      "replies": [
        {
          "id": 671215,
          "author_name": "Naman Makkar",
          "author_url": "",
          "post_date": "2019-11-12T11:45:58.550000",
          "content": "<p>Thanks a lot !</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 671868,
          "author_name": "Naman Makkar",
          "author_url": "",
          "post_date": "2019-11-13T08:55:08.113000",
          "content": "<p>I repeatedly keep getting a 401 unauthorised error\nThis is the code I tried</p>\n\n<p>!pip install -U -q kaggle\n!mkdir -p ~/.kaggle</p>\n\n<p>from google.colab import files\nfiles.upload()</p>\n\n<p>!cp kaggle.json ~/.kaggle/\n!kaggle datasets list\nI get a 401 unauthorised error here</p>\n\n<p>!kaggle competitions download -c rsna-intracranial-hemorrhage-detection\nI get another one here even though I have uploaded my API token json file from my account.\nI have tried using multiple API tokens by expiring the previous ones but nothing seems to be working</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 671872,
          "author_name": "Naman Makkar",
          "author_url": "",
          "post_date": "2019-11-13T09:03:08.917000",
          "content": "<p>I fixed it \nIt is working now !</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 671019,
      "author_name": "Mobassir",
      "author_url": "",
      "post_date": "2019-11-12T06:43:20.627000",
      "content": "<p>check this repository of mine : <a href=\"https://github.com/mobassir94/RSNA-Intracranial-Hemorrhage-Detection\">https://github.com/mobassir94/RSNA-Intracranial-Hemorrhage-Detection</a></p>",
      "votes": 2,
      "replies": [
        {
          "id": 671214,
          "author_name": "Naman Makkar",
          "author_url": "",
          "post_date": "2019-11-12T11:45:41.957000",
          "content": "<p>Thank you very much. This is very helpful</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 671326,
          "author_name": "Naman Makkar",
          "author_url": "",
          "post_date": "2019-11-12T14:26:57.187000",
          "content": "<p>Also, would it be possible for me to train it for more than 9 hours ? </p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 671332,
          "author_name": "Mobassir",
          "author_url": "",
          "post_date": "2019-11-12T14:35:44.410000",
          "content": "<p>sometimes colab gets disconnected after 8 hours,sometimes earlier than that and sometimes you can train your model approximately 12 hours long,just give it a try!</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 671762,
          "author_name": "itsshavar",
          "author_url": "",
          "post_date": "2019-11-13T06:03:56.153000",
          "content": "<p>Yes <a href=\"/namansingh2803\">@namansingh2803</a>  you can train it for more than 9 hour just don't do close or disconnect your runtime.</p>",
          "votes": 3,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "671049": "Install Kaggle API and check it's document. \nYou can also use this command in Colab.\n`!kaggle competitions download -c rsna-intracranial-hemorrhage-detection`",
    "670529": "I have run out of gpu memory on kaggle. Can someone tell me how to download the data from this competition to my colab notebook ? ",
    "671019": "check this repository of mine : https://github.com/mobassir94/RSNA-Intracranial-Hemorrhage-Detection"
  }
}