{
  "id": 510349,
  "title": "Error in submission (Help needed)",
  "url": "/competitions/rsna-2024-lumbar-spine-degenerative-classification/discussion/510349",
  "author_name": "Shubham Singh",
  "post_date": "2024-06-05T20:19:41.068000",
  "votes": 1,
  "comment_count": 9,
  "views": 0,
  "content": "<p>I am trying to submit my notebook to the competition, which runs fine when I run and save all but while submitting it is not working fine. Can somebody please help me debug it?</p>\n<p>Notebook link: <a href=\"https://www.kaggle.com/code/shubhamcodez/rsna-resnet-starter-notebook?kernelSessionId=181703193\" target=\"_blank\">https://www.kaggle.com/code/shubhamcodez/rsna-resnet-starter-notebook?kernelSessionId=181703193</a></p>",
  "messages": [
    {
      "id": 2858851,
      "postDate": "2024-06-06T17:09:45.083Z",
      "content": "<p>There are three orientation type and some study-id doesn't have all three orientation type. If you are individually modelling three type of orientation. Then submission might not have some rows.</p>",
      "rawMarkdown": "There are three orientation type and some study-id doesn't have all three orientation type. If you are individually modelling three type of orientation. Then submission might not have some rows.",
      "votes": 1,
      "replies": [
        {
          "id": 2858985,
          "postDate": "2024-06-06T18:31:55.037Z",
          "content": "<p>I am creating them based on search, so I don't think it should be problem. Could you take a look?<br>\nThank you</p>",
          "rawMarkdown": "I am creating them based on search, so I don't think it should be problem. Could you take a look?\nThank you"
        }
      ]
    },
    {
      "id": 2858476,
      "postDate": "2024-06-06T14:04:24.053Z",
      "content": "<p>I found what error you have. I copied and submitted your notebook. The following error occured:<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1303569%2Fb7956f46f705c36d6aa2aacabcfb348f%2FScreenshot%202024-06-06%20192739.png?generation=1717682286555448&amp;alt=media\"><br>\nThis occurs when the format given in your <code>submission.csv</code> is incorrect. I your case this line is the issue:<br>\n<code>grouped_submission.to_csv(\"/kaggle/working/submission.csv\")</code><br>\nTo prevent an index column from being gernated in the submission file you must do:<br>\n<code>grouped_submission.to_csv(\"/kaggle/working/submission.csv\", index=False)</code></p>",
      "rawMarkdown": "I found what error you have. I copied and submitted your notebook. The following error occured:\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1303569%2Fb7956f46f705c36d6aa2aacabcfb348f%2FScreenshot%202024-06-06%20192739.png?generation=1717682286555448&alt=media)\nThis occurs when the format given in your `submission.csv` is incorrect. I your case this line is the issue:\n`grouped_submission.to_csv(\"/kaggle/working/submission.csv\")`\nTo prevent an index column from being gernated in the submission file you must do:\n`grouped_submission.to_csv(\"/kaggle/working/submission.csv\", index=False)`",
      "votes": 1,
      "replies": [
        {
          "id": 2858654,
          "postDate": "2024-06-06T15:39:56.973Z",
          "content": "<p>Thank you very much. I'll try now.</p>",
          "rawMarkdown": "Thank you very much. I'll try now.",
          "votes": 1
        },
        {
          "id": 2858817,
          "postDate": "2024-06-06T16:39:20.043Z",
          "content": "<p>Here is a copy of your public notebook with the above changes + a change to create a new test data from a subset of the training data: <a href=\"https://www.kaggle.com/coderrkj/rsna-resnet-starter-notebook\" target=\"_blank\">https://www.kaggle.com/coderrkj/rsna-resnet-starter-notebook</a></p>",
          "rawMarkdown": "Here is a copy of your public notebook with the above changes + a change to create a new test data from a subset of the training data: https://www.kaggle.com/coderrkj/rsna-resnet-starter-notebook",
          "votes": 1,
          "replies": [
            {
              "id": 2858824,
              "postDate": "2024-06-06T16:48:15.487Z",
              "content": "<p>Thank you. </p>",
              "rawMarkdown": "Thank you. "
            }
          ]
        }
      ]
    },
    {
      "id": 2857981,
      "postDate": "2024-06-06T08:05:09.707Z",
      "content": "<p>have you tried running a few samples of the training examples on the inference pipeline? This way you can check whether the inference pipeline can handle more than one study_id as it is currently in the test set?</p>",
      "rawMarkdown": "have you tried running a few samples of the training examples on the inference pipeline? This way you can check whether the inference pipeline can handle more than one study_id as it is currently in the test set?",
      "votes": 1,
      "replies": [
        {
          "id": 2858416,
          "postDate": "2024-06-06T13:30:24.703Z",
          "content": "<p>I created a val set to do that. It worked fine, I am getting 78-81% accuracy over different classes. </p>",
          "rawMarkdown": "I created a val set to do that. It worked fine, I am getting 78-81% accuracy over different classes. "
        }
      ]
    },
    {
      "id": 2857344,
      "postDate": "2024-06-05T20:19:41.070Z",
      "content": "<p>I am trying to submit my notebook to the competition, which runs fine when I run and save all but while submitting it is not working fine. Can somebody please help me debug it?</p>\n<p>Notebook link: <a href=\"https://www.kaggle.com/code/shubhamcodez/rsna-resnet-starter-notebook?kernelSessionId=181703193\" target=\"_blank\">https://www.kaggle.com/code/shubhamcodez/rsna-resnet-starter-notebook?kernelSessionId=181703193</a></p>",
      "rawMarkdown": "I am trying to submit my notebook to the competition, which runs fine when I run and save all but while submitting it is not working fine. Can somebody please help me debug it?\n\nNotebook link: https://www.kaggle.com/code/shubhamcodez/rsna-resnet-starter-notebook?kernelSessionId=181703193",
      "votes": 1
    },
    {
      "id": 2857669,
      "postDate": "2024-06-06T04:39:15.290Z",
      "rawMarkdown": "",
      "votes": -1,
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 2858851,
      "author_name": "Masavarapu Appala Naidu",
      "author_url": "",
      "post_date": "2024-06-06T17:09:45.083000",
      "content": "<p>There are three orientation type and some study-id doesn't have all three orientation type. If you are individually modelling three type of orientation. Then submission might not have some rows.</p>",
      "votes": 1,
      "replies": [
        {
          "id": 2858985,
          "author_name": "Shubham Singh",
          "author_url": "",
          "post_date": "2024-06-06T18:31:55.037000",
          "content": "<p>I am creating them based on search, so I don't think it should be problem. Could you take a look?<br>\nThank you</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 2858476,
      "author_name": "coderRKJ",
      "author_url": "",
      "post_date": "2024-06-06T14:04:24.053000",
      "content": "<p>I found what error you have. I copied and submitted your notebook. The following error occured:<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1303569%2Fb7956f46f705c36d6aa2aacabcfb348f%2FScreenshot%202024-06-06%20192739.png?generation=1717682286555448&amp;alt=media\"><br>\nThis occurs when the format given in your <code>submission.csv</code> is incorrect. I your case this line is the issue:<br>\n<code>grouped_submission.to_csv(\"/kaggle/working/submission.csv\")</code><br>\nTo prevent an index column from being gernated in the submission file you must do:<br>\n<code>grouped_submission.to_csv(\"/kaggle/working/submission.csv\", index=False)</code></p>",
      "votes": 1,
      "replies": [
        {
          "id": 2858654,
          "author_name": "Shubham Singh",
          "author_url": "",
          "post_date": "2024-06-06T15:39:56.973000",
          "content": "<p>Thank you very much. I'll try now.</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 2858817,
          "author_name": "coderRKJ",
          "author_url": "",
          "post_date": "2024-06-06T16:39:20.043000",
          "content": "<p>Here is a copy of your public notebook with the above changes + a change to create a new test data from a subset of the training data: <a href=\"https://www.kaggle.com/coderrkj/rsna-resnet-starter-notebook\" target=\"_blank\">https://www.kaggle.com/coderrkj/rsna-resnet-starter-notebook</a></p>",
          "votes": 1,
          "replies": [
            {
              "id": 2858824,
              "author_name": "Shubham Singh",
              "author_url": "",
              "post_date": "2024-06-06T16:48:15.487000",
              "content": "<p>Thank you. </p>",
              "votes": 0,
              "replies": []
            }
          ]
        }
      ]
    },
    {
      "id": 2857981,
      "author_name": "samu2505",
      "author_url": "",
      "post_date": "2024-06-06T08:05:09.707000",
      "content": "<p>have you tried running a few samples of the training examples on the inference pipeline? This way you can check whether the inference pipeline can handle more than one study_id as it is currently in the test set?</p>",
      "votes": 1,
      "replies": [
        {
          "id": 2858416,
          "author_name": "Shubham Singh",
          "author_url": "",
          "post_date": "2024-06-06T13:30:24.703000",
          "content": "<p>I created a val set to do that. It worked fine, I am getting 78-81% accuracy over different classes. </p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 2857669,
      "author_name": "",
      "author_url": "",
      "post_date": "2024-06-06T04:39:15.290000",
      "content": "",
      "votes": -1,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2858851": "There are three orientation type and some study-id doesn't have all three orientation type. If you are individually modelling three type of orientation. Then submission might not have some rows.",
    "2858476": "I found what error you have. I copied and submitted your notebook. The following error occured:\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1303569%2Fb7956f46f705c36d6aa2aacabcfb348f%2FScreenshot%202024-06-06%20192739.png?generation=1717682286555448&alt=media)\nThis occurs when the format given in your `submission.csv` is incorrect. I your case this line is the issue:\n`grouped_submission.to_csv(\"/kaggle/working/submission.csv\")`\nTo prevent an index column from being gernated in the submission file you must do:\n`grouped_submission.to_csv(\"/kaggle/working/submission.csv\", index=False)`",
    "2857981": "have you tried running a few samples of the training examples on the inference pipeline? This way you can check whether the inference pipeline can handle more than one study_id as it is currently in the test set?",
    "2857344": "I am trying to submit my notebook to the competition, which runs fine when I run and save all but while submitting it is not working fine. Can somebody please help me debug it?\n\nNotebook link: https://www.kaggle.com/code/shubhamcodez/rsna-resnet-starter-notebook?kernelSessionId=181703193",
    "2857669": ""
  }
}