{
  "id": 609203,
  "title": "Evaluation metric raised an unexpected error",
  "url": "/competitions/grand-xray-slam-division-a/discussion/609203",
  "author_name": "ali waleed",
  "post_date": "2025-09-24T21:56:08.749000",
  "votes": 0,
  "comment_count": 3,
  "views": 0,
  "content": "<p>I'm trying to run a model that have been trained on kaggle but when i take the model weights and run the  submission.csv</p>\n<p>this error is eraised in the submission although the notebook is working correctly.</p>\n<p>Note: The code is not using training it's for inference only</p>",
  "messages": [
    {
      "id": 3294094,
      "postDate": "2025-09-25T10:39:25.967Z",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/alimistro123\" target=\"_blank\">@alimistro123</a> ,<br>\nThe error usually happens if the submission format is not exactly like the <code>simple_submission1.csv</code> file we provided.  </p>\n<p>Please make sure:  </p>\n<ul>\n<li>The rows are in the <strong>same order</strong> as the sample submission.  </li>\n<li>All columns match exactly, including <code>Image_name</code> and the 14 predicted columns.  </li>\n<li>The CSV uses <strong>UTF-8 encoding</strong> and <strong>commas</strong> as delimiters.  </li>\n</ul>\n<p>Following the sample submission exactly should fix the issue.</p>",
      "rawMarkdown": "Hi @alimistro123 ,\nThe error usually happens if the submission format is not exactly like the `simple_submission1.csv` file we provided.  \n\nPlease make sure:  \n- The rows are in the **same order** as the sample submission.  \n- All columns match exactly, including `Image_name` and the 14 predicted columns.  \n- The CSV uses **UTF-8 encoding** and **commas** as delimiters.  \n\nFollowing the sample submission exactly should fix the issue.",
      "votes": 1,
      "replies": [
        {
          "id": 3295267,
          "postDate": "2025-09-28T08:36:16.100Z",
          "content": "<p>Hello <a href=\"https://www.kaggle.com/fathibenamor\" target=\"_blank\">@fathibenamor</a> </p>\n<p>Thank you for your answer. I noticed while saving the CSV, I forgot to add <code>index = False</code>, which results in saving the CSV with an additional index, i have done the modificaiton and waiting for the results Thank you.</p>",
          "rawMarkdown": "Hello @fathibenamor \n\nThank you for your answer. I noticed while saving the CSV, I forgot to add `index = False`, which results in saving the CSV with an additional index, i have done the modificaiton and waiting for the results Thank you.",
          "replies": [
            {
              "id": 3295667,
              "postDate": "2025-09-29T10:25:02.320Z",
              "content": "<p>Glad you caught it, <a href=\"https://www.kaggle.com/alimistro123\" target=\"_blank\">@alimistro123</a> , Good luck with your next submission!</p>",
              "rawMarkdown": "Glad you caught it, @alimistro123 , Good luck with your next submission!"
            }
          ]
        }
      ]
    },
    {
      "id": 3293879,
      "postDate": "2025-09-24T21:56:08.750Z",
      "content": "<p>I'm trying to run a model that have been trained on kaggle but when i take the model weights and run the  submission.csv</p>\n<p>this error is eraised in the submission although the notebook is working correctly.</p>\n<p>Note: The code is not using training it's for inference only</p>",
      "rawMarkdown": "I'm trying to run a model that have been trained on kaggle but when i take the model weights and run the  submission.csv\n\nthis error is eraised in the submission although the notebook is working correctly.\n\nNote: The code is not using training it's for inference only"
    }
  ],
  "comments": [
    {
      "id": 3294094,
      "author_name": "Alpha",
      "author_url": "",
      "post_date": "2025-09-25T10:39:25.967000",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/alimistro123\" target=\"_blank\">@alimistro123</a> ,<br>\nThe error usually happens if the submission format is not exactly like the <code>simple_submission1.csv</code> file we provided.  </p>\n<p>Please make sure:  </p>\n<ul>\n<li>The rows are in the <strong>same order</strong> as the sample submission.  </li>\n<li>All columns match exactly, including <code>Image_name</code> and the 14 predicted columns.  </li>\n<li>The CSV uses <strong>UTF-8 encoding</strong> and <strong>commas</strong> as delimiters.  </li>\n</ul>\n<p>Following the sample submission exactly should fix the issue.</p>",
      "votes": 1,
      "replies": [
        {
          "id": 3295267,
          "author_name": "ali waleed",
          "author_url": "",
          "post_date": "2025-09-28T08:36:16.100000",
          "content": "<p>Hello <a href=\"https://www.kaggle.com/fathibenamor\" target=\"_blank\">@fathibenamor</a> </p>\n<p>Thank you for your answer. I noticed while saving the CSV, I forgot to add <code>index = False</code>, which results in saving the CSV with an additional index, i have done the modificaiton and waiting for the results Thank you.</p>",
          "votes": 0,
          "replies": [
            {
              "id": 3295667,
              "author_name": "Alpha",
              "author_url": "",
              "post_date": "2025-09-29T10:25:02.320000",
              "content": "<p>Glad you caught it, <a href=\"https://www.kaggle.com/alimistro123\" target=\"_blank\">@alimistro123</a> , Good luck with your next submission!</p>",
              "votes": 0,
              "replies": []
            }
          ]
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "3294094": "Hi @alimistro123 ,\nThe error usually happens if the submission format is not exactly like the `simple_submission1.csv` file we provided.  \n\nPlease make sure:  \n- The rows are in the **same order** as the sample submission.  \n- All columns match exactly, including `Image_name` and the 14 predicted columns.  \n- The CSV uses **UTF-8 encoding** and **commas** as delimiters.  \n\nFollowing the sample submission exactly should fix the issue.",
    "3293879": "I'm trying to run a model that have been trained on kaggle but when i take the model weights and run the  submission.csv\n\nthis error is eraised in the submission although the notebook is working correctly.\n\nNote: The code is not using training it's for inference only"
  }
}