{
  "id": 181100,
  "title": "why my kaggle gpu is not being used?",
  "url": "/competitions/landmark-recognition-2020/discussion/181100",
  "author_name": "",
  "post_date": "2020-09-07T15:36:04.367793600Z",
  "votes": null,
  "comment_count": 3,
  "views": 0,
  "content": "<p>I chose GPU accelerator in my kaggle notebook, but when I run a cell to train a CNN model for images. I see only cpu usage, gpu usage is zero. What should I do to use gpu to do computations.<br>\nI have attached the screenshot of my notebook .</p>",
  "messages": [
    {
      "id": "1001806",
      "postDate": "09/07/2020 15:36:04",
      "content": "<p>I chose GPU accelerator in my kaggle notebook, but when I run a cell to train a CNN model for images. I see only cpu usage, gpu usage is zero. What should I do to use gpu to do computations.<br>\nI have attached the screenshot of my notebook .</p>",
      "rawMarkdown": "I chose GPU accelerator in my kaggle notebook, but when I run a cell to train a CNN model for images. I see only cpu usage, gpu usage is zero. What should I do to use gpu to do computations.\nI have attached the screenshot of my notebook .",
      "votes": null
    },
    {
      "id": "1001812",
      "postDate": "09/07/2020 15:42:36",
      "content": "<p>Hi! <a href=\"https://www.kaggle.com/karan23258\" target=\"_blank\">@karan23258</a>, Try to see if increasing the Batch Size has an impact. I think the GPU it's been used but maybe allocating not that much memory. Click also the metrics menu to see more details of the GPU usage.</p>",
      "rawMarkdown": "Hi! @karan23258, Try to see if increasing the Batch Size has an impact. I think the GPU it's been used but maybe allocating not that much memory. Click also the metrics menu to see more details of the GPU usage.",
      "votes": null
    },
    {
      "id": "1002328",
      "postDate": "09/08/2020 04:00:47",
      "content": "<p>Yeah, when I increased the batch size to 500, it showed a little gpu usage.<br>\nThanks</p>",
      "rawMarkdown": "Yeah, when I increased the batch size to 500, it showed a little gpu usage.\nThanks",
      "votes": null
    },
    {
      "id": "1002376",
      "postDate": "09/08/2020 04:55:45",
      "content": "<p>For training 80% of train data, with epochs = 5, my model is taking almost 15 hours. Is it ok or it's more. Could you please tell how much time it's taking by your model for training.</p>",
      "rawMarkdown": "For training 80% of train data, with epochs = 5, my model is taking almost 15 hours. Is it ok or it's more. Could you please tell how much time it's taking by your model for training.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1001812,
      "author_name": "cv13j0",
      "author_url": "",
      "post_date": "09/07/2020 15:42:36",
      "content": "<p>Hi! <a href=\"https://www.kaggle.com/karan23258\" target=\"_blank\">@karan23258</a>, Try to see if increasing the Batch Size has an impact. I think the GPU it's been used but maybe allocating not that much memory. Click also the metrics menu to see more details of the GPU usage.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1002328,
          "author_name": "karan23258",
          "author_url": "",
          "post_date": "09/08/2020 04:00:47",
          "content": "<p>Yeah, when I increased the batch size to 500, it showed a little gpu usage.<br>\nThanks</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1002376,
          "author_name": "karan23258",
          "author_url": "",
          "post_date": "09/08/2020 04:55:45",
          "content": "<p>For training 80% of train data, with epochs = 5, my model is taking almost 15 hours. Is it ok or it's more. Could you please tell how much time it's taking by your model for training.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1001806": "I chose GPU accelerator in my kaggle notebook, but when I run a cell to train a CNN model for images. I see only cpu usage, gpu usage is zero. What should I do to use gpu to do computations.\nI have attached the screenshot of my notebook .",
    "1001812": "Hi! @karan23258, Try to see if increasing the Batch Size has an impact. I think the GPU it's been used but maybe allocating not that much memory. Click also the metrics menu to see more details of the GPU usage.",
    "1002328": "Yeah, when I increased the batch size to 500, it showed a little gpu usage.\nThanks",
    "1002376": "For training 80% of train data, with epochs = 5, my model is taking almost 15 hours. Is it ok or it's more. Could you please tell how much time it's taking by your model for training."
  },
  "source": "meta"
}