{
  "id": 448100,
  "title": "Notebook Threw Exception",
  "url": "/competitions/UBC-OCEAN/discussion/448100",
  "author_name": "Theo Bervanakis",
  "post_date": "2023-10-18T13:21:56.382000",
  "votes": 1,
  "comment_count": 3,
  "views": 0,
  "content": "<p>Can someone please help identify why my notebook runs successful but then submission fails?<br>\nthanks</p>\n<p><a href=\"https://www.kaggle.com/code/theobervanakis/ubco-submission-fullsize-inference\" target=\"_blank\">kaggle notebook</a></p>",
  "messages": [
    {
      "id": 2488593,
      "postDate": "2023-10-19T11:11:20.967Z",
      "content": "<p>try using thumbnails <a href=\"https://www.kaggle.com/code/theobervanakis/ubco-submission-fullsize-inference?scriptVersionId=147087278&amp;cellId=4\" target=\"_blank\">here</a> . It might be a memory issue, <br>\n<code>test['path'] = test['image_id'].apply(lambda x: f'/kaggle/input/UBC-OCEAN/test_thumbnails/{x}_thumbnail.png')</code></p>",
      "rawMarkdown": "try using thumbnails [here](https://www.kaggle.com/code/theobervanakis/ubco-submission-fullsize-inference?scriptVersionId=147087278&cellId=4) . It might be a memory issue, \n`test['path'] = test['image_id'].apply(lambda x: f'/kaggle/input/UBC-OCEAN/test_thumbnails/{x}_thumbnail.png')`",
      "votes": 1,
      "replies": [
        {
          "id": 2488641,
          "postDate": "2023-10-19T11:43:01.067Z",
          "content": "<p>i can get it working with thumbnail images, but im trying to get a submission with the full sized images, any ideas to avoid memory issues here?</p>",
          "rawMarkdown": "i can get it working with thumbnail images, but im trying to get a submission with the full sized images, any ideas to avoid memory issues here?"
        }
      ]
    },
    {
      "id": 2487247,
      "postDate": "2023-10-18T13:21:56.383Z",
      "content": "<p>Can someone please help identify why my notebook runs successful but then submission fails?<br>\nthanks</p>\n<p><a href=\"https://www.kaggle.com/code/theobervanakis/ubco-submission-fullsize-inference\" target=\"_blank\">kaggle notebook</a></p>",
      "rawMarkdown": "Can someone please help identify why my notebook runs successful but then submission fails?\nthanks\n\n[kaggle notebook](https://www.kaggle.com/code/theobervanakis/ubco-submission-fullsize-inference)",
      "votes": 1
    },
    {
      "id": 2499106,
      "postDate": "2023-10-25T18:24:08.677Z",
      "content": "<p>Have you found a solution on this one? Maybe use pyVips instead of PIL.Image? <br>\n<a href=\"https://www.kaggle.com/code/jirkaborovec/pyvips-load-thumbnail-crop-large-image\" target=\"_blank\">https://www.kaggle.com/code/jirkaborovec/pyvips-load-thumbnail-crop-large-image</a></p>",
      "rawMarkdown": "Have you found a solution on this one? Maybe use pyVips instead of PIL.Image? \nhttps://www.kaggle.com/code/jirkaborovec/pyvips-load-thumbnail-crop-large-image"
    }
  ],
  "comments": [
    {
      "id": 2488593,
      "author_name": "pjmathematician",
      "author_url": "",
      "post_date": "2023-10-19T11:11:20.967000",
      "content": "<p>try using thumbnails <a href=\"https://www.kaggle.com/code/theobervanakis/ubco-submission-fullsize-inference?scriptVersionId=147087278&amp;cellId=4\" target=\"_blank\">here</a> . It might be a memory issue, <br>\n<code>test['path'] = test['image_id'].apply(lambda x: f'/kaggle/input/UBC-OCEAN/test_thumbnails/{x}_thumbnail.png')</code></p>",
      "votes": 1,
      "replies": [
        {
          "id": 2488641,
          "author_name": "Theo Bervanakis",
          "author_url": "",
          "post_date": "2023-10-19T11:43:01.067000",
          "content": "<p>i can get it working with thumbnail images, but im trying to get a submission with the full sized images, any ideas to avoid memory issues here?</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 2499106,
      "author_name": "Patchef",
      "author_url": "",
      "post_date": "2023-10-25T18:24:08.677000",
      "content": "<p>Have you found a solution on this one? Maybe use pyVips instead of PIL.Image? <br>\n<a href=\"https://www.kaggle.com/code/jirkaborovec/pyvips-load-thumbnail-crop-large-image\" target=\"_blank\">https://www.kaggle.com/code/jirkaborovec/pyvips-load-thumbnail-crop-large-image</a></p>",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2488593": "try using thumbnails [here](https://www.kaggle.com/code/theobervanakis/ubco-submission-fullsize-inference?scriptVersionId=147087278&cellId=4) . It might be a memory issue, \n`test['path'] = test['image_id'].apply(lambda x: f'/kaggle/input/UBC-OCEAN/test_thumbnails/{x}_thumbnail.png')`",
    "2487247": "Can someone please help identify why my notebook runs successful but then submission fails?\nthanks\n\n[kaggle notebook](https://www.kaggle.com/code/theobervanakis/ubco-submission-fullsize-inference)",
    "2499106": "Have you found a solution on this one? Maybe use pyVips instead of PIL.Image? \nhttps://www.kaggle.com/code/jirkaborovec/pyvips-load-thumbnail-crop-large-image"
  }
}