{
  "id": 453841,
  "title": "Notebook keeps throwing exceptions? Why?",
  "url": "/competitions/UBC-OCEAN/discussion/453841",
  "author_name": "阳光开朗大男孩",
  "post_date": "2023-11-08T00:54:57.186000",
  "votes": 2,
  "comment_count": 7,
  "views": 0,
  "content": "<p>My notebook: <a href=\"https://www.kaggle.com/code/wqx20000115/ubc-ocean-patch-sub/notebook\" target=\"_blank\">here</a></p>\n<ul>\n<li>I'm using tile/patch-based method.</li>\n<li>I tried all possible solutions in the Discussion, failed;</li>\n<li>I compared my log messages with those of successful submissions and there is no significant difference;</li>\n<li>Everything works fine when not submitting, after submitting it fails almost as soon as scoring starts;<br>\nAny help and tips are greatly appreciated!</li>\n</ul>",
  "messages": [
    {
      "id": 2523926,
      "postDate": "2023-11-13T21:09:10.633Z",
      "content": "<p>I am having this error. I ran my inference code on all of the train images. Found out that the way I'm removing background images are too aggressive sometimes and removes all the images, (e.g. image 37385.png), which throws an exception.</p>",
      "rawMarkdown": "I am having this error. I ran my inference code on all of the train images. Found out that the way I'm removing background images are too aggressive sometimes and removes all the images, (e.g. image 37385.png), which throws an exception.",
      "votes": 2,
      "replies": [
        {
          "id": 2524031,
          "postDate": "2023-11-14T00:03:23.537Z",
          "content": "<p>Thanks, I think that's the most likely cause at the moment😂, but I've turned to <a href=\"https://www.kaggle.com/code/jirkaborovec/cancer-subtype-lightning-torch-inference-tiles\" target=\"_blank\">this</a> GREAT notebook and it works fine!</p>",
          "rawMarkdown": "Thanks, I think that's the most likely cause at the moment😂, but I've turned to [this](https://www.kaggle.com/code/jirkaborovec/cancer-subtype-lightning-torch-inference-tiles) GREAT notebook and it works fine!",
          "votes": 1
        }
      ]
    },
    {
      "id": 2516791,
      "postDate": "2023-11-08T00:54:57.187Z",
      "content": "<p>My notebook: <a href=\"https://www.kaggle.com/code/wqx20000115/ubc-ocean-patch-sub/notebook\" target=\"_blank\">here</a></p>\n<ul>\n<li>I'm using tile/patch-based method.</li>\n<li>I tried all possible solutions in the Discussion, failed;</li>\n<li>I compared my log messages with those of successful submissions and there is no significant difference;</li>\n<li>Everything works fine when not submitting, after submitting it fails almost as soon as scoring starts;<br>\nAny help and tips are greatly appreciated!</li>\n</ul>",
      "rawMarkdown": "My notebook: [here](https://www.kaggle.com/code/wqx20000115/ubc-ocean-patch-sub/notebook)\n- I'm using tile/patch-based method.\n- I tried all possible solutions in the Discussion, failed;\n- I compared my log messages with those of successful submissions and there is no significant difference;\n- Everything works fine when not submitting, after submitting it fails almost as soon as scoring starts;\nAny help and tips are greatly appreciated!",
      "votes": 2
    },
    {
      "id": 2526021,
      "postDate": "2023-11-15T14:40:59.913Z",
      "content": "<p>Me too experiencing the same problem with tiles/patches. </p>",
      "rawMarkdown": "Me too experiencing the same problem with tiles/patches. "
    },
    {
      "id": 2524794,
      "postDate": "2023-11-14T14:34:18.880Z",
      "content": "<p>I'm struggling about same problem too…</p>",
      "rawMarkdown": "I'm struggling about same problem too..."
    },
    {
      "id": 2523306,
      "postDate": "2023-11-13T12:05:12.263Z",
      "content": "<p>Hello, I'm experiencing the same problem. It works fine when I run the prediction code but the submission fails. I just wanted to know If the exception is solved, and how have you been able to fix it?</p>\n<p>I would also like to know if I can share snippet of the predicition code along with the logs</p>",
      "rawMarkdown": "Hello, I'm experiencing the same problem. It works fine when I run the prediction code but the submission fails. I just wanted to know If the exception is solved, and how have you been able to fix it?\n\nI would also like to know if I can share snippet of the predicition code along with the logs",
      "replies": [
        {
          "id": 2524034,
          "postDate": "2023-11-14T00:07:19.633Z",
          "content": "<p>Hi, maybe you could try the latest reply by Tahsin, I'm tired of debugging and have turned to <a href=\"https://www.kaggle.com/code/jirkaborovec/cancer-subtype-lightning-torch-inference-tiles\" target=\"_blank\">this</a> GREAT notebook and it works fine!😂</p>",
          "rawMarkdown": "Hi, maybe you could try the latest reply by Tahsin, I'm tired of debugging and have turned to [this](https://www.kaggle.com/code/jirkaborovec/cancer-subtype-lightning-torch-inference-tiles) GREAT notebook and it works fine!😂"
        }
      ]
    },
    {
      "id": 2516824,
      "postDate": "2023-11-08T02:08:32.043Z",
      "content": "<p>It's challenging to provide specific advice without more details, but debugging exceptions in your notebook might involve checking data preprocessing, dependencies, and resource limitations.</p>",
      "rawMarkdown": "It's challenging to provide specific advice without more details, but debugging exceptions in your notebook might involve checking data preprocessing, dependencies, and resource limitations."
    }
  ],
  "comments": [
    {
      "id": 2523926,
      "author_name": "Tahsin",
      "author_url": "",
      "post_date": "2023-11-13T21:09:10.633000",
      "content": "<p>I am having this error. I ran my inference code on all of the train images. Found out that the way I'm removing background images are too aggressive sometimes and removes all the images, (e.g. image 37385.png), which throws an exception.</p>",
      "votes": 2,
      "replies": [
        {
          "id": 2524031,
          "author_name": "阳光开朗大男孩",
          "author_url": "",
          "post_date": "2023-11-14T00:03:23.537000",
          "content": "<p>Thanks, I think that's the most likely cause at the moment😂, but I've turned to <a href=\"https://www.kaggle.com/code/jirkaborovec/cancer-subtype-lightning-torch-inference-tiles\" target=\"_blank\">this</a> GREAT notebook and it works fine!</p>",
          "votes": 1,
          "replies": []
        }
      ]
    },
    {
      "id": 2526021,
      "author_name": "samu2505",
      "author_url": "",
      "post_date": "2023-11-15T14:40:59.913000",
      "content": "<p>Me too experiencing the same problem with tiles/patches. </p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 2524794,
      "author_name": "Donghyun Koh",
      "author_url": "",
      "post_date": "2023-11-14T14:34:18.880000",
      "content": "<p>I'm struggling about same problem too…</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 2523306,
      "author_name": "habeeb hassan",
      "author_url": "",
      "post_date": "2023-11-13T12:05:12.263000",
      "content": "<p>Hello, I'm experiencing the same problem. It works fine when I run the prediction code but the submission fails. I just wanted to know If the exception is solved, and how have you been able to fix it?</p>\n<p>I would also like to know if I can share snippet of the predicition code along with the logs</p>",
      "votes": 0,
      "replies": [
        {
          "id": 2524034,
          "author_name": "阳光开朗大男孩",
          "author_url": "",
          "post_date": "2023-11-14T00:07:19.633000",
          "content": "<p>Hi, maybe you could try the latest reply by Tahsin, I'm tired of debugging and have turned to <a href=\"https://www.kaggle.com/code/jirkaborovec/cancer-subtype-lightning-torch-inference-tiles\" target=\"_blank\">this</a> GREAT notebook and it works fine!😂</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 2516824,
      "author_name": "Bhavesh Padharia",
      "author_url": "",
      "post_date": "2023-11-08T02:08:32.043000",
      "content": "<p>It's challenging to provide specific advice without more details, but debugging exceptions in your notebook might involve checking data preprocessing, dependencies, and resource limitations.</p>",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2523926": "I am having this error. I ran my inference code on all of the train images. Found out that the way I'm removing background images are too aggressive sometimes and removes all the images, (e.g. image 37385.png), which throws an exception.",
    "2516791": "My notebook: [here](https://www.kaggle.com/code/wqx20000115/ubc-ocean-patch-sub/notebook)\n- I'm using tile/patch-based method.\n- I tried all possible solutions in the Discussion, failed;\n- I compared my log messages with those of successful submissions and there is no significant difference;\n- Everything works fine when not submitting, after submitting it fails almost as soon as scoring starts;\nAny help and tips are greatly appreciated!",
    "2526021": "Me too experiencing the same problem with tiles/patches. ",
    "2524794": "I'm struggling about same problem too...",
    "2523306": "Hello, I'm experiencing the same problem. It works fine when I run the prediction code but the submission fails. I just wanted to know If the exception is solved, and how have you been able to fix it?\n\nI would also like to know if I can share snippet of the predicition code along with the logs",
    "2516824": "It's challenging to provide specific advice without more details, but debugging exceptions in your notebook might involve checking data preprocessing, dependencies, and resource limitations."
  }
}