{
  "id": 103422,
  "title": "Resizing Error",
  "url": "/competitions/dogs-vs-cats-redux-kernels-edition/discussion/103422",
  "author_name": "",
  "post_date": "2019-08-09T06:21:00.043109Z",
  "votes": 3,
  "comment_count": 2,
  "views": 0,
  "content": "<p>When I was resizing image from the directory using cv2.resize , I got a resizing error. When I turned off my GPU, the error disappeared. Before turning my GPU off,  I also tried an exception statement in the loop and it worked for me. But what could be the reason behind it. </p>",
  "messages": [
    {
      "id": "595367",
      "postDate": "08/09/2019 06:21:00",
      "content": "<p>When I was resizing image from the directory using cv2.resize , I got a resizing error. When I turned off my GPU, the error disappeared. Before turning my GPU off,  I also tried an exception statement in the loop and it worked for me. But what could be the reason behind it. </p>",
      "rawMarkdown": "When I was resizing image from the directory using cv2.resize , I got a resizing error. When I turned off my GPU, the error disappeared. Before turning my GPU off,  I also tried an exception statement in the loop and it worked for me. But what could be the reason behind it.",
      "votes": null
    },
    {
      "id": "633392",
      "postDate": "09/24/2019 21:07:02",
      "content": "<p>resizing is done by the cpu not the gpu in keras</p>",
      "rawMarkdown": "resizing is done by the cpu not the gpu in keras",
      "votes": null
    },
    {
      "id": "633533",
      "postDate": "09/25/2019 04:47:50",
      "content": "<p>Hi Marcelo,\nI was running out of CPU at that time, since I was using the GPU and CPU parallely. When you use GPU in kaggle, it subtracts the 3GB of Ram from CPU and offers a 3GB GPU in return so that's where I lacked. After turning my GPU off, I managed to get 16GB ram sufficient to execute my notebook. Thanks for your response Marcelo.</p>",
      "rawMarkdown": "Hi Marcelo,\nI was running out of CPU at that time, since I was using the GPU and CPU parallely. When you use GPU in kaggle, it subtracts the 3GB of Ram from CPU and offers a 3GB GPU in return so that's where I lacked. After turning my GPU off, I managed to get 16GB ram sufficient to execute my notebook. Thanks for your response Marcelo.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 633392,
      "author_name": "marcelosanchezortega",
      "author_url": "",
      "post_date": "09/24/2019 21:07:02",
      "content": "<p>resizing is done by the cpu not the gpu in keras</p>",
      "votes": null,
      "replies": [
        {
          "id": 633533,
          "author_name": "wrecked22",
          "author_url": "",
          "post_date": "09/25/2019 04:47:50",
          "content": "<p>Hi Marcelo,\nI was running out of CPU at that time, since I was using the GPU and CPU parallely. When you use GPU in kaggle, it subtracts the 3GB of Ram from CPU and offers a 3GB GPU in return so that's where I lacked. After turning my GPU off, I managed to get 16GB ram sufficient to execute my notebook. Thanks for your response Marcelo.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "595367": "When I was resizing image from the directory using cv2.resize , I got a resizing error. When I turned off my GPU, the error disappeared. Before turning my GPU off,  I also tried an exception statement in the loop and it worked for me. But what could be the reason behind it.",
    "633392": "resizing is done by the cpu not the gpu in keras",
    "633533": "Hi Marcelo,\nI was running out of CPU at that time, since I was using the GPU and CPU parallely. When you use GPU in kaggle, it subtracts the 3GB of Ram from CPU and offers a 3GB GPU in return so that's where I lacked. After turning my GPU off, I managed to get 16GB ram sufficient to execute my notebook. Thanks for your response Marcelo."
  },
  "source": "meta"
}