{
  "id": 506354,
  "title": "Not able to submit",
  "url": "/competitions/rsna-2024-lumbar-spine-degenerative-classification/discussion/506354",
  "author_name": "Masavarapu Appala Naidu",
  "post_date": "2024-05-21T15:21:03.124000",
  "votes": 6,
  "comment_count": 14,
  "views": 0,
  "content": "<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F10773859%2F8adfdde00937fc5ba95de31bf0313257%2FIMG_20240521_204852.jpg?generation=1716304898448616&amp;alt=media\"><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F10773859%2Fc7fee743611d0ebe53a91f6b18937c8f%2FScreenshot_20240521_205547.jpg?generation=1716305189806910&amp;alt=media\">Tried multiple times but still have same issue</p>",
  "messages": [
    {
      "id": 2827614,
      "postDate": "2024-05-21T15:21:03.123Z",
      "content": "<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F10773859%2F8adfdde00937fc5ba95de31bf0313257%2FIMG_20240521_204852.jpg?generation=1716304898448616&amp;alt=media\"><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F10773859%2Fc7fee743611d0ebe53a91f6b18937c8f%2FScreenshot_20240521_205547.jpg?generation=1716305189806910&amp;alt=media\">Tried multiple times but still have same issue</p>",
      "rawMarkdown": "![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F10773859%2F8adfdde00937fc5ba95de31bf0313257%2FIMG_20240521_204852.jpg?generation=1716304898448616&alt=media)![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F10773859%2Fc7fee743611d0ebe53a91f6b18937c8f%2FScreenshot_20240521_205547.jpg?generation=1716305189806910&alt=media)Tried multiple times but still have same issue",
      "votes": 6
    },
    {
      "id": 2859456,
      "postDate": "2024-06-07T03:50:00.853Z",
      "content": "<p>For those coming to this issue because of the same error the following checks can be done:</p>\n<ol>\n<li>Ensure <code>index=False</code> is passed to <code>to_csv</code> method, otherwise an additional index column will be generated.</li>\n<li>Convert the values in row id values to a <code>set</code> and <code>assert</code> with the original sample submission row ids that they are the same. If your notebook throws a different error (Notebook throw an exception) that is the issue.</li>\n<li>Assert no duplicate row id values are present in submission by comparing its length with the sample submission length.</li>\n</ol>",
      "rawMarkdown": "For those coming to this issue because of the same error the following checks can be done:\n1. Ensure `index=False` is passed to `to_csv` method, otherwise an additional index column will be generated.\n1. Convert the values in row id values to a `set` and `assert` with the original sample submission row ids that they are the same. If your notebook throws a different error (Notebook throw an exception) that is the issue.\n1. Assert no duplicate row id values are present in submission by comparing its length with the sample submission length.",
      "votes": 3
    },
    {
      "id": 2828274,
      "postDate": "2024-05-22T02:27:18.547Z",
      "content": "<p>I've had exactly the same problem. Tried to submit five different times, cannot figure out the issue. Please share if you figure it out</p>",
      "rawMarkdown": "I've had exactly the same problem. Tried to submit five different times, cannot figure out the issue. Please share if you figure it out",
      "votes": 2
    },
    {
      "id": 2889262,
      "postDate": "2024-06-25T11:46:16.830Z",
      "content": "<p>I was also unable to submit in the same way, but when I modified the code to ensure that the submission.csv did not contain any scientific notation, it worked successfully. If the CSV file contains numbers in exponential notation instead of decimal representation, please use the round function to round them.</p>",
      "rawMarkdown": "I was also unable to submit in the same way, but when I modified the code to ensure that the submission.csv did not contain any scientific notation, it worked successfully. If the CSV file contains numbers in exponential notation instead of decimal representation, please use the round function to round them."
    },
    {
      "id": 2859265,
      "postDate": "2024-06-06T22:36:09.337Z",
      "content": "<p>If you are here: Pandas saves an index column default, make sure you specify no index</p>\n<p><code>my_df.to_csv(\"/kaggle/working/submission.csv\", index=False)</code></p>",
      "rawMarkdown": "If you are here: Pandas saves an index column default, make sure you specify no index\n\n`my_df.to_csv(\"/kaggle/working/submission.csv\", index=False)`"
    },
    {
      "id": 2831758,
      "postDate": "2024-05-23T20:06:41.270Z",
      "content": "<p>I haven't tried anything yet but…<br>\nif it's a code competition with hidden test the local test that you see is only an example<br>\nyour code will be executed on another environment with the actual test<br>\nso must be capable of read a general test folder with unknown number of samples with unknowns id<br>\nso don't assume anything<br>\nmake your code as simple as you can in terms of reading test and predicting it <br>\nread the samples and the keys, store them, and use them to predict and generate the corresponding sumbmission.csv without any assumption about the format. Use the keys as they've been readed.</p>",
      "rawMarkdown": "I haven't tried anything yet but...\nif it's a code competition with hidden test the local test that you see is only an example\nyour code will be executed on another environment with the actual test\nso must be capable of read a general test folder with unknown number of samples with unknowns id\nso don't assume anything\nmake your code as simple as you can in terms of reading test and predicting it \nread the samples and the keys, store them, and use them to predict and generate the corresponding sumbmission.csv without any assumption about the format. Use the keys as they've been readed."
    },
    {
      "id": 2830224,
      "postDate": "2024-05-23T04:50:49.800Z",
      "content": "<p>I think we can start by creating a submission demo, and then fill in the scores on different category rows based on each case's ID.</p>",
      "rawMarkdown": "I think we can start by creating a submission demo, and then fill in the scores on different category rows based on each case's ID.",
      "replies": [
        {
          "id": 2830705,
          "postDate": "2024-05-23T10:04:44.350Z",
          "content": "<p>I don't understand how the submission file should be generated? Do we only need to make predictions for the one study (44036939) that's in the test_images folder? <br>\nAnd I don't understand this part -&gt; “This competition uses a hidden test. When your submitted notebook is scored, the actual test data (including a full length sample submission) will be made available to your notebook.” Do I have to go through the test_images folder and make predictions for each study in it (as it says there will be other data added when submitting)? So our submission.csv file has to have more than 25 lines? What is checked in our notebook and in our submission file? </p>",
          "rawMarkdown": "I don't understand how the submission file should be generated? Do we only need to make predictions for the one study (44036939) that's in the test_images folder? \nAnd I don't understand this part -> “This competition uses a hidden test. When your submitted notebook is scored, the actual test data (including a full length sample submission) will be made available to your notebook.” Do I have to go through the test_images folder and make predictions for each study in it (as it says there will be other data added when submitting)? So our submission.csv file has to have more than 25 lines? What is checked in our notebook and in our submission file? ",
          "votes": -1
        }
      ]
    },
    {
      "id": 2828468,
      "postDate": "2024-05-22T06:04:53.007Z",
      "content": "<p>I think Some study_id's in the hidden test have more than 3 series_id, so If trying to predict labels based on scan_orientation type then you will create multiple labels. Try this and tell me if it works, I have no submission left for the day.</p>",
      "rawMarkdown": "I think Some study_id's in the hidden test have more than 3 series_id, so If trying to predict labels based on scan_orientation type then you will create multiple labels. Try this and tell me if it works, I have no submission left for the day.",
      "replies": [
        {
          "id": 2828483,
          "postDate": "2024-05-22T06:23:25.283Z",
          "content": "<p>Afraid that doesn't fix the problem, at least not for me</p>",
          "rawMarkdown": "Afraid that doesn't fix the problem, at least not for me",
          "replies": [
            {
              "id": 2828527,
              "postDate": "2024-05-22T06:42:12.857Z",
              "content": "<p>Are you individually predicting each type based on orientation of scan?</p>",
              "rawMarkdown": "Are you individually predicting each type based on orientation of scan?"
            },
            {
              "id": 2828554,
              "postDate": "2024-05-22T06:58:56.427Z",
              "content": "<p>I am not currently</p>",
              "rawMarkdown": "I am not currently"
            }
          ]
        }
      ]
    },
    {
      "id": 2828397,
      "postDate": "2024-05-22T04:58:41.970Z",
      "content": "<p>I have the same issue I don’t understand why ?❓</p>",
      "rawMarkdown": "I have the same issue I don’t understand why ?❓",
      "replies": [
        {
          "id": 2828476,
          "postDate": "2024-05-22T06:18:55.580Z",
          "rawMarkdown": "",
          "votes": -1,
          "isDeleted": true
        },
        {
          "id": 2829537,
          "postDate": "2024-05-22T16:20:12.380Z",
          "rawMarkdown": "",
          "isDeleted": true
        }
      ]
    }
  ],
  "comments": [
    {
      "id": 2859456,
      "author_name": "coderRKJ",
      "author_url": "",
      "post_date": "2024-06-07T03:50:00.853000",
      "content": "<p>For those coming to this issue because of the same error the following checks can be done:</p>\n<ol>\n<li>Ensure <code>index=False</code> is passed to <code>to_csv</code> method, otherwise an additional index column will be generated.</li>\n<li>Convert the values in row id values to a <code>set</code> and <code>assert</code> with the original sample submission row ids that they are the same. If your notebook throws a different error (Notebook throw an exception) that is the issue.</li>\n<li>Assert no duplicate row id values are present in submission by comparing its length with the sample submission length.</li>\n</ol>",
      "votes": 3,
      "replies": []
    },
    {
      "id": 2828274,
      "author_name": "Tom Petty",
      "author_url": "",
      "post_date": "2024-05-22T02:27:18.547000",
      "content": "<p>I've had exactly the same problem. Tried to submit five different times, cannot figure out the issue. Please share if you figure it out</p>",
      "votes": 2,
      "replies": []
    },
    {
      "id": 2889262,
      "author_name": "toru nagai",
      "author_url": "",
      "post_date": "2024-06-25T11:46:16.830000",
      "content": "<p>I was also unable to submit in the same way, but when I modified the code to ensure that the submission.csv did not contain any scientific notation, it worked successfully. If the CSV file contains numbers in exponential notation instead of decimal representation, please use the round function to round them.</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 2859265,
      "author_name": "Victor S",
      "author_url": "",
      "post_date": "2024-06-06T22:36:09.337000",
      "content": "<p>If you are here: Pandas saves an index column default, make sure you specify no index</p>\n<p><code>my_df.to_csv(\"/kaggle/working/submission.csv\", index=False)</code></p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 2831758,
      "author_name": "Ángel Jacinto Sánchez Ruiz",
      "author_url": "",
      "post_date": "2024-05-23T20:06:41.270000",
      "content": "<p>I haven't tried anything yet but…<br>\nif it's a code competition with hidden test the local test that you see is only an example<br>\nyour code will be executed on another environment with the actual test<br>\nso must be capable of read a general test folder with unknown number of samples with unknowns id<br>\nso don't assume anything<br>\nmake your code as simple as you can in terms of reading test and predicting it <br>\nread the samples and the keys, store them, and use them to predict and generate the corresponding sumbmission.csv without any assumption about the format. Use the keys as they've been readed.</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 2830224,
      "author_name": "",
      "author_url": "",
      "post_date": "2024-05-23T04:50:49.800000",
      "content": "<p>I think we can start by creating a submission demo, and then fill in the scores on different category rows based on each case's ID.</p>",
      "votes": 0,
      "replies": [
        {
          "id": 2830705,
          "author_name": "Hasan BASBUNAR",
          "author_url": "",
          "post_date": "2024-05-23T10:04:44.350000",
          "content": "<p>I don't understand how the submission file should be generated? Do we only need to make predictions for the one study (44036939) that's in the test_images folder? <br>\nAnd I don't understand this part -&gt; “This competition uses a hidden test. When your submitted notebook is scored, the actual test data (including a full length sample submission) will be made available to your notebook.” Do I have to go through the test_images folder and make predictions for each study in it (as it says there will be other data added when submitting)? So our submission.csv file has to have more than 25 lines? What is checked in our notebook and in our submission file? </p>",
          "votes": -1,
          "replies": []
        }
      ]
    },
    {
      "id": 2828468,
      "author_name": "Masavarapu Appala Naidu",
      "author_url": "",
      "post_date": "2024-05-22T06:04:53.007000",
      "content": "<p>I think Some study_id's in the hidden test have more than 3 series_id, so If trying to predict labels based on scan_orientation type then you will create multiple labels. Try this and tell me if it works, I have no submission left for the day.</p>",
      "votes": 0,
      "replies": [
        {
          "id": 2828483,
          "author_name": "Tom Petty",
          "author_url": "",
          "post_date": "2024-05-22T06:23:25.283000",
          "content": "<p>Afraid that doesn't fix the problem, at least not for me</p>",
          "votes": 0,
          "replies": [
            {
              "id": 2828527,
              "author_name": "Masavarapu Appala Naidu",
              "author_url": "",
              "post_date": "2024-05-22T06:42:12.857000",
              "content": "<p>Are you individually predicting each type based on orientation of scan?</p>",
              "votes": 0,
              "replies": []
            },
            {
              "id": 2828554,
              "author_name": "Tom Petty",
              "author_url": "",
              "post_date": "2024-05-22T06:58:56.427000",
              "content": "<p>I am not currently</p>",
              "votes": 0,
              "replies": []
            }
          ]
        }
      ]
    },
    {
      "id": 2828397,
      "author_name": "Hasan BASBUNAR",
      "author_url": "",
      "post_date": "2024-05-22T04:58:41.970000",
      "content": "<p>I have the same issue I don’t understand why ?❓</p>",
      "votes": 0,
      "replies": [
        {
          "id": 2828476,
          "author_name": "",
          "author_url": "",
          "post_date": "2024-05-22T06:18:55.580000",
          "content": "",
          "votes": -1,
          "replies": []
        },
        {
          "id": 2829537,
          "author_name": "",
          "author_url": "",
          "post_date": "2024-05-22T16:20:12.380000",
          "content": "",
          "votes": 0,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2827614": "![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F10773859%2F8adfdde00937fc5ba95de31bf0313257%2FIMG_20240521_204852.jpg?generation=1716304898448616&alt=media)![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F10773859%2Fc7fee743611d0ebe53a91f6b18937c8f%2FScreenshot_20240521_205547.jpg?generation=1716305189806910&alt=media)Tried multiple times but still have same issue",
    "2859456": "For those coming to this issue because of the same error the following checks can be done:\n1. Ensure `index=False` is passed to `to_csv` method, otherwise an additional index column will be generated.\n1. Convert the values in row id values to a `set` and `assert` with the original sample submission row ids that they are the same. If your notebook throws a different error (Notebook throw an exception) that is the issue.\n1. Assert no duplicate row id values are present in submission by comparing its length with the sample submission length.",
    "2828274": "I've had exactly the same problem. Tried to submit five different times, cannot figure out the issue. Please share if you figure it out",
    "2889262": "I was also unable to submit in the same way, but when I modified the code to ensure that the submission.csv did not contain any scientific notation, it worked successfully. If the CSV file contains numbers in exponential notation instead of decimal representation, please use the round function to round them.",
    "2859265": "If you are here: Pandas saves an index column default, make sure you specify no index\n\n`my_df.to_csv(\"/kaggle/working/submission.csv\", index=False)`",
    "2831758": "I haven't tried anything yet but...\nif it's a code competition with hidden test the local test that you see is only an example\nyour code will be executed on another environment with the actual test\nso must be capable of read a general test folder with unknown number of samples with unknowns id\nso don't assume anything\nmake your code as simple as you can in terms of reading test and predicting it \nread the samples and the keys, store them, and use them to predict and generate the corresponding sumbmission.csv without any assumption about the format. Use the keys as they've been readed.",
    "2830224": "I think we can start by creating a submission demo, and then fill in the scores on different category rows based on each case's ID.",
    "2828468": "I think Some study_id's in the hidden test have more than 3 series_id, so If trying to predict labels based on scan_orientation type then you will create multiple labels. Try this and tell me if it works, I have no submission left for the day.",
    "2828397": "I have the same issue I don’t understand why ?❓"
  }
}