{
  "id": 128159,
  "title": "Notebook Exceeded Allowed Compute",
  "url": "/competitions/bengaliai-cv19/discussion/128159",
  "author_name": "",
  "post_date": "2020-01-29T09:57:03.596820800Z",
  "votes": 3,
  "comment_count": 10,
  "views": 0,
  "content": "<p>Hi,</p>\n\n<p>Me and my partner are separately working on creating different models for grapheme, consonant and vowel. I created a final notebook to collate the outputs and make the submission. I am always getting this error:\nNotebook Exceeded Allowed Compute</p>",
  "messages": [
    {
      "id": "731964",
      "postDate": "01/29/2020 09:57:03",
      "content": "<p>Hi,</p>\n\n<p>Me and my partner are separately working on creating different models for grapheme, consonant and vowel. I created a final notebook to collate the outputs and make the submission. I am always getting this error:\nNotebook Exceeded Allowed Compute</p>",
      "rawMarkdown": "Hi,\n\nMe and my partner are separately working on creating different models for grapheme, consonant and vowel. I created a final notebook to collate the outputs and make the submission. I am always getting this error:\nNotebook Exceeded Allowed Compute",
      "votes": null
    },
    {
      "id": "731976",
      "postDate": "01/29/2020 10:24:25",
      "content": "<p>That's strange, the final notebook should be pretty light, isn't it? Are you running other notebooks at the same time?</p>",
      "rawMarkdown": "That's strange, the final notebook should be pretty light, isn't it? Are you running other notebooks at the same time?",
      "votes": null
    },
    {
      "id": "732734",
      "postDate": "01/30/2020 07:09:53",
      "content": "<p>Now I am getting 'Submission Error' However my file is in the proper format</p>",
      "rawMarkdown": "Now I am getting 'Submission Error' However my file is in the proper format",
      "votes": null
    },
    {
      "id": "733849",
      "postDate": "01/31/2020 15:23:04",
      "content": "<p>I was doing the same thing and getting the same Notebook Exceeded Allowed Compute error message. I submitted a ticket to Kaggle.</p>",
      "rawMarkdown": "I was doing the same thing and getting the same Notebook Exceeded Allowed Compute error message. I submitted a ticket to Kaggle.",
      "votes": null
    },
    {
      "id": "734643",
      "postDate": "02/01/2020 19:10:52",
      "content": "<p>Hi <a href=\"/souviksbhowmik\">@souviksbhowmik</a> You can get that error for 2 main reasons. You exceed the GPU or CPU allowed time. That easy to check...if you get the error earlier then the limit..then thats not the error.</p>\n\n<p>The other main reasons is memory ( I run into that one..no clear error message but it consistently happened after 20 minutes or so) .. So I suspected memory to be an issue.</p>\n\n<p>For the test size a few parquet files needed to be loaded and processed. In my first round of code I loaded a complete test file. Processed it as a whole and then tried to do model.predict for the whole parquet file. For low resolution that can still be done...for higher resolution the kernel memory limit of 16GB is a limit.</p>\n\n<p>I solved it now by loading the parquet files in a loop.. Within that loop I know process an image and then perform the predict on only that image.\nIt is fast and no more memory issues . give it a try.</p>",
      "rawMarkdown": "Hi @souviksbhowmik You can get that error for 2 main reasons. You exceed the GPU or CPU allowed time. That easy to check...if you get the error earlier then the limit..then thats not the error.\n\nThe other main reasons is memory ( I run into that one..no clear error message but it consistently happened after 20 minutes or so) .. So I suspected memory to be an issue.\n\nFor the test size a few parquet files needed to be loaded and processed. In my first round of code I loaded a complete test file. Processed it as a whole and then tried to do model.predict for the whole parquet file. For low resolution that can still be done...for higher resolution the kernel memory limit of 16GB is a limit.\n\nI solved it now by loading the parquet files in a loop.. Within that loop I know process an image and then perform the predict on only that image.\nIt is fast and no more memory issues . give it a try.",
      "votes": null
    },
    {
      "id": "740313",
      "postDate": "02/09/2020 08:15:48",
      "content": "<p>Hi Matt! Did you get any answer?</p>",
      "rawMarkdown": "Hi Matt! Did you get any answer?",
      "votes": null
    },
    {
      "id": "740729",
      "postDate": "02/09/2020 17:47:21",
      "content": "<p>Yeah, Kaggle said we're on our own and tickets are only for issues EVERYONE is experiencing.  Since not everyone is getting this error - in short - figure it out yourself or with your peers lol.</p>",
      "rawMarkdown": "Yeah, Kaggle said we're on our own and tickets are only for issues EVERYONE is experiencing.  Since not everyone is getting this error - in short - figure it out yourself or with your peers lol.",
      "votes": null
    },
    {
      "id": "740732",
      "postDate": "02/09/2020 17:48:58",
      "content": "<p>I'm doing all of this already and I'm still getting the error over and over again.  What was the resolution of your photos?</p>",
      "rawMarkdown": "I'm doing all of this already and I'm still getting the error over and over again.  What was the resolution of your photos?",
      "votes": null
    },
    {
      "id": "744270",
      "postDate": "02/12/2020 17:32:34",
      "content": "<p>I've been having huge issues with this and I couldn't even submit 1's.  So far I found that when I go to reshape the data, that seems to be the breaking point for me.  I created a public notebook related to my findings.\n<a href=\"https://www.kaggle.com/yeayates21/cant-submit-1s-whats-wrong-please-help\">https://www.kaggle.com/yeayates21/cant-submit-1s-whats-wrong-please-help</a></p>",
      "rawMarkdown": "I've been having huge issues with this and I couldn't even submit 1's.  So far I found that when I go to reshape the data, that seems to be the breaking point for me.  I created a public notebook related to my findings.\nhttps://www.kaggle.com/yeayates21/cant-submit-1s-whats-wrong-please-help",
      "votes": null
    },
    {
      "id": "744300",
      "postDate": "02/12/2020 17:56:33",
      "content": "<p>Hi <a href=\"/yeayates21\">@yeayates21</a> Sorry for my late response. I used different resolutions. The largest was 128 * 128. I resolved it by looping through the parquet files and then I resize and predict on 1 test image at a time.</p>\n\n<p>Not the fastest approach...but i is using the least amount of memory. Let me know if I can be of further assistance.</p>",
      "rawMarkdown": "Hi @yeayates21 Sorry for my late response. I used different resolutions. The largest was 128 * 128. I resolved it by looping through the parquet files and then I resize and predict on 1 test image at a time.\n\nNot the fastest approach...but i is using the least amount of memory. Let me know if I can be of further assistance.",
      "votes": null
    },
    {
      "id": "771817",
      "postDate": "03/14/2020 16:58:24",
      "content": "<p>UPDATE:  My issue was that I was trying to use 3 models instead of 1.  Even loading 1 model at a time was causing issues.  Once I switched to using just 1 model, everything worked fine :-/.</p>",
      "rawMarkdown": "UPDATE:  My issue was that I was trying to use 3 models instead of 1.  Even loading 1 model at a time was causing issues.  Once I switched to using just 1 model, everything worked fine :-/.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 731976,
      "author_name": "brunhs",
      "author_url": "",
      "post_date": "01/29/2020 10:24:25",
      "content": "<p>That's strange, the final notebook should be pretty light, isn't it? Are you running other notebooks at the same time?</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 732734,
      "author_name": "souviksbhowmik",
      "author_url": "",
      "post_date": "01/30/2020 07:09:53",
      "content": "<p>Now I am getting 'Submission Error' However my file is in the proper format</p>",
      "votes": null,
      "replies": [
        {
          "id": 733849,
          "author_name": "yeayates21",
          "author_url": "",
          "post_date": "01/31/2020 15:23:04",
          "content": "<p>I was doing the same thing and getting the same Notebook Exceeded Allowed Compute error message. I submitted a ticket to Kaggle.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 740313,
          "author_name": "raufyagfarov",
          "author_url": "",
          "post_date": "02/09/2020 08:15:48",
          "content": "<p>Hi Matt! Did you get any answer?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 740729,
          "author_name": "yeayates21",
          "author_url": "",
          "post_date": "02/09/2020 17:47:21",
          "content": "<p>Yeah, Kaggle said we're on our own and tickets are only for issues EVERYONE is experiencing.  Since not everyone is getting this error - in short - figure it out yourself or with your peers lol.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 771817,
          "author_name": "yeayates21",
          "author_url": "",
          "post_date": "03/14/2020 16:58:24",
          "content": "<p>UPDATE:  My issue was that I was trying to use 3 models instead of 1.  Even loading 1 model at a time was causing issues.  Once I switched to using just 1 model, everything worked fine :-/.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 734643,
      "author_name": "rsmits",
      "author_url": "",
      "post_date": "02/01/2020 19:10:52",
      "content": "<p>Hi <a href=\"/souviksbhowmik\">@souviksbhowmik</a> You can get that error for 2 main reasons. You exceed the GPU or CPU allowed time. That easy to check...if you get the error earlier then the limit..then thats not the error.</p>\n\n<p>The other main reasons is memory ( I run into that one..no clear error message but it consistently happened after 20 minutes or so) .. So I suspected memory to be an issue.</p>\n\n<p>For the test size a few parquet files needed to be loaded and processed. In my first round of code I loaded a complete test file. Processed it as a whole and then tried to do model.predict for the whole parquet file. For low resolution that can still be done...for higher resolution the kernel memory limit of 16GB is a limit.</p>\n\n<p>I solved it now by loading the parquet files in a loop.. Within that loop I know process an image and then perform the predict on only that image.\nIt is fast and no more memory issues . give it a try.</p>",
      "votes": null,
      "replies": [
        {
          "id": 740732,
          "author_name": "yeayates21",
          "author_url": "",
          "post_date": "02/09/2020 17:48:58",
          "content": "<p>I'm doing all of this already and I'm still getting the error over and over again.  What was the resolution of your photos?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 744300,
          "author_name": "rsmits",
          "author_url": "",
          "post_date": "02/12/2020 17:56:33",
          "content": "<p>Hi <a href=\"/yeayates21\">@yeayates21</a> Sorry for my late response. I used different resolutions. The largest was 128 * 128. I resolved it by looping through the parquet files and then I resize and predict on 1 test image at a time.</p>\n\n<p>Not the fastest approach...but i is using the least amount of memory. Let me know if I can be of further assistance.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 744270,
      "author_name": "yeayates21",
      "author_url": "",
      "post_date": "02/12/2020 17:32:34",
      "content": "<p>I've been having huge issues with this and I couldn't even submit 1's.  So far I found that when I go to reshape the data, that seems to be the breaking point for me.  I created a public notebook related to my findings.\n<a href=\"https://www.kaggle.com/yeayates21/cant-submit-1s-whats-wrong-please-help\">https://www.kaggle.com/yeayates21/cant-submit-1s-whats-wrong-please-help</a></p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "731964": "Hi,\n\nMe and my partner are separately working on creating different models for grapheme, consonant and vowel. I created a final notebook to collate the outputs and make the submission. I am always getting this error:\nNotebook Exceeded Allowed Compute",
    "731976": "That's strange, the final notebook should be pretty light, isn't it? Are you running other notebooks at the same time?",
    "732734": "Now I am getting 'Submission Error' However my file is in the proper format",
    "733849": "I was doing the same thing and getting the same Notebook Exceeded Allowed Compute error message. I submitted a ticket to Kaggle.",
    "734643": "Hi @souviksbhowmik You can get that error for 2 main reasons. You exceed the GPU or CPU allowed time. That easy to check...if you get the error earlier then the limit..then thats not the error.\n\nThe other main reasons is memory ( I run into that one..no clear error message but it consistently happened after 20 minutes or so) .. So I suspected memory to be an issue.\n\nFor the test size a few parquet files needed to be loaded and processed. In my first round of code I loaded a complete test file. Processed it as a whole and then tried to do model.predict for the whole parquet file. For low resolution that can still be done...for higher resolution the kernel memory limit of 16GB is a limit.\n\nI solved it now by loading the parquet files in a loop.. Within that loop I know process an image and then perform the predict on only that image.\nIt is fast and no more memory issues . give it a try.",
    "740313": "Hi Matt! Did you get any answer?",
    "740729": "Yeah, Kaggle said we're on our own and tickets are only for issues EVERYONE is experiencing.  Since not everyone is getting this error - in short - figure it out yourself or with your peers lol.",
    "740732": "I'm doing all of this already and I'm still getting the error over and over again.  What was the resolution of your photos?",
    "744270": "I've been having huge issues with this and I couldn't even submit 1's.  So far I found that when I go to reshape the data, that seems to be the breaking point for me.  I created a public notebook related to my findings.\nhttps://www.kaggle.com/yeayates21/cant-submit-1s-whats-wrong-please-help",
    "744300": "Hi @yeayates21 Sorry for my late response. I used different resolutions. The largest was 128 * 128. I resolved it by looping through the parquet files and then I resize and predict on 1 test image at a time.\n\nNot the fastest approach...but i is using the least amount of memory. Let me know if I can be of further assistance.",
    "771817": "UPDATE:  My issue was that I was trying to use 3 models instead of 1.  Even loading 1 model at a time was causing issues.  Once I switched to using just 1 model, everything worked fine :-/."
  },
  "source": "meta"
}