{
  "id": 166533,
  "title": "Submission scoring error ",
  "url": "/competitions/osic-pulmonary-fibrosis-progression/discussion/166533",
  "author_name": "Jhanett Millán",
  "post_date": "2020-07-13T08:34:29.948000",
  "votes": 8,
  "comment_count": 17,
  "views": 0,
  "content": "<p>Hi! I'm getting submission scoring error while trying to submit my forecasts. Can you please tell me if I'm doing something wrong? My submission is attached, and the notebook runs great when I run it</p>",
  "messages": [
    {
      "id": 927176,
      "postDate": "2020-07-13T08:34:29.950Z",
      "content": "<p>Hi! I'm getting submission scoring error while trying to submit my forecasts. Can you please tell me if I'm doing something wrong? My submission is attached, and the notebook runs great when I run it</p>",
      "rawMarkdown": "Hi! I'm getting submission scoring error while trying to submit my forecasts. Can you please tell me if I'm doing something wrong? My submission is attached, and the notebook runs great when I run it\n\n",
      "votes": 8
    },
    {
      "id": 948005,
      "postDate": "2020-07-27T15:53:27.010Z",
      "content": "<p>I solve my problem by writing try: except: continue in all loops that read test data. Probably an corrupted test image during scoring.</p>",
      "rawMarkdown": "I solve my problem by writing try: except: continue in all loops that read test data. Probably an corrupted test image during scoring.",
      "votes": 3
    },
    {
      "id": 1039996,
      "postDate": "2020-10-07T00:28:02.843Z",
      "content": "<p>I dismay that these factors were not included in the specs. </p>",
      "rawMarkdown": "I dismay that these factors were not included in the specs. ",
      "votes": 1
    },
    {
      "id": 988353,
      "postDate": "2020-08-28T01:56:21.760Z",
      "content": "<p>I had the same problem and discovered that the rows order of my submission file was different from sample submission. Fixing it made my submission work.</p>",
      "rawMarkdown": "I had the same problem and discovered that the rows order of my submission file was different from sample submission. Fixing it made my submission work.",
      "votes": 1
    },
    {
      "id": 987844,
      "postDate": "2020-08-27T15:11:14.097Z",
      "content": "<p>I was also getting the same error previously. There are few points you need to take care: </p>\n<ol>\n<li>Your submission notebook should contain processing and creation of submission. </li>\n<li>Make sure to save csv as <code>index=False</code> i.e., df.to_csv('submission.csv',index=False)</li>\n<li>Make sure prediction is for all weeks from -12 to 133. </li>\n</ol>\n<p>You can see this kernel.<br>\n<a href=\"https://www.kaggle.com/atrisaxena/quantile-regression-pytorch-tabular-data-only\" target=\"_blank\">https://www.kaggle.com/atrisaxena/quantile-regression-pytorch-tabular-data-only</a></p>",
      "rawMarkdown": "I was also getting the same error previously. There are few points you need to take care: \n1. Your submission notebook should contain processing and creation of submission. \n2. Make sure to save csv as ```index=False``` i.e., df.to_csv('submission.csv',index=False)\n3. Make sure prediction is for all weeks from -12 to 133. \n\nYou can see this kernel.\nhttps://www.kaggle.com/atrisaxena/quantile-regression-pytorch-tabular-data-only",
      "votes": 1
    },
    {
      "id": 936656,
      "postDate": "2020-07-20T12:15:35.900Z",
      "content": "<p>I am getting submission error when I started to read and process the images, I haven't got a solution yet, I will post as soon as I find out the error.</p>",
      "rawMarkdown": "I am getting submission error when I started to read and process the images, I haven't got a solution yet, I will post as soon as I find out the error.",
      "votes": 1
    },
    {
      "id": 930542,
      "postDate": "2020-07-15T14:36:27.953Z",
      "content": "<p>Hey!\nWere you able to resolve this error in your submissions?\nI seem to be getting the same error everytime I try to submit a submission.csv file. Also, I have ensured that everything is in-place as per the earlier comments. \nThe error that I get is \"Submission Scoring Error\" with \"No additional details provided for this error\".</p>",
      "rawMarkdown": "Hey!\nWere you able to resolve this error in your submissions?\nI seem to be getting the same error everytime I try to submit a submission.csv file. Also, I have ensured that everything is in-place as per the earlier comments. \nThe error that I get is \"Submission Scoring Error\" with \"No additional details provided for this error\".",
      "votes": 1,
      "replies": [
        {
          "id": 946962,
          "postDate": "2020-07-27T01:35:29.750Z",
          "content": "<p>I had the same issue.I made sure that I had weeks -12 to 133 and 146 samples for all the patients in the test set for  the submission file and it was the correct name. I was still getting an error and I think it was     related to using files that I had processed and uploaded for use in my notebook. Once I moved all the processing as part of the notebook, the error was resolved. Hope this helps!</p>",
          "rawMarkdown": "I had the same issue.I made sure that I had weeks -12 to 133 and 146 samples for all the patients in the test set for  the submission file and it was the correct name. I was still getting an error and I think it was     related to using files that I had processed and uploaded for use in my notebook. Once I moved all the processing as part of the notebook, the error was resolved. Hope this helps!"
        },
        {
          "id": 983863,
          "postDate": "2020-08-24T16:30:53.770Z",
          "content": "<p>Hey, I saw this comment of yours and tried putting all the pre-processing in the notebook itself, it also didn't help. Any hints?</p>",
          "rawMarkdown": "Hey, I saw this comment of yours and tried putting all the pre-processing in the notebook itself, it also didn't help. Any hints?"
        },
        {
          "id": 983864,
          "postDate": "2020-08-24T16:30:54.357Z",
          "rawMarkdown": "",
          "isDeleted": true
        }
      ]
    },
    {
      "id": 927531,
      "postDate": "2020-07-13T13:16:48.160Z",
      "content": "<p>Check your week range</p>\n\n<p>Should be -12 through 133</p>",
      "rawMarkdown": "Check your week range\n\nShould be -12 through 133",
      "votes": 2
    },
    {
      "id": 927630,
      "postDate": "2020-07-13T14:14:12.193Z",
      "content": "<p>make sure the name of the submission file is 'submission.csv' and while saving the version of your notebook make sure your internet button is off.</p>\n\n<p>if you are already doing the same and still getting error then, please mention the error</p>",
      "rawMarkdown": "make sure the name of the submission file is 'submission.csv' and while saving the version of your notebook make sure your internet button is off.\n\nif you are already doing the same and still getting error then, please mention the error"
    },
    {
      "id": 983561,
      "postDate": "2020-08-24T12:05:51.073Z",
      "content": "<p>FVC&gt;1000, Confidence&gt;70</p>",
      "rawMarkdown": "FVC>1000, Confidence>70"
    },
    {
      "id": 973683,
      "postDate": "2020-08-17T13:05:23.213Z",
      "content": "<p>I have the same problem.<br>\nI simplified my notebook. Double checked  range of week. Removed index, emoved external data files. Doesn't help :( I have error \"Submission scoring error\"<br>\nmy very simple notebook <a href=\"https://www.kaggle.com/nadyastrogankova/notebook7ae96458f7?scriptVersionId=40908121\" target=\"_blank\">https://www.kaggle.com/nadyastrogankova/notebook7ae96458f7?scriptVersionId=40908121</a></p>\n<p>Thank you in advance for help</p>",
      "rawMarkdown": "I have the same problem.\nI simplified my notebook. Double checked  range of week. Removed index, emoved external data files. Doesn't help :( I have error \"Submission scoring error\"\nmy very simple notebook https://www.kaggle.com/nadyastrogankova/notebook7ae96458f7?scriptVersionId=40908121\n\nThank you in advance for help",
      "replies": [
        {
          "id": 973699,
          "postDate": "2020-08-17T13:14:43.773Z",
          "content": "<p>You have hard-coded the public test.csv patient values. The public test.csv file is just for testing formatting.</p>\n<p>The real test.csv is only available when you run your notebook as a \"submit\". You need to dynamically read the test.csv file and create your submission from those values.</p>\n<p>There is no way to see the real test.csv or read test dicom images. You cannot preprocess the test data or set up hard-coded values.</p>\n<p>-Rich</p>",
          "rawMarkdown": "You have hard-coded the public test.csv patient values. The public test.csv file is just for testing formatting.\n\nThe real test.csv is only available when you run your notebook as a \"submit\". You need to dynamically read the test.csv file and create your submission from those values.\n\nThere is no way to see the real test.csv or read test dicom images. You cannot preprocess the test data or set up hard-coded values.\n\n-Rich",
          "votes": 2
        }
      ]
    },
    {
      "id": 963183,
      "postDate": "2020-08-08T18:23:26.350Z",
      "content": "<p>I got many errors, so I used try / except to pass all the possible errors coming from the image reading/processing.</p>",
      "rawMarkdown": "I got many errors, so I used try / except to pass all the possible errors coming from the image reading/processing."
    },
    {
      "id": 962628,
      "postDate": "2020-08-08T09:42:27.890Z",
      "content": "<p>The Week range is important. Should be from -12 through 133 resulting in 730 rows of data in your submission file. The order is not important. I sorted the data by patients and not by weeks.</p>",
      "rawMarkdown": "The Week range is important. Should be from -12 through 133 resulting in 730 rows of data in your submission file. The order is not important. I sorted the data by patients and not by weeks."
    },
    {
      "id": 947916,
      "postDate": "2020-07-27T14:55:26.753Z",
      "content": "<p>I fixed my similar error making csv without index\n.to_csv(\"submission.csv\", index=False)</p>",
      "rawMarkdown": "I fixed my similar error making csv without index\n.to_csv(\"submission.csv\", index=False)"
    }
  ],
  "comments": [
    {
      "id": 948005,
      "author_name": "Matheus Cafalchio",
      "author_url": "",
      "post_date": "2020-07-27T15:53:27.010000",
      "content": "<p>I solve my problem by writing try: except: continue in all loops that read test data. Probably an corrupted test image during scoring.</p>",
      "votes": 3,
      "replies": []
    },
    {
      "id": 1039996,
      "author_name": "Gillian Jaune",
      "author_url": "",
      "post_date": "2020-10-07T00:28:02.843000",
      "content": "<p>I dismay that these factors were not included in the specs. </p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 988353,
      "author_name": "Tiago Albineli Motta",
      "author_url": "",
      "post_date": "2020-08-28T01:56:21.760000",
      "content": "<p>I had the same problem and discovered that the rows order of my submission file was different from sample submission. Fixing it made my submission work.</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 987844,
      "author_name": "Atri Saxena",
      "author_url": "",
      "post_date": "2020-08-27T15:11:14.097000",
      "content": "<p>I was also getting the same error previously. There are few points you need to take care: </p>\n<ol>\n<li>Your submission notebook should contain processing and creation of submission. </li>\n<li>Make sure to save csv as <code>index=False</code> i.e., df.to_csv('submission.csv',index=False)</li>\n<li>Make sure prediction is for all weeks from -12 to 133. </li>\n</ol>\n<p>You can see this kernel.<br>\n<a href=\"https://www.kaggle.com/atrisaxena/quantile-regression-pytorch-tabular-data-only\" target=\"_blank\">https://www.kaggle.com/atrisaxena/quantile-regression-pytorch-tabular-data-only</a></p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 936656,
      "author_name": "Matheus Cafalchio",
      "author_url": "",
      "post_date": "2020-07-20T12:15:35.900000",
      "content": "<p>I am getting submission error when I started to read and process the images, I haven't got a solution yet, I will post as soon as I find out the error.</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 930542,
      "author_name": "devSauron",
      "author_url": "",
      "post_date": "2020-07-15T14:36:27.953000",
      "content": "<p>Hey!\nWere you able to resolve this error in your submissions?\nI seem to be getting the same error everytime I try to submit a submission.csv file. Also, I have ensured that everything is in-place as per the earlier comments. \nThe error that I get is \"Submission Scoring Error\" with \"No additional details provided for this error\".</p>",
      "votes": 1,
      "replies": [
        {
          "id": 946962,
          "author_name": "Trushant Kalyanpur",
          "author_url": "",
          "post_date": "2020-07-27T01:35:29.750000",
          "content": "<p>I had the same issue.I made sure that I had weeks -12 to 133 and 146 samples for all the patients in the test set for  the submission file and it was the correct name. I was still getting an error and I think it was     related to using files that I had processed and uploaded for use in my notebook. Once I moved all the processing as part of the notebook, the error was resolved. Hope this helps!</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 983863,
          "author_name": "Gajendra Saraswat",
          "author_url": "",
          "post_date": "2020-08-24T16:30:53.770000",
          "content": "<p>Hey, I saw this comment of yours and tried putting all the pre-processing in the notebook itself, it also didn't help. Any hints?</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 983864,
          "author_name": "",
          "author_url": "",
          "post_date": "2020-08-24T16:30:54.357000",
          "content": "",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 927531,
      "author_name": "quadcore/Richard Epstein",
      "author_url": "",
      "post_date": "2020-07-13T13:16:48.160000",
      "content": "<p>Check your week range</p>\n\n<p>Should be -12 through 133</p>",
      "votes": 2,
      "replies": []
    },
    {
      "id": 927630,
      "author_name": "satnam",
      "author_url": "",
      "post_date": "2020-07-13T14:14:12.193000",
      "content": "<p>make sure the name of the submission file is 'submission.csv' and while saving the version of your notebook make sure your internet button is off.</p>\n\n<p>if you are already doing the same and still getting error then, please mention the error</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 983561,
      "author_name": "zefirchik",
      "author_url": "",
      "post_date": "2020-08-24T12:05:51.073000",
      "content": "<p>FVC&gt;1000, Confidence&gt;70</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 973683,
      "author_name": "NaStroy",
      "author_url": "",
      "post_date": "2020-08-17T13:05:23.213000",
      "content": "<p>I have the same problem.<br>\nI simplified my notebook. Double checked  range of week. Removed index, emoved external data files. Doesn't help :( I have error \"Submission scoring error\"<br>\nmy very simple notebook <a href=\"https://www.kaggle.com/nadyastrogankova/notebook7ae96458f7?scriptVersionId=40908121\" target=\"_blank\">https://www.kaggle.com/nadyastrogankova/notebook7ae96458f7?scriptVersionId=40908121</a></p>\n<p>Thank you in advance for help</p>",
      "votes": 0,
      "replies": [
        {
          "id": 973699,
          "author_name": "quadcore/Richard Epstein",
          "author_url": "",
          "post_date": "2020-08-17T13:14:43.773000",
          "content": "<p>You have hard-coded the public test.csv patient values. The public test.csv file is just for testing formatting.</p>\n<p>The real test.csv is only available when you run your notebook as a \"submit\". You need to dynamically read the test.csv file and create your submission from those values.</p>\n<p>There is no way to see the real test.csv or read test dicom images. You cannot preprocess the test data or set up hard-coded values.</p>\n<p>-Rich</p>",
          "votes": 2,
          "replies": []
        }
      ]
    },
    {
      "id": 963183,
      "author_name": "Matheus Cafalchio",
      "author_url": "",
      "post_date": "2020-08-08T18:23:26.350000",
      "content": "<p>I got many errors, so I used try / except to pass all the possible errors coming from the image reading/processing.</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 962628,
      "author_name": "Kevin Zihlmann",
      "author_url": "",
      "post_date": "2020-08-08T09:42:27.890000",
      "content": "<p>The Week range is important. Should be from -12 through 133 resulting in 730 rows of data in your submission file. The order is not important. I sorted the data by patients and not by weeks.</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 947916,
      "author_name": "Konstantin",
      "author_url": "",
      "post_date": "2020-07-27T14:55:26.753000",
      "content": "<p>I fixed my similar error making csv without index\n.to_csv(\"submission.csv\", index=False)</p>",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "927176": "Hi! I'm getting submission scoring error while trying to submit my forecasts. Can you please tell me if I'm doing something wrong? My submission is attached, and the notebook runs great when I run it\n\n",
    "948005": "I solve my problem by writing try: except: continue in all loops that read test data. Probably an corrupted test image during scoring.",
    "1039996": "I dismay that these factors were not included in the specs. ",
    "988353": "I had the same problem and discovered that the rows order of my submission file was different from sample submission. Fixing it made my submission work.",
    "987844": "I was also getting the same error previously. There are few points you need to take care: \n1. Your submission notebook should contain processing and creation of submission. \n2. Make sure to save csv as ```index=False``` i.e., df.to_csv('submission.csv',index=False)\n3. Make sure prediction is for all weeks from -12 to 133. \n\nYou can see this kernel.\nhttps://www.kaggle.com/atrisaxena/quantile-regression-pytorch-tabular-data-only",
    "936656": "I am getting submission error when I started to read and process the images, I haven't got a solution yet, I will post as soon as I find out the error.",
    "930542": "Hey!\nWere you able to resolve this error in your submissions?\nI seem to be getting the same error everytime I try to submit a submission.csv file. Also, I have ensured that everything is in-place as per the earlier comments. \nThe error that I get is \"Submission Scoring Error\" with \"No additional details provided for this error\".",
    "927531": "Check your week range\n\nShould be -12 through 133",
    "927630": "make sure the name of the submission file is 'submission.csv' and while saving the version of your notebook make sure your internet button is off.\n\nif you are already doing the same and still getting error then, please mention the error",
    "983561": "FVC>1000, Confidence>70",
    "973683": "I have the same problem.\nI simplified my notebook. Double checked  range of week. Removed index, emoved external data files. Doesn't help :( I have error \"Submission scoring error\"\nmy very simple notebook https://www.kaggle.com/nadyastrogankova/notebook7ae96458f7?scriptVersionId=40908121\n\nThank you in advance for help",
    "963183": "I got many errors, so I used try / except to pass all the possible errors coming from the image reading/processing.",
    "962628": "The Week range is important. Should be from -12 through 133 resulting in 730 rows of data in your submission file. The order is not important. I sorted the data by patients and not by weeks.",
    "947916": "I fixed my similar error making csv without index\n.to_csv(\"submission.csv\", index=False)"
  }
}