{
  "id": 132046,
  "title": "Error when committing new kernel",
  "url": "/competitions/bengaliai-cv19/discussion/132046",
  "author_name": "",
  "post_date": "2020-02-23T16:20:36.580028300Z",
  "votes": null,
  "comment_count": 11,
  "views": 0,
  "content": "<p>I've just created a new kernel. When I ran it in a interactive session it runs flawlessly however when I 'Commit' the kernel then I get the following error after about 2 minutes.</p>\n\n<p>Has anyone encountered this error before? Also the code should be ok as I copied it over manually from another kernel. I want to create a fresh kernel without history.</p>\n\n<p>Any help or advice would be appreciated.</p>\n\n<p>UPDATED: Ok problem already solved....for whatever reason it is caused by using tqdm...so removed it.</p>\n\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1073620%2F1df39b5fedd702af367b1ae7edf5199d%2Ferror.PNG?generation=1582474745908294&amp;alt=media\" alt=\"\"></p>",
  "messages": [
    {
      "id": "754492",
      "postDate": "02/23/2020 16:20:36",
      "content": "<p>I've just created a new kernel. When I ran it in a interactive session it runs flawlessly however when I 'Commit' the kernel then I get the following error after about 2 minutes.</p>\n\n<p>Has anyone encountered this error before? Also the code should be ok as I copied it over manually from another kernel. I want to create a fresh kernel without history.</p>\n\n<p>Any help or advice would be appreciated.</p>\n\n<p>UPDATED: Ok problem already solved....for whatever reason it is caused by using tqdm...so removed it.</p>\n\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1073620%2F1df39b5fedd702af367b1ae7edf5199d%2Ferror.PNG?generation=1582474745908294&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "I've just created a new kernel. When I ran it in a interactive session it runs flawlessly however when I 'Commit' the kernel then I get the following error after about 2 minutes.\n\nHas anyone encountered this error before? Also the code should be ok as I copied it over manually from another kernel. I want to create a fresh kernel without history.\n\nAny help or advice would be appreciated.\n\nUPDATED: Ok problem already solved....for whatever reason it is caused by using tqdm...so removed it.\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1073620%2F1df39b5fedd702af367b1ae7edf5199d%2Ferror.PNG?generation=1582474745908294&amp;alt=media)",
      "votes": null
    },
    {
      "id": "754551",
      "postDate": "02/23/2020 18:12:07",
      "content": "<p>Yes i have encountered similar problem, this was occurred due to usage of tqdm library in my iteration(for loop).</p>",
      "rawMarkdown": "Yes i have encountered similar problem, this was occurred due to usage of tqdm library in my iteration(for loop).",
      "votes": null
    },
    {
      "id": "754584",
      "postDate": "02/23/2020 19:22:02",
      "content": "<p>Hi @alex thanks yes although it is weired as I have other kernels with tqdm that don't have the problem.\nI haven't been able to find out the difference.</p>",
      "rawMarkdown": "Hi @alex thanks yes although it is weired as I have other kernels with tqdm that don't have the problem.\nI haven't been able to find out the difference.",
      "votes": null
    },
    {
      "id": "754653",
      "postDate": "02/23/2020 22:01:16",
      "content": "<p>The exact same thing happened to me- same problem, same solution. Seems that the jupyter plugins that tqdm invokes cause the error. Also, ploty might cause the same issue: <a href=\"https://www.kaggle.com/product-feedback/131993\">https://www.kaggle.com/product-feedback/131993</a></p>",
      "rawMarkdown": "The exact same thing happened to me- same problem, same solution. Seems that the jupyter plugins that tqdm invokes cause the error. Also, ploty might cause the same issue: https://www.kaggle.com/product-feedback/131993",
      "votes": null
    },
    {
      "id": "754655",
      "postDate": "02/23/2020 22:07:50",
      "content": "<p><a href=\"/rsmits\">@rsmits</a> Hi, I am new to this way of submitting. Is it possible to see how looks your kernel (excepted if your whole solution is in) ?</p>",
      "rawMarkdown": "rsmits Hi, I am new to this way of submitting. Is it possible to see how looks your kernel (excepted if your whole solution is in) ?",
      "votes": null
    },
    {
      "id": "754665",
      "postDate": "02/23/2020 22:42:57",
      "content": "<p>Hi <a href=\"/johnnyhalliday\">@johnnyhalliday</a> Yes you can take a look at any kernel in this competition that has a score to see how to submit in the correct way. The kernel I had the initial errors with was the following <a href=\"https://www.kaggle.com/rsmits/keras-efficientnet-b3-training-inference\">kernel</a>. Good luck with the competition.</p>",
      "rawMarkdown": "Hi @johnnyhalliday Yes you can take a look at any kernel in this competition that has a score to see how to submit in the correct way. The kernel I had the initial errors with was the following [kernel](https://www.kaggle.com/rsmits/keras-efficientnet-b3-training-inference). Good luck with the competition.",
      "votes": null
    },
    {
      "id": "754666",
      "postDate": "02/23/2020 22:44:17",
      "content": "<p>Interresting indeed. It suprises me that it appears to be random. I have plenty of other kernels using tqdm that work without any error. Thanks for the link.</p>",
      "rawMarkdown": "Interresting indeed. It suprises me that it appears to be random. I have plenty of other kernels using tqdm that work without any error. Thanks for the link.",
      "votes": null
    },
    {
      "id": "754709",
      "postDate": "02/24/2020 00:28:32",
      "content": "<p>Oh my goodness <a href=\"/rsmits\">@rsmits</a>, I was up to version-10 of my inference kernel with this error before I saw your post. I was so convinced it was some kind of OOM error before that and spent sometime debugging it too. Grrrr.</p>",
      "rawMarkdown": "Oh my goodness @rsmits, I was up to version-10 of my inference kernel with this error before I saw your post. I was so convinced it was some kind of OOM error before that and spent sometime debugging it too. Grrrr.",
      "votes": null
    },
    {
      "id": "755014",
      "postDate": "02/24/2020 10:41:40",
      "content": "<p>ah ok sorry, thank you</p>",
      "rawMarkdown": "ah ok sorry, thank you",
      "votes": null
    },
    {
      "id": "755065",
      "postDate": "02/24/2020 11:54:12",
      "content": "<p>No problem :-) Good luck.</p>",
      "rawMarkdown": "No problem :-) Good luck.",
      "votes": null
    },
    {
      "id": "755066",
      "postDate": "02/24/2020 11:55:14",
      "content": "<p>Hi <a href=\"/sheriytm\">@sheriytm</a> I believe it took me 4 versions... and a lot of googling ;-).</p>",
      "rawMarkdown": "Hi @sheriytm I believe it took me 4 versions... and a lot of googling ;-).",
      "votes": null
    },
    {
      "id": "755095",
      "postDate": "02/24/2020 12:28:50",
      "content": "<p>Yeah, it is a hard error to debug especially since the script runs successfully in interactive mode.</p>",
      "rawMarkdown": "Yeah, it is a hard error to debug especially since the script runs successfully in interactive mode.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 754551,
      "author_name": "chandyalex",
      "author_url": "",
      "post_date": "02/23/2020 18:12:07",
      "content": "<p>Yes i have encountered similar problem, this was occurred due to usage of tqdm library in my iteration(for loop).</p>",
      "votes": null,
      "replies": [
        {
          "id": 754584,
          "author_name": "rsmits",
          "author_url": "",
          "post_date": "02/23/2020 19:22:02",
          "content": "<p>Hi @alex thanks yes although it is weired as I have other kernels with tqdm that don't have the problem.\nI haven't been able to find out the difference.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 754653,
      "author_name": "andrewmvd",
      "author_url": "",
      "post_date": "02/23/2020 22:01:16",
      "content": "<p>The exact same thing happened to me- same problem, same solution. Seems that the jupyter plugins that tqdm invokes cause the error. Also, ploty might cause the same issue: <a href=\"https://www.kaggle.com/product-feedback/131993\">https://www.kaggle.com/product-feedback/131993</a></p>",
      "votes": null,
      "replies": [
        {
          "id": 754666,
          "author_name": "rsmits",
          "author_url": "",
          "post_date": "02/23/2020 22:44:17",
          "content": "<p>Interresting indeed. It suprises me that it appears to be random. I have plenty of other kernels using tqdm that work without any error. Thanks for the link.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 754655,
      "author_name": "johnnyhalliday",
      "author_url": "",
      "post_date": "02/23/2020 22:07:50",
      "content": "<p><a href=\"/rsmits\">@rsmits</a> Hi, I am new to this way of submitting. Is it possible to see how looks your kernel (excepted if your whole solution is in) ?</p>",
      "votes": null,
      "replies": [
        {
          "id": 754665,
          "author_name": "rsmits",
          "author_url": "",
          "post_date": "02/23/2020 22:42:57",
          "content": "<p>Hi <a href=\"/johnnyhalliday\">@johnnyhalliday</a> Yes you can take a look at any kernel in this competition that has a score to see how to submit in the correct way. The kernel I had the initial errors with was the following <a href=\"https://www.kaggle.com/rsmits/keras-efficientnet-b3-training-inference\">kernel</a>. Good luck with the competition.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 755014,
          "author_name": "johnnyhalliday",
          "author_url": "",
          "post_date": "02/24/2020 10:41:40",
          "content": "<p>ah ok sorry, thank you</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 755065,
          "author_name": "rsmits",
          "author_url": "",
          "post_date": "02/24/2020 11:54:12",
          "content": "<p>No problem :-) Good luck.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 754709,
      "author_name": "sheriytm",
      "author_url": "",
      "post_date": "02/24/2020 00:28:32",
      "content": "<p>Oh my goodness <a href=\"/rsmits\">@rsmits</a>, I was up to version-10 of my inference kernel with this error before I saw your post. I was so convinced it was some kind of OOM error before that and spent sometime debugging it too. Grrrr.</p>",
      "votes": null,
      "replies": [
        {
          "id": 755066,
          "author_name": "rsmits",
          "author_url": "",
          "post_date": "02/24/2020 11:55:14",
          "content": "<p>Hi <a href=\"/sheriytm\">@sheriytm</a> I believe it took me 4 versions... and a lot of googling ;-).</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 755095,
          "author_name": "sheriytm",
          "author_url": "",
          "post_date": "02/24/2020 12:28:50",
          "content": "<p>Yeah, it is a hard error to debug especially since the script runs successfully in interactive mode.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "754492": "I've just created a new kernel. When I ran it in a interactive session it runs flawlessly however when I 'Commit' the kernel then I get the following error after about 2 minutes.\n\nHas anyone encountered this error before? Also the code should be ok as I copied it over manually from another kernel. I want to create a fresh kernel without history.\n\nAny help or advice would be appreciated.\n\nUPDATED: Ok problem already solved....for whatever reason it is caused by using tqdm...so removed it.\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1073620%2F1df39b5fedd702af367b1ae7edf5199d%2Ferror.PNG?generation=1582474745908294&amp;alt=media)",
    "754551": "Yes i have encountered similar problem, this was occurred due to usage of tqdm library in my iteration(for loop).",
    "754584": "Hi @alex thanks yes although it is weired as I have other kernels with tqdm that don't have the problem.\nI haven't been able to find out the difference.",
    "754653": "The exact same thing happened to me- same problem, same solution. Seems that the jupyter plugins that tqdm invokes cause the error. Also, ploty might cause the same issue: https://www.kaggle.com/product-feedback/131993",
    "754655": "rsmits Hi, I am new to this way of submitting. Is it possible to see how looks your kernel (excepted if your whole solution is in) ?",
    "754665": "Hi @johnnyhalliday Yes you can take a look at any kernel in this competition that has a score to see how to submit in the correct way. The kernel I had the initial errors with was the following [kernel](https://www.kaggle.com/rsmits/keras-efficientnet-b3-training-inference). Good luck with the competition.",
    "754666": "Interresting indeed. It suprises me that it appears to be random. I have plenty of other kernels using tqdm that work without any error. Thanks for the link.",
    "754709": "Oh my goodness @rsmits, I was up to version-10 of my inference kernel with this error before I saw your post. I was so convinced it was some kind of OOM error before that and spent sometime debugging it too. Grrrr.",
    "755014": "ah ok sorry, thank you",
    "755065": "No problem :-) Good luck.",
    "755066": "Hi @sheriytm I believe it took me 4 versions... and a lot of googling ;-).",
    "755095": "Yeah, it is a hard error to debug especially since the script runs successfully in interactive mode."
  },
  "source": "meta"
}