{
  "id": 199145,
  "title": "The notebook tried to allocate more memory than available",
  "url": "/competitions/cassava-leaf-disease-classification/discussion/199145",
  "author_name": "",
  "post_date": "2020-11-24T16:06:51.559977900Z",
  "votes": 4,
  "comment_count": 3,
  "views": 0,
  "content": "<p>I'm trying to implement a CNN model using all the train images available, but I can't go over 250x250 for the resolution of the picture, otherwise it crashed. Do you guys have the same problems, how do you manage to resolve this problem? </p>",
  "messages": [
    {
      "id": "1089580",
      "postDate": "11/24/2020 16:06:51",
      "content": "<p>I'm trying to implement a CNN model using all the train images available, but I can't go over 250x250 for the resolution of the picture, otherwise it crashed. Do you guys have the same problems, how do you manage to resolve this problem? </p>",
      "rawMarkdown": "I'm trying to implement a CNN model using all the train images available, but I can't go over 250x250 for the resolution of the picture, otherwise it crashed. Do you guys have the same problems, how do you manage to resolve this problem?",
      "votes": null
    },
    {
      "id": "1089602",
      "postDate": "11/24/2020 16:19:14",
      "content": "<p>Presumably use a generator/tfrecords of some type rather than try and keep all images in memory at once.</p>\n<p>Lower your batch size</p>",
      "rawMarkdown": "Presumably use a generator/tfrecords of some type rather than try and keep all images in memory at once.\n\nLower your batch size",
      "votes": null
    },
    {
      "id": "1089653",
      "postDate": "11/24/2020 16:52:48",
      "content": "<p>Thank you:)</p>",
      "rawMarkdown": "Thank you:)",
      "votes": null
    },
    {
      "id": "1091237",
      "postDate": "11/25/2020 22:10:28",
      "content": "<p>When testing, if you use more than 250x250 images, you will not only crash, but will also have a timeout error when you submit your grades.</p>",
      "rawMarkdown": "When testing, if you use more than 250x250 images, you will not only crash, but will also have a timeout error when you submit your grades.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1089602,
      "author_name": "richardepstein",
      "author_url": "",
      "post_date": "11/24/2020 16:19:14",
      "content": "<p>Presumably use a generator/tfrecords of some type rather than try and keep all images in memory at once.</p>\n<p>Lower your batch size</p>",
      "votes": null,
      "replies": [
        {
          "id": 1089653,
          "author_name": "domizianostingi",
          "author_url": "",
          "post_date": "11/24/2020 16:52:48",
          "content": "<p>Thank you:)</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1091237,
      "author_name": "zhangeng",
      "author_url": "",
      "post_date": "11/25/2020 22:10:28",
      "content": "<p>When testing, if you use more than 250x250 images, you will not only crash, but will also have a timeout error when you submit your grades.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1089580": "I'm trying to implement a CNN model using all the train images available, but I can't go over 250x250 for the resolution of the picture, otherwise it crashed. Do you guys have the same problems, how do you manage to resolve this problem?",
    "1089602": "Presumably use a generator/tfrecords of some type rather than try and keep all images in memory at once.\n\nLower your batch size",
    "1089653": "Thank you:)",
    "1091237": "When testing, if you use more than 250x250 images, you will not only crash, but will also have a timeout error when you submit your grades."
  },
  "source": "meta"
}