{
  "id": 158520,
  "title": "Kaggle NoteBook RAM is exceeding",
  "url": "/competitions/siim-isic-melanoma-classification/discussion/158520",
  "author_name": "",
  "post_date": "2020-06-14T14:15:54.361418100Z",
  "votes": null,
  "comment_count": 5,
  "views": 0,
  "content": "<p>Hi,\nWhen i am trying to read Train JPEG images, RAM Memory is exceeding, Please let me know if there is way to increase RAM size in kaggle notebook. </p>",
  "messages": [
    {
      "id": "885850",
      "postDate": "06/14/2020 14:15:54",
      "content": "<p>Hi,\nWhen i am trying to read Train JPEG images, RAM Memory is exceeding, Please let me know if there is way to increase RAM size in kaggle notebook. </p>",
      "rawMarkdown": "Hi,\nWhen i am trying to read Train JPEG images, RAM Memory is exceeding, Please let me know if there is way to increase RAM size in kaggle notebook.",
      "votes": null
    },
    {
      "id": "885869",
      "postDate": "06/14/2020 14:28:31",
      "content": "<p>Sir, <a href=\"/maheswarareddyp\">@maheswarareddyp</a>  you cant increase RAM size it is fixed. you need to make a data loading pipeline using which you can feed the data for training on-the-fly.\nif you are a tf or Keras user then you can try yo use the <code>ImageDataGenerator()</code> like this <a href=\"https://www.kaggle.com/ibtesama/siim-baseline-keras\">https://www.kaggle.com/ibtesama/siim-baseline-keras</a>\nOr you can use <code>tf.data</code> for loading the images on the fly like this <a href=\"https://www.kaggle.com/soham1024/alaska2-inceptionresnetv2-on-tpus\">https://www.kaggle.com/soham1024/alaska2-inceptionresnetv2-on-tpus</a>\n<a href=\"https://www.kaggle.com/piantic/tf-keras-tpu-burn\">https://www.kaggle.com/piantic/tf-keras-tpu-burn</a></p>\n\n<p>there are some other ways too</p>",
      "rawMarkdown": "Sir, @maheswarareddyp  you cant increase RAM size it is fixed. you need to make a data loading pipeline using which you can feed the data for training on-the-fly.\nif you are a tf or Keras user then you can try yo use the `ImageDataGenerator()` like this https://www.kaggle.com/ibtesama/siim-baseline-keras\nOr you can use `tf.data` for loading the images on the fly like this https://www.kaggle.com/soham1024/alaska2-inceptionresnetv2-on-tpus\nhttps://www.kaggle.com/piantic/tf-keras-tpu-burn\n\nthere are some other ways too",
      "votes": null
    },
    {
      "id": "885887",
      "postDate": "06/14/2020 14:41:08",
      "content": "<p>Thank You so much for your quick reply. Definetly i will look into ImageDataGenerator().\nIn your kernel i liked the way you used, rotation as 20%. i will try that too.\nThanks once again.</p>",
      "rawMarkdown": "Thank You so much for your quick reply. Definetly i will look into ImageDataGenerator().\nIn your kernel i liked the way you used, rotation as 20%. i will try that too.\nThanks once again.",
      "votes": null
    },
    {
      "id": "885897",
      "postDate": "06/14/2020 14:49:47",
      "content": "<p>these were not my kernels sir. but you are right about that.</p>",
      "rawMarkdown": "these were not my kernels sir. but you are right about that.",
      "votes": null
    },
    {
      "id": "885918",
      "postDate": "06/14/2020 15:02:31",
      "content": "<p>Its ok Soumyadip Sarkar, i got some knowledge out of these. I am thankful to you.</p>",
      "rawMarkdown": "Its ok Soumyadip Sarkar, i got some knowledge out of these. I am thankful to you.",
      "votes": null
    },
    {
      "id": "886285",
      "postDate": "06/14/2020 21:39:09",
      "content": "<p><a href=\"https://cs230.stanford.edu/blog/datapipeline/#building-an-image-data-pipeline\">https://cs230.stanford.edu/blog/datapipeline/#building-an-image-data-pipeline</a></p>",
      "rawMarkdown": "https://cs230.stanford.edu/blog/datapipeline/#building-an-image-data-pipeline",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 885869,
      "author_name": "soumya9977",
      "author_url": "",
      "post_date": "06/14/2020 14:28:31",
      "content": "<p>Sir, <a href=\"/maheswarareddyp\">@maheswarareddyp</a>  you cant increase RAM size it is fixed. you need to make a data loading pipeline using which you can feed the data for training on-the-fly.\nif you are a tf or Keras user then you can try yo use the <code>ImageDataGenerator()</code> like this <a href=\"https://www.kaggle.com/ibtesama/siim-baseline-keras\">https://www.kaggle.com/ibtesama/siim-baseline-keras</a>\nOr you can use <code>tf.data</code> for loading the images on the fly like this <a href=\"https://www.kaggle.com/soham1024/alaska2-inceptionresnetv2-on-tpus\">https://www.kaggle.com/soham1024/alaska2-inceptionresnetv2-on-tpus</a>\n<a href=\"https://www.kaggle.com/piantic/tf-keras-tpu-burn\">https://www.kaggle.com/piantic/tf-keras-tpu-burn</a></p>\n\n<p>there are some other ways too</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 885887,
      "author_name": "maheswarareddyp",
      "author_url": "",
      "post_date": "06/14/2020 14:41:08",
      "content": "<p>Thank You so much for your quick reply. Definetly i will look into ImageDataGenerator().\nIn your kernel i liked the way you used, rotation as 20%. i will try that too.\nThanks once again.</p>",
      "votes": null,
      "replies": [
        {
          "id": 885897,
          "author_name": "soumya9977",
          "author_url": "",
          "post_date": "06/14/2020 14:49:47",
          "content": "<p>these were not my kernels sir. but you are right about that.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 885918,
          "author_name": "maheswarareddyp",
          "author_url": "",
          "post_date": "06/14/2020 15:02:31",
          "content": "<p>Its ok Soumyadip Sarkar, i got some knowledge out of these. I am thankful to you.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 886285,
          "author_name": "soumya9977",
          "author_url": "",
          "post_date": "06/14/2020 21:39:09",
          "content": "<p><a href=\"https://cs230.stanford.edu/blog/datapipeline/#building-an-image-data-pipeline\">https://cs230.stanford.edu/blog/datapipeline/#building-an-image-data-pipeline</a></p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "885850": "Hi,\nWhen i am trying to read Train JPEG images, RAM Memory is exceeding, Please let me know if there is way to increase RAM size in kaggle notebook.",
    "885869": "Sir, @maheswarareddyp  you cant increase RAM size it is fixed. you need to make a data loading pipeline using which you can feed the data for training on-the-fly.\nif you are a tf or Keras user then you can try yo use the `ImageDataGenerator()` like this https://www.kaggle.com/ibtesama/siim-baseline-keras\nOr you can use `tf.data` for loading the images on the fly like this https://www.kaggle.com/soham1024/alaska2-inceptionresnetv2-on-tpus\nhttps://www.kaggle.com/piantic/tf-keras-tpu-burn\n\nthere are some other ways too",
    "885887": "Thank You so much for your quick reply. Definetly i will look into ImageDataGenerator().\nIn your kernel i liked the way you used, rotation as 20%. i will try that too.\nThanks once again.",
    "885897": "these were not my kernels sir. but you are right about that.",
    "885918": "Its ok Soumyadip Sarkar, i got some knowledge out of these. I am thankful to you.",
    "886285": "https://cs230.stanford.edu/blog/datapipeline/#building-an-image-data-pipeline"
  },
  "source": "meta"
}