{
  "id": 264213,
  "title": "Notebook threw exception ",
  "url": "/competitions/rsna-miccai-brain-tumor-radiogenomic-classification/discussion/264213",
  "author_name": "",
  "post_date": "2021-08-11T11:45:18.419271900Z",
  "votes": 3,
  "comment_count": 7,
  "views": 0,
  "content": "<p>hi , there kind person , nice to meet you . I recently started working on this competition did some submissions , but on one of my submissions the notebook is constantly throwing 'Notebook threw exception error ' , i checked online  but could not solve the problem. I would request you to modify the given code and help me out <br>\nCode :- <a href=\"https://www.kaggle.com/swaralipibose/notebookfa1ff300cb\" target=\"_blank\">https://www.kaggle.com/swaralipibose/notebookfa1ff300cb</a></p>",
  "messages": [
    {
      "id": "1466279",
      "postDate": "08/11/2021 11:45:18",
      "content": "<p>hi , there kind person , nice to meet you . I recently started working on this competition did some submissions , but on one of my submissions the notebook is constantly throwing 'Notebook threw exception error ' , i checked online  but could not solve the problem. I would request you to modify the given code and help me out <br>\nCode :- <a href=\"https://www.kaggle.com/swaralipibose/notebookfa1ff300cb\" target=\"_blank\">https://www.kaggle.com/swaralipibose/notebookfa1ff300cb</a></p>",
      "rawMarkdown": "hi , there kind person , nice to meet you . I recently started working on this competition did some submissions , but on one of my submissions the notebook is constantly throwing 'Notebook threw exception error ' , i checked online  but could not solve the problem. I would request you to modify the given code and help me out \n\nCode :- https://www.kaggle.com/swaralipibose/notebookfa1ff300cb",
      "votes": null
    },
    {
      "id": "1466457",
      "postDate": "08/11/2021 13:26:00",
      "content": "<p>I had the same issue when I used a static df that I generated prior to load PatientID for inference (instead of using the submission file). This is because when we submit the notebook reruns using a subset of PatientID (I think).</p>",
      "rawMarkdown": "I had the same issue when I used a static df that I generated prior to load PatientID for inference (instead of using the submission file). This is because when we submit the notebook reruns using a subset of PatientID (I think).",
      "votes": null
    },
    {
      "id": "1466616",
      "postDate": "08/11/2021 14:37:23",
      "content": "<p>I did not did anything like that , but still thanks for the concern</p>",
      "rawMarkdown": "I did not did anything like that , but still thanks for the concern",
      "votes": null
    },
    {
      "id": "1467584",
      "postDate": "08/12/2021 04:09:52",
      "content": "<p>Hello, just wanted to let you know that you are not the only one with this problem. I also face the same issue and could not resolve it, although I have checked everything looked compatible: the structure, the dtype (float64), the IDs, etc…</p>",
      "rawMarkdown": "Hello, just wanted to let you know that you are not the only one with this problem. I also face the same issue and could not resolve it, although I have checked everything looked compatible: the structure, the dtype (float64), the IDs, etc...",
      "votes": null
    },
    {
      "id": "1470566",
      "postDate": "08/13/2021 15:39:34",
      "content": "<p>Are you able to solve the issue? I am also facing the same.</p>",
      "rawMarkdown": "Are you able to solve the issue? I am also facing the same.",
      "votes": null
    },
    {
      "id": "1471344",
      "postDate": "08/14/2021 06:29:55",
      "content": "<p>No light yet , but i am trying to switch from pytorch efficient net 3d to keras . As i am not that familiar with pytorch and i have already written 3d cnn inference code in keras , which works properly . After all that , my notebook is finally getting scored now.</p>",
      "rawMarkdown": "No light yet , but i am trying to switch from pytorch efficient net 3d to keras . As i am not that familiar with pytorch and i have already written 3d cnn inference code in keras , which works properly . After all that , my notebook is finally getting scored now.",
      "votes": null
    },
    {
      "id": "1488866",
      "postDate": "08/24/2021 14:47:15",
      "content": "<p>In the error page it is written that the error is already available in scripts but i am using notebook , so why is it coming in the first place ?</p>",
      "rawMarkdown": "In the error page it is written that the error is already available in scripts but i am using notebook , so why is it coming in the first place ?",
      "votes": null
    },
    {
      "id": "1489162",
      "postDate": "08/24/2021 18:44:50",
      "content": "<p>maybe it have to do with your BraTS21ID values in the csv file being for example 1 and not 00001 ? <br>\nmaybe change this <br>\n<code>submission = pd.read_csv(f\"{data_directory}/sample_submission.csv\", index_col=\"BraTS21ID\")</code><br>\nto<br>\n<code>submission = pd.read_csv(f\"{data_directory}/sample_submission.csv\", dtype=str)</code><br>\nhope this helps</p>",
      "rawMarkdown": "maybe it have to do with your BraTS21ID values in the csv file being for example 1 and not 00001 ? \nmaybe change this \n`submission = pd.read_csv(f\"{data_directory}/sample_submission.csv\", index_col=\"BraTS21ID\")`\nto\n`submission = pd.read_csv(f\"{data_directory}/sample_submission.csv\", dtype=str)`\nhope this helps",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1466457,
      "author_name": "marshath",
      "author_url": "",
      "post_date": "08/11/2021 13:26:00",
      "content": "<p>I had the same issue when I used a static df that I generated prior to load PatientID for inference (instead of using the submission file). This is because when we submit the notebook reruns using a subset of PatientID (I think).</p>",
      "votes": null,
      "replies": [
        {
          "id": 1466616,
          "author_name": "swaralipibose",
          "author_url": "",
          "post_date": "08/11/2021 14:37:23",
          "content": "<p>I did not did anything like that , but still thanks for the concern</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1470566,
          "author_name": "ninjakx01",
          "author_url": "",
          "post_date": "08/13/2021 15:39:34",
          "content": "<p>Are you able to solve the issue? I am also facing the same.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1471344,
          "author_name": "swaralipibose",
          "author_url": "",
          "post_date": "08/14/2021 06:29:55",
          "content": "<p>No light yet , but i am trying to switch from pytorch efficient net 3d to keras . As i am not that familiar with pytorch and i have already written 3d cnn inference code in keras , which works properly . After all that , my notebook is finally getting scored now.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1467584,
      "author_name": "leobix",
      "author_url": "",
      "post_date": "08/12/2021 04:09:52",
      "content": "<p>Hello, just wanted to let you know that you are not the only one with this problem. I also face the same issue and could not resolve it, although I have checked everything looked compatible: the structure, the dtype (float64), the IDs, etc…</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1488866,
      "author_name": "swaralipibose",
      "author_url": "",
      "post_date": "08/24/2021 14:47:15",
      "content": "<p>In the error page it is written that the error is already available in scripts but i am using notebook , so why is it coming in the first place ?</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1489162,
      "author_name": "zakariaounissi",
      "author_url": "",
      "post_date": "08/24/2021 18:44:50",
      "content": "<p>maybe it have to do with your BraTS21ID values in the csv file being for example 1 and not 00001 ? <br>\nmaybe change this <br>\n<code>submission = pd.read_csv(f\"{data_directory}/sample_submission.csv\", index_col=\"BraTS21ID\")</code><br>\nto<br>\n<code>submission = pd.read_csv(f\"{data_directory}/sample_submission.csv\", dtype=str)</code><br>\nhope this helps</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1466279": "hi , there kind person , nice to meet you . I recently started working on this competition did some submissions , but on one of my submissions the notebook is constantly throwing 'Notebook threw exception error ' , i checked online  but could not solve the problem. I would request you to modify the given code and help me out \n\nCode :- https://www.kaggle.com/swaralipibose/notebookfa1ff300cb",
    "1466457": "I had the same issue when I used a static df that I generated prior to load PatientID for inference (instead of using the submission file). This is because when we submit the notebook reruns using a subset of PatientID (I think).",
    "1466616": "I did not did anything like that , but still thanks for the concern",
    "1467584": "Hello, just wanted to let you know that you are not the only one with this problem. I also face the same issue and could not resolve it, although I have checked everything looked compatible: the structure, the dtype (float64), the IDs, etc...",
    "1470566": "Are you able to solve the issue? I am also facing the same.",
    "1471344": "No light yet , but i am trying to switch from pytorch efficient net 3d to keras . As i am not that familiar with pytorch and i have already written 3d cnn inference code in keras , which works properly . After all that , my notebook is finally getting scored now.",
    "1488866": "In the error page it is written that the error is already available in scripts but i am using notebook , so why is it coming in the first place ?",
    "1489162": "maybe it have to do with your BraTS21ID values in the csv file being for example 1 and not 00001 ? \nmaybe change this \n`submission = pd.read_csv(f\"{data_directory}/sample_submission.csv\", index_col=\"BraTS21ID\")`\nto\n`submission = pd.read_csv(f\"{data_directory}/sample_submission.csv\", dtype=str)`\nhope this helps"
  },
  "source": "meta"
}