{
  "id": 290795,
  "title": "Notebook Exceeded Allowed Compute",
  "url": "/competitions/tensorflow-great-barrier-reef/discussion/290795",
  "author_name": "",
  "post_date": "2021-11-26T05:47:19.609481300Z",
  "votes": 4,
  "comment_count": 7,
  "views": 0,
  "content": "<p>When I submitted all of my predictions, it says that my notebook exceeded allowed compute? What can I do to fix this type of this problem?</p>",
  "messages": [
    {
      "id": "1595986",
      "postDate": "11/26/2021 05:47:19",
      "content": "<p>When I submitted all of my predictions, it says that my notebook exceeded allowed compute? What can I do to fix this type of this problem?</p>",
      "rawMarkdown": "When I submitted all of my predictions, it says that my notebook exceeded allowed compute? What can I do to fix this type of this problem?",
      "votes": null
    },
    {
      "id": "1596769",
      "postDate": "11/26/2021 20:23:46",
      "content": "<p>This can be the memory or GPU.<br>\nSo, Keep Clearing the Memory , Using the del Statement<br>\nAlong with the gc. collect()<br>\nAnd for GPU, reduce the batch size.</p>",
      "rawMarkdown": "This can be the memory or GPU.\nSo, Keep Clearing the Memory , Using the del Statement\nAlong with the gc. collect()\nAnd for GPU, reduce the batch size.",
      "votes": null
    },
    {
      "id": "1596977",
      "postDate": "11/27/2021 04:25:35",
      "content": "<p>I know, but can you give some examples of how to keep clearing up the memory?</p>",
      "rawMarkdown": "I know, but can you give some examples of how to keep clearing up the memory?",
      "votes": null
    },
    {
      "id": "1597395",
      "postDate": "11/27/2021 13:21:07",
      "content": "<p><a href=\"https://www.kaggle.com/search?q=gc.collect()+in%3Anotebooks+kernelLanguage%3APython+tag%3Atensorflow\" target=\"_blank\">https://www.kaggle.com/search?q=gc.collect()+in%3Anotebooks+kernelLanguage%3APython+tag%3Atensorflow</a></p>",
      "rawMarkdown": "https://www.kaggle.com/search?q=gc.collect()+in%3Anotebooks+kernelLanguage%3APython+tag%3Atensorflow",
      "votes": null
    },
    {
      "id": "1597398",
      "postDate": "11/27/2021 13:23:13",
      "content": "<pre><code>del X_train, X_valid, y_train, y_valid, y_true, y_pred, train_idx, test_idx\n    _ = gc.collect()   \n</code></pre>",
      "rawMarkdown": "```\ndel X_train, X_valid, y_train, y_valid, y_true, y_pred, train_idx, test_idx\n    _ = gc.collect()   \n```",
      "votes": null
    },
    {
      "id": "1597402",
      "postDate": "11/27/2021 13:28:22",
      "content": "<p><a href=\"https://youtu.be/URNdRl97q_0\" target=\"_blank\">https://youtu.be/URNdRl97q_0</a></p>",
      "rawMarkdown": "https://youtu.be/URNdRl97q_0",
      "votes": null
    },
    {
      "id": "1671571",
      "postDate": "02/01/2022 15:06:53",
      "content": "<p>Sir is this problem solved I am getting the same. could you please help?<br>\nNotebook link: <a href=\"https://www.kaggle.com/captainabhijeeth/cots-submission\" target=\"_blank\">https://www.kaggle.com/captainabhijeeth/cots-submission</a></p>",
      "rawMarkdown": "Sir is this problem solved I am getting the same. could you please help?\nNotebook link: https://www.kaggle.com/captainabhijeeth/cots-submission",
      "votes": null
    },
    {
      "id": "1677647",
      "postDate": "02/05/2022 21:35:59",
      "content": "<p>See Faisal Alsrheed's comment.</p>",
      "rawMarkdown": "See Faisal Alsrheed's comment.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1596769,
      "author_name": "faisalalsrheed",
      "author_url": "",
      "post_date": "11/26/2021 20:23:46",
      "content": "<p>This can be the memory or GPU.<br>\nSo, Keep Clearing the Memory , Using the del Statement<br>\nAlong with the gc. collect()<br>\nAnd for GPU, reduce the batch size.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1596977,
          "author_name": "dinowun",
          "author_url": "",
          "post_date": "11/27/2021 04:25:35",
          "content": "<p>I know, but can you give some examples of how to keep clearing up the memory?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1597395,
          "author_name": "faisalalsrheed",
          "author_url": "",
          "post_date": "11/27/2021 13:21:07",
          "content": "<p><a href=\"https://www.kaggle.com/search?q=gc.collect()+in%3Anotebooks+kernelLanguage%3APython+tag%3Atensorflow\" target=\"_blank\">https://www.kaggle.com/search?q=gc.collect()+in%3Anotebooks+kernelLanguage%3APython+tag%3Atensorflow</a></p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1597398,
          "author_name": "faisalalsrheed",
          "author_url": "",
          "post_date": "11/27/2021 13:23:13",
          "content": "<pre><code>del X_train, X_valid, y_train, y_valid, y_true, y_pred, train_idx, test_idx\n    _ = gc.collect()   \n</code></pre>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1597402,
          "author_name": "faisalalsrheed",
          "author_url": "",
          "post_date": "11/27/2021 13:28:22",
          "content": "<p><a href=\"https://youtu.be/URNdRl97q_0\" target=\"_blank\">https://youtu.be/URNdRl97q_0</a></p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1671571,
      "author_name": "captainabhijeeth",
      "author_url": "",
      "post_date": "02/01/2022 15:06:53",
      "content": "<p>Sir is this problem solved I am getting the same. could you please help?<br>\nNotebook link: <a href=\"https://www.kaggle.com/captainabhijeeth/cots-submission\" target=\"_blank\">https://www.kaggle.com/captainabhijeeth/cots-submission</a></p>",
      "votes": null,
      "replies": [
        {
          "id": 1677647,
          "author_name": "dinowun",
          "author_url": "",
          "post_date": "02/05/2022 21:35:59",
          "content": "<p>See Faisal Alsrheed's comment.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1595986": "When I submitted all of my predictions, it says that my notebook exceeded allowed compute? What can I do to fix this type of this problem?",
    "1596769": "This can be the memory or GPU.\nSo, Keep Clearing the Memory , Using the del Statement\nAlong with the gc. collect()\nAnd for GPU, reduce the batch size.",
    "1596977": "I know, but can you give some examples of how to keep clearing up the memory?",
    "1597395": "https://www.kaggle.com/search?q=gc.collect()+in%3Anotebooks+kernelLanguage%3APython+tag%3Atensorflow",
    "1597398": "```\ndel X_train, X_valid, y_train, y_valid, y_true, y_pred, train_idx, test_idx\n    _ = gc.collect()   \n```",
    "1597402": "https://youtu.be/URNdRl97q_0",
    "1671571": "Sir is this problem solved I am getting the same. could you please help?\nNotebook link: https://www.kaggle.com/captainabhijeeth/cots-submission",
    "1677647": "See Faisal Alsrheed's comment."
  },
  "source": "meta"
}