{
  "id": 338204,
  "title": "Your notebook tried to allocate more memory than is available. It has restarted.",
  "url": "/competitions/mayo-clinic-strip-ai/discussion/338204",
  "author_name": "gaber_geka",
  "post_date": "2022-07-19T16:28:55.198000",
  "votes": 0,
  "comment_count": 3,
  "views": 0,
  "content": "<p>dear all,<br>\nl have an issue when i run my CNN model get error of memoru even i use GPU or not use , how can i prevent  this issue <br>\nthanks</p>",
  "messages": [
    {
      "id": 1863388,
      "postDate": "2022-07-20T10:17:45.883Z",
      "content": "<p>Try reducing batch size. However, I also found that despite reducing input dimension size and batch size, when the largest file in the dataset passes through the model I get OOM. Use pyvips, it takes really less memory space. It also helps prevent memory error while submitting the notebook. </p>",
      "rawMarkdown": "Try reducing batch size. However, I also found that despite reducing input dimension size and batch size, when the largest file in the dataset passes through the model I get OOM. Use pyvips, it takes really less memory space. It also helps prevent memory error while submitting the notebook. ",
      "votes": 1
    },
    {
      "id": 1866448,
      "postDate": "2022-07-22T13:39:35.953Z",
      "content": "<p><a href=\"https://www.kaggle.com/rajatharigasp\" target=\"_blank\">@rajatharigasp</a>  can you give me sample ?</p>",
      "rawMarkdown": "@rajatharigasp  can you give me sample ?\n"
    },
    {
      "id": 1862478,
      "postDate": "2022-07-19T18:14:56.227Z",
      "content": "<p>By reducing the dims of the input images </p>",
      "rawMarkdown": "By reducing the dims of the input images "
    },
    {
      "id": 1862379,
      "postDate": "2022-07-19T16:28:55.200Z",
      "content": "<p>dear all,<br>\nl have an issue when i run my CNN model get error of memoru even i use GPU or not use , how can i prevent  this issue <br>\nthanks</p>",
      "rawMarkdown": "dear all,\nl have an issue when i run my CNN model get error of memoru even i use GPU or not use , how can i prevent  this issue \nthanks\n"
    }
  ],
  "comments": [
    {
      "id": 1863388,
      "author_name": "Rajathariga S P",
      "author_url": "",
      "post_date": "2022-07-20T10:17:45.883000",
      "content": "<p>Try reducing batch size. However, I also found that despite reducing input dimension size and batch size, when the largest file in the dataset passes through the model I get OOM. Use pyvips, it takes really less memory space. It also helps prevent memory error while submitting the notebook. </p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1866448,
      "author_name": "gaber_geka",
      "author_url": "",
      "post_date": "2022-07-22T13:39:35.953000",
      "content": "<p><a href=\"https://www.kaggle.com/rajatharigasp\" target=\"_blank\">@rajatharigasp</a>  can you give me sample ?</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1862478,
      "author_name": "Harsh Bansal",
      "author_url": "",
      "post_date": "2022-07-19T18:14:56.227000",
      "content": "<p>By reducing the dims of the input images </p>",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1863388": "Try reducing batch size. However, I also found that despite reducing input dimension size and batch size, when the largest file in the dataset passes through the model I get OOM. Use pyvips, it takes really less memory space. It also helps prevent memory error while submitting the notebook. ",
    "1866448": "@rajatharigasp  can you give me sample ?\n",
    "1862478": "By reducing the dims of the input images ",
    "1862379": "dear all,\nl have an issue when i run my CNN model get error of memoru even i use GPU or not use , how can i prevent  this issue \nthanks\n"
  }
}