{
  "id": 346506,
  "title": "facing problem to run the notebook in Gpu ",
  "url": "/competitions/mayo-clinic-strip-ai/discussion/346506",
  "author_name": "Amzad Hossain Rafi",
  "post_date": "2022-08-19T21:24:17.025000",
  "votes": 0,
  "comment_count": 3,
  "views": 0,
  "content": "<p>this is my notebook is there anyone who can help me out .. <br>\n<a href=\"https://www.kaggle.com/code/amzadhossainrafi/mayo-clinic\" target=\"_blank\">https://www.kaggle.com/code/amzadhossainrafi/mayo-clinic</a></p>",
  "messages": [
    {
      "id": 1909846,
      "postDate": "2022-08-23T01:40:54.187Z",
      "content": "<p>Hi, I'm no expert on kaggle notebooks, but I couldn't see the problem in your notebook. Could you elaborate what is the issue and where?</p>",
      "rawMarkdown": "Hi, I'm no expert on kaggle notebooks, but I couldn't see the problem in your notebook. Could you elaborate what is the issue and where?",
      "replies": [
        {
          "id": 1910290,
          "postDate": "2022-08-23T10:18:34.067Z",
          "content": "<p>thnq sir for your comment .. actually the problem when ever I tried to train the model  its says  taking to much memory and crashed every time    </p>",
          "rawMarkdown": "thnq sir for your comment .. actually the problem when ever I tried to train the model  its says  taking to much memory and crashed every time    "
        },
        {
          "id": 1910573,
          "postDate": "2022-08-23T14:21:47.843Z",
          "content": "<p>Many of us have got this message working on the image dataset in this competition. I suggest try to limit the file size you read into your code using block 4 of <a href=\"https://www.kaggle.com/code/realneuralnetwork/cnn-strip-ai-inference/notebook?scriptVersionId=100707854\" target=\"_blank\">this</a> notebook. The main issue is that while most images can be read alone, they do not allow intensive RAM utilizing execution along with that. So you will probably have to limit the file size and check how your code works. As a general indication, up to 1.2 Gb should be fine with large CNN models running inference alongside on a GPU. Could be more or less depending on your code's RAM usage.</p>\n<p>Hope this helps. All the best.</p>\n<p>PS. No need for sir here, I'm not sure if anyone here has met the queen  :)</p>",
          "rawMarkdown": "Many of us have got this message working on the image dataset in this competition. I suggest try to limit the file size you read into your code using block 4 of [this](https://www.kaggle.com/code/realneuralnetwork/cnn-strip-ai-inference/notebook?scriptVersionId=100707854) notebook. The main issue is that while most images can be read alone, they do not allow intensive RAM utilizing execution along with that. So you will probably have to limit the file size and check how your code works. As a general indication, up to 1.2 Gb should be fine with large CNN models running inference alongside on a GPU. Could be more or less depending on your code's RAM usage.\n\nHope this helps. All the best.\n\nPS. No need for sir here, I'm not sure if anyone here has met the queen  :)"
        }
      ]
    },
    {
      "id": 1906416,
      "postDate": "2022-08-19T21:24:17.027Z",
      "content": "<p>this is my notebook is there anyone who can help me out .. <br>\n<a href=\"https://www.kaggle.com/code/amzadhossainrafi/mayo-clinic\" target=\"_blank\">https://www.kaggle.com/code/amzadhossainrafi/mayo-clinic</a></p>",
      "rawMarkdown": "this is my notebook is there anyone who can help me out .. \nhttps://www.kaggle.com/code/amzadhossainrafi/mayo-clinic"
    }
  ],
  "comments": [
    {
      "id": 1909846,
      "author_name": "tdiceman",
      "author_url": "",
      "post_date": "2022-08-23T01:40:54.187000",
      "content": "<p>Hi, I'm no expert on kaggle notebooks, but I couldn't see the problem in your notebook. Could you elaborate what is the issue and where?</p>",
      "votes": 0,
      "replies": [
        {
          "id": 1910290,
          "author_name": "Amzad Hossain Rafi",
          "author_url": "",
          "post_date": "2022-08-23T10:18:34.067000",
          "content": "<p>thnq sir for your comment .. actually the problem when ever I tried to train the model  its says  taking to much memory and crashed every time    </p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1910573,
          "author_name": "tdiceman",
          "author_url": "",
          "post_date": "2022-08-23T14:21:47.843000",
          "content": "<p>Many of us have got this message working on the image dataset in this competition. I suggest try to limit the file size you read into your code using block 4 of <a href=\"https://www.kaggle.com/code/realneuralnetwork/cnn-strip-ai-inference/notebook?scriptVersionId=100707854\" target=\"_blank\">this</a> notebook. The main issue is that while most images can be read alone, they do not allow intensive RAM utilizing execution along with that. So you will probably have to limit the file size and check how your code works. As a general indication, up to 1.2 Gb should be fine with large CNN models running inference alongside on a GPU. Could be more or less depending on your code's RAM usage.</p>\n<p>Hope this helps. All the best.</p>\n<p>PS. No need for sir here, I'm not sure if anyone here has met the queen  :)</p>",
          "votes": 0,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1909846": "Hi, I'm no expert on kaggle notebooks, but I couldn't see the problem in your notebook. Could you elaborate what is the issue and where?",
    "1906416": "this is my notebook is there anyone who can help me out .. \nhttps://www.kaggle.com/code/amzadhossainrafi/mayo-clinic"
  }
}