{
  "id": 245176,
  "title": "Notebook Runtime Error",
  "url": "/competitions/siim-covid19-detection/discussion/245176",
  "author_name": "",
  "post_date": "2021-06-10T05:09:36.424439300Z",
  "votes": 3,
  "comment_count": 6,
  "views": 0,
  "content": "<p>When I run my notebook in a normal kaggle kernel, it took about 40 minutes to complete. But when I submitted that to the competition, it runs for too much time and showed Notebook runtime in the submissions.</p>\n<p>What to do??<br>\nAnybody, please help!</p>",
  "messages": [
    {
      "id": "1343182",
      "postDate": "06/10/2021 05:09:36",
      "content": "<p>When I run my notebook in a normal kaggle kernel, it took about 40 minutes to complete. But when I submitted that to the competition, it runs for too much time and showed Notebook runtime in the submissions.</p>\n<p>What to do??<br>\nAnybody, please help!</p>",
      "rawMarkdown": "When I run my notebook in a normal kaggle kernel, it took about 40 minutes to complete. But when I submitted that to the competition, it runs for too much time and showed Notebook runtime in the submissions.\n\nWhat to do??\nAnybody, please help!",
      "votes": null
    },
    {
      "id": "1345112",
      "postDate": "06/11/2021 10:17:02",
      "content": "<p>The Runtime Limit for the Competition is 8hrs. Does your Notebook takes longer than that to run?</p>\n<p>You are probably training inside that notebook. Make sure you save a model somewhere else first and then perform inference from your trained model in the submission notebook.</p>",
      "rawMarkdown": "The Runtime Limit for the Competition is 8hrs. Does your Notebook takes longer than that to run?\n\nYou are probably training inside that notebook. Make sure you save a model somewhere else first and then perform inference from your trained model in the submission notebook.",
      "votes": null
    },
    {
      "id": "1345128",
      "postDate": "06/11/2021 10:38:38",
      "content": "<p>When running the notebook in the edit section, it took me 40 minutes. But after submitting it should take the same time. Not understanding why this error!!</p>\n<p>What my notebook is doing :</p>\n<ol>\n<li>Installing some dependencies  (approx 10 mins.)</li>\n<li>Processing data (approx 20 mins.)</li>\n<li>Loading models and some other processings (approx 5 mins.)</li>\n<li>Creating prediction (approx 5 mins.)</li>\n</ol>",
      "rawMarkdown": "When running the notebook in the edit section, it took me 40 minutes. But after submitting it should take the same time. Not understanding why this error!!\n\nWhat my notebook is doing :\n\n1. Installing some dependencies  (approx 10 mins.)\n2. Processing data (approx 20 mins.)\n3. Loading models and some other processings (approx 5 mins.)\n4. Creating prediction (approx 5 mins.)",
      "votes": null
    },
    {
      "id": "1345247",
      "postDate": "06/11/2021 12:20:49",
      "content": "<p>I don't know what the specific issue is,</p>\n<p>But could be a gdcm problem.</p>\n<p>You can take inspiration from this notebook : <a href=\"https://www.kaggle.com/farhanhaikhan/random-easy-submission-demo\" target=\"_blank\">https://www.kaggle.com/farhanhaikhan/random-easy-submission-demo</a></p>\n<p>where I demonstrate how to make a submission.</p>",
      "rawMarkdown": "I don't know what the specific issue is,\n\nBut could be a gdcm problem.\n\nYou can take inspiration from this notebook : https://www.kaggle.com/farhanhaikhan/random-easy-submission-demo\n\nwhere I demonstrate how to make a submission.",
      "votes": null
    },
    {
      "id": "1345263",
      "postDate": "06/11/2021 12:46:11",
      "content": "<p>Thanks, <a href=\"https://www.kaggle.com/farhanhaikhan\" target=\"_blank\">@farhanhaikhan</a>, Just found out this was happening due to a quick save of the notebook. Thank you by the way :)</p>",
      "rawMarkdown": "Thanks, @farhanhaikhan, Just found out this was happening due to a quick save of the notebook. Thank you by the way :)",
      "votes": null
    },
    {
      "id": "1345614",
      "postDate": "06/11/2021 17:50:09",
      "content": "<p>Hey.. I am facing similar issue.. can you give some details about what would be the difference between submitting a quick save version of notebook vs save and run all (commit) of notebook and then submitting it.<br>\nThanks in advance!</p>",
      "rawMarkdown": "Hey.. I am facing similar issue.. can you give some details about what would be the difference between submitting a quick save version of notebook vs save and run all (commit) of notebook and then submitting it.\nThanks in advance!",
      "votes": null
    },
    {
      "id": "1345636",
      "postDate": "06/11/2021 18:09:35",
      "content": "<p>A quick save saves the notebook as it is currently displays and show the same in the version update while commit and run makes your notebook execute from the start cell by cell all over again.</p>\n<p>While drafting perform quick saves and when you are finally done try to commit.</p>\n<p>Also, output files will be written in the viewer only with commits.</p>",
      "rawMarkdown": "A quick save saves the notebook as it is currently displays and show the same in the version update while commit and run makes your notebook execute from the start cell by cell all over again.\n\nWhile drafting perform quick saves and when you are finally done try to commit.\n\nAlso, output files will be written in the viewer only with commits.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1345112,
      "author_name": "farhanhaikhan",
      "author_url": "",
      "post_date": "06/11/2021 10:17:02",
      "content": "<p>The Runtime Limit for the Competition is 8hrs. Does your Notebook takes longer than that to run?</p>\n<p>You are probably training inside that notebook. Make sure you save a model somewhere else first and then perform inference from your trained model in the submission notebook.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1345128,
          "author_name": "sagnik1511",
          "author_url": "",
          "post_date": "06/11/2021 10:38:38",
          "content": "<p>When running the notebook in the edit section, it took me 40 minutes. But after submitting it should take the same time. Not understanding why this error!!</p>\n<p>What my notebook is doing :</p>\n<ol>\n<li>Installing some dependencies  (approx 10 mins.)</li>\n<li>Processing data (approx 20 mins.)</li>\n<li>Loading models and some other processings (approx 5 mins.)</li>\n<li>Creating prediction (approx 5 mins.)</li>\n</ol>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1345247,
          "author_name": "farhanhaikhan",
          "author_url": "",
          "post_date": "06/11/2021 12:20:49",
          "content": "<p>I don't know what the specific issue is,</p>\n<p>But could be a gdcm problem.</p>\n<p>You can take inspiration from this notebook : <a href=\"https://www.kaggle.com/farhanhaikhan/random-easy-submission-demo\" target=\"_blank\">https://www.kaggle.com/farhanhaikhan/random-easy-submission-demo</a></p>\n<p>where I demonstrate how to make a submission.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1345263,
          "author_name": "sagnik1511",
          "author_url": "",
          "post_date": "06/11/2021 12:46:11",
          "content": "<p>Thanks, <a href=\"https://www.kaggle.com/farhanhaikhan\" target=\"_blank\">@farhanhaikhan</a>, Just found out this was happening due to a quick save of the notebook. Thank you by the way :)</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1345614,
          "author_name": "ansh422",
          "author_url": "",
          "post_date": "06/11/2021 17:50:09",
          "content": "<p>Hey.. I am facing similar issue.. can you give some details about what would be the difference between submitting a quick save version of notebook vs save and run all (commit) of notebook and then submitting it.<br>\nThanks in advance!</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1345636,
          "author_name": "farhanhaikhan",
          "author_url": "",
          "post_date": "06/11/2021 18:09:35",
          "content": "<p>A quick save saves the notebook as it is currently displays and show the same in the version update while commit and run makes your notebook execute from the start cell by cell all over again.</p>\n<p>While drafting perform quick saves and when you are finally done try to commit.</p>\n<p>Also, output files will be written in the viewer only with commits.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1343182": "When I run my notebook in a normal kaggle kernel, it took about 40 minutes to complete. But when I submitted that to the competition, it runs for too much time and showed Notebook runtime in the submissions.\n\nWhat to do??\nAnybody, please help!",
    "1345112": "The Runtime Limit for the Competition is 8hrs. Does your Notebook takes longer than that to run?\n\nYou are probably training inside that notebook. Make sure you save a model somewhere else first and then perform inference from your trained model in the submission notebook.",
    "1345128": "When running the notebook in the edit section, it took me 40 minutes. But after submitting it should take the same time. Not understanding why this error!!\n\nWhat my notebook is doing :\n\n1. Installing some dependencies  (approx 10 mins.)\n2. Processing data (approx 20 mins.)\n3. Loading models and some other processings (approx 5 mins.)\n4. Creating prediction (approx 5 mins.)",
    "1345247": "I don't know what the specific issue is,\n\nBut could be a gdcm problem.\n\nYou can take inspiration from this notebook : https://www.kaggle.com/farhanhaikhan/random-easy-submission-demo\n\nwhere I demonstrate how to make a submission.",
    "1345263": "Thanks, @farhanhaikhan, Just found out this was happening due to a quick save of the notebook. Thank you by the way :)",
    "1345614": "Hey.. I am facing similar issue.. can you give some details about what would be the difference between submitting a quick save version of notebook vs save and run all (commit) of notebook and then submitting it.\nThanks in advance!",
    "1345636": "A quick save saves the notebook as it is currently displays and show the same in the version update while commit and run makes your notebook execute from the start cell by cell all over again.\n\nWhile drafting perform quick saves and when you are finally done try to commit.\n\nAlso, output files will be written in the viewer only with commits."
  },
  "source": "meta"
}