{
  "id": 614763,
  "title": "Correct submission format",
  "url": "/competitions/recodai-luc-scientific-image-forgery-detection/discussion/614763",
  "author_name": "",
  "post_date": "2025-11-06T10:07:36.996843400Z",
  "votes": 10,
  "comment_count": 11,
  "views": 0,
  "content": "<p>I was struggling with sending a valid submission as I followed  the example:</p>\n<blockquote>\n  <p>You must create a row in the submission file for each image. For images that do not contain a copy-move forgery predict the string \"authentic\". For all others submit run length encoded masks as serialized using the rle_encode function in the metric. The file should contain a header and have the following format:</p>\n<pre><code>id,\n,authentic\n,\n</code></pre>\n</blockquote>\n<p>After a few experiments, it turned out that the separator is not space but <code>,</code>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F5069700%2Fd41104c7df61efae7d709ba52aec6d75%2F2025-11-06_11-02.png?generation=1762423615097610&amp;alt=media\" alt=\"\"></p>\n<p>Kernel ref: <a href=\"https://www.kaggle.com/code/jirkaborovec/forgery-detection-demo-submission\" target=\"_blank\">https://www.kaggle.com/code/jirkaborovec/forgery-detection-demo-submission</a></p>",
  "messages": [
    {
      "id": "3312050",
      "postDate": "11/06/2025 10:07:36",
      "content": "<p>I was struggling with sending a valid submission as I followed  the example:</p>\n<blockquote>\n  <p>You must create a row in the submission file for each image. For images that do not contain a copy-move forgery predict the string \"authentic\". For all others submit run length encoded masks as serialized using the rle_encode function in the metric. The file should contain a header and have the following format:</p>\n<pre><code>id,\n,authentic\n,\n</code></pre>\n</blockquote>\n<p>After a few experiments, it turned out that the separator is not space but <code>,</code>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F5069700%2Fd41104c7df61efae7d709ba52aec6d75%2F2025-11-06_11-02.png?generation=1762423615097610&amp;alt=media\" alt=\"\"></p>\n<p>Kernel ref: <a href=\"https://www.kaggle.com/code/jirkaborovec/forgery-detection-demo-submission\" target=\"_blank\">https://www.kaggle.com/code/jirkaborovec/forgery-detection-demo-submission</a></p>",
      "rawMarkdown": "I was struggling with sending a valid submission as I followed  the example:\n\n>You must create a row in the submission file for each image. For images that do not contain a copy-move forgery predict the string \"authentic\". For all others submit run length encoded masks as serialized using the rle_encode function in the metric. The file should contain a header and have the following format:\n>```\n>case_id,annotation\n>1,authentic\n>2,\"[123 4]\"\n>```\n\nAfter a few experiments, it turned out that the separator is not space but `,`\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F5069700%2Fd41104c7df61efae7d709ba52aec6d75%2F2025-11-06_11-02.png?generation=1762423615097610&alt=media)\n\nKernel ref: https://www.kaggle.com/code/jirkaborovec/forgery-detection-demo-submission",
      "votes": null
    },
    {
      "id": "3315024",
      "postDate": "11/10/2025 13:10:10",
      "content": "<p>Hi, thanks for the comment.</p>\n<p>If you are in doubt about how to create the submission, I'd recommend using the official rle_encoding function to avoid any issues.</p>\n<p>You can check our rle_encoding implementation here: <a href=\"https://www.kaggle.com/code/metric/recodai-f1/\" target=\"_blank\">https://www.kaggle.com/code/metric/recodai-f1/</a></p>",
      "rawMarkdown": "Hi, thanks for the comment.\n\nIf you are in doubt about how to create the submission, I'd recommend using the official rle_encoding function to avoid any issues.\n\nYou can check our rle_encoding implementation here: [https://www.kaggle.com/code/metric/recodai-f1/](https://www.kaggle.com/code/metric/recodai-f1/)",
      "votes": null
    },
    {
      "id": "3315040",
      "postDate": "11/10/2025 13:16:52",
      "content": "<p>I did check that one too, but it does not have any submission.csv as an artifact to click on it…\n<a href=\"https://www.kaggle.com/code/metric/recodai-f1/output\" target=\"_blank\">https://www.kaggle.com/code/metric/recodai-f1/output</a></p>",
      "rawMarkdown": "I did check that one too, but it does not have any submission.csv as an artifact to click on it...\nhttps://www.kaggle.com/code/metric/recodai-f1/output",
      "votes": null
    },
    {
      "id": "3348978",
      "postDate": "11/26/2025 11:22:13",
      "content": "<p>Hello there. Am I correct that the current, public leaderboard is computed only from the single test image we have at disposal, and submission.csv will only contain one entry with the rle anotated mask?</p>",
      "rawMarkdown": "Hello there. Am I correct that the current, public leaderboard is computed only from the single test image we have at disposal, and submission.csv will only contain one entry with the rle anotated mask?",
      "votes": null
    },
    {
      "id": "3350656",
      "postDate": "11/27/2025 17:41:29",
      "content": "<blockquote>\n  <p>I did check that one too, but it does not have any submission.csv as an artifact to click on it…\n  <a href=\"https://www.kaggle.com/code/metric/recodai-f1/output\" target=\"_blank\">https://www.kaggle.com/code/metric/recodai-f1/output</a></p>\n</blockquote>\n<p>I am also suffering from the same issue. </p>",
      "rawMarkdown": "> I did check that one too, but it does not have any submission.csv as an artifact to click on it...\n> https://www.kaggle.com/code/metric/recodai-f1/output\n\nI am also suffering from the same issue.",
      "votes": null
    },
    {
      "id": "3350983",
      "postDate": "11/28/2025 04:06:48",
      "content": "<p>Andres - the current public leaderboard is computed on multiple test images. Currently our submission.csv only contains one entry to prevent unsupervised test leakage</p>",
      "rawMarkdown": "Andres - the current public leaderboard is computed on multiple test images. Currently our submission.csv only contains one entry to prevent unsupervised test leakage",
      "votes": null
    },
    {
      "id": "3351008",
      "postDate": "11/28/2025 04:43:22",
      "content": "<p>tyy\nI guess we will just read the test/ folder on the public notebook</p>",
      "rawMarkdown": "tyy\nI guess we will just read the test/ folder on the public notebook",
      "votes": null
    },
    {
      "id": "3362644",
      "postDate": "12/05/2025 04:30:53",
      "content": "<p><a href=\"https://www.kaggle.com/joophillipecardenuto\" target=\"_blank\">@joophillipecardenuto</a> \nCould you give us sample code to create submission？</p>",
      "rawMarkdown": "joophillipecardenuto \nCould you give us sample code to create submission？",
      "votes": null
    },
    {
      "id": "3362766",
      "postDate": "12/05/2025 08:49:37",
      "content": "<p>Check the 2 last cells of <a href=\"https://www.kaggle.com/code/antonoof/eda-r-cnn-model\" target=\"_blank\">https://www.kaggle.com/code/antonoof/eda-r-cnn-model</a></p>",
      "rawMarkdown": "Check the 2 last cells of https://www.kaggle.com/code/antonoof/eda-r-cnn-model",
      "votes": null
    },
    {
      "id": "3362882",
      "postDate": "12/05/2025 14:04:49",
      "content": "<p>May I ask if the correct format is \"123 4\"? It is still \"[123,4]\"</p>",
      "rawMarkdown": "May I ask if the correct format is \"123 4\"? It is still \"[123,4]\"",
      "votes": null
    },
    {
      "id": "3364004",
      "postDate": "12/06/2025 08:13:01",
      "content": "<pre><code>\n\n\n</code></pre>",
      "rawMarkdown": "```python\n\"[123,4]\"\n\"[123,4];[130,4]\"\n\"authentic\"\n```",
      "votes": null
    },
    {
      "id": "3372631",
      "postDate": "12/12/2025 05:50:20",
      "content": "<p>they have given us only one test image so that we can make a notebook that works on the test image folder, they judge our models on a private dataset that is not given to us to prevent leakage and the leaderboard score is based on that.</p>",
      "rawMarkdown": "they have given us only one test image so that we can make a notebook that works on the test image folder, they judge our models on a private dataset that is not given to us to prevent leakage and the leaderboard score is based on that.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 3315024,
      "author_name": "joophillipecardenuto",
      "author_url": "",
      "post_date": "11/10/2025 13:10:10",
      "content": "<p>Hi, thanks for the comment.</p>\n<p>If you are in doubt about how to create the submission, I'd recommend using the official rle_encoding function to avoid any issues.</p>\n<p>You can check our rle_encoding implementation here: <a href=\"https://www.kaggle.com/code/metric/recodai-f1/\" target=\"_blank\">https://www.kaggle.com/code/metric/recodai-f1/</a></p>",
      "votes": null,
      "replies": [
        {
          "id": 3315040,
          "author_name": "jirkaborovec",
          "author_url": "",
          "post_date": "11/10/2025 13:16:52",
          "content": "<p>I did check that one too, but it does not have any submission.csv as an artifact to click on it…\n<a href=\"https://www.kaggle.com/code/metric/recodai-f1/output\" target=\"_blank\">https://www.kaggle.com/code/metric/recodai-f1/output</a></p>",
          "votes": null,
          "replies": [
            {
              "id": 3350656,
              "author_name": "hamzahabduljalil",
              "author_url": "",
              "post_date": "11/27/2025 17:41:29",
              "content": "<blockquote>\n  <p>I did check that one too, but it does not have any submission.csv as an artifact to click on it…\n  <a href=\"https://www.kaggle.com/code/metric/recodai-f1/output\" target=\"_blank\">https://www.kaggle.com/code/metric/recodai-f1/output</a></p>\n</blockquote>\n<p>I am also suffering from the same issue. </p>",
              "votes": null,
              "replies": []
            }
          ]
        },
        {
          "id": 3362644,
          "author_name": "npinpi",
          "author_url": "",
          "post_date": "12/05/2025 04:30:53",
          "content": "<p><a href=\"https://www.kaggle.com/joophillipecardenuto\" target=\"_blank\">@joophillipecardenuto</a> \nCould you give us sample code to create submission？</p>",
          "votes": null,
          "replies": [
            {
              "id": 3362766,
              "author_name": "andreshzapke",
              "author_url": "",
              "post_date": "12/05/2025 08:49:37",
              "content": "<p>Check the 2 last cells of <a href=\"https://www.kaggle.com/code/antonoof/eda-r-cnn-model\" target=\"_blank\">https://www.kaggle.com/code/antonoof/eda-r-cnn-model</a></p>",
              "votes": null,
              "replies": []
            }
          ]
        }
      ]
    },
    {
      "id": 3348978,
      "author_name": "andreshzapke",
      "author_url": "",
      "post_date": "11/26/2025 11:22:13",
      "content": "<p>Hello there. Am I correct that the current, public leaderboard is computed only from the single test image we have at disposal, and submission.csv will only contain one entry with the rle anotated mask?</p>",
      "votes": null,
      "replies": [
        {
          "id": 3350983,
          "author_name": "returnofsputnik",
          "author_url": "",
          "post_date": "11/28/2025 04:06:48",
          "content": "<p>Andres - the current public leaderboard is computed on multiple test images. Currently our submission.csv only contains one entry to prevent unsupervised test leakage</p>",
          "votes": null,
          "replies": [
            {
              "id": 3351008,
              "author_name": "andreshzapke",
              "author_url": "",
              "post_date": "11/28/2025 04:43:22",
              "content": "<p>tyy\nI guess we will just read the test/ folder on the public notebook</p>",
              "votes": null,
              "replies": []
            }
          ]
        },
        {
          "id": 3372631,
          "author_name": "mrearthworm",
          "author_url": "",
          "post_date": "12/12/2025 05:50:20",
          "content": "<p>they have given us only one test image so that we can make a notebook that works on the test image folder, they judge our models on a private dataset that is not given to us to prevent leakage and the leaderboard score is based on that.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 3362882,
      "author_name": "mininume",
      "author_url": "",
      "post_date": "12/05/2025 14:04:49",
      "content": "<p>May I ask if the correct format is \"123 4\"? It is still \"[123,4]\"</p>",
      "votes": null,
      "replies": [
        {
          "id": 3364004,
          "author_name": "qifeihhh666",
          "author_url": "",
          "post_date": "12/06/2025 08:13:01",
          "content": "<pre><code>\n\n\n</code></pre>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "3312050": "I was struggling with sending a valid submission as I followed  the example:\n\n>You must create a row in the submission file for each image. For images that do not contain a copy-move forgery predict the string \"authentic\". For all others submit run length encoded masks as serialized using the rle_encode function in the metric. The file should contain a header and have the following format:\n>```\n>case_id,annotation\n>1,authentic\n>2,\"[123 4]\"\n>```\n\nAfter a few experiments, it turned out that the separator is not space but `,`\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F5069700%2Fd41104c7df61efae7d709ba52aec6d75%2F2025-11-06_11-02.png?generation=1762423615097610&alt=media)\n\nKernel ref: https://www.kaggle.com/code/jirkaborovec/forgery-detection-demo-submission",
    "3315024": "Hi, thanks for the comment.\n\nIf you are in doubt about how to create the submission, I'd recommend using the official rle_encoding function to avoid any issues.\n\nYou can check our rle_encoding implementation here: [https://www.kaggle.com/code/metric/recodai-f1/](https://www.kaggle.com/code/metric/recodai-f1/)",
    "3315040": "I did check that one too, but it does not have any submission.csv as an artifact to click on it...\nhttps://www.kaggle.com/code/metric/recodai-f1/output",
    "3348978": "Hello there. Am I correct that the current, public leaderboard is computed only from the single test image we have at disposal, and submission.csv will only contain one entry with the rle anotated mask?",
    "3350656": "> I did check that one too, but it does not have any submission.csv as an artifact to click on it...\n> https://www.kaggle.com/code/metric/recodai-f1/output\n\nI am also suffering from the same issue.",
    "3350983": "Andres - the current public leaderboard is computed on multiple test images. Currently our submission.csv only contains one entry to prevent unsupervised test leakage",
    "3351008": "tyy\nI guess we will just read the test/ folder on the public notebook",
    "3362644": "joophillipecardenuto \nCould you give us sample code to create submission？",
    "3362766": "Check the 2 last cells of https://www.kaggle.com/code/antonoof/eda-r-cnn-model",
    "3362882": "May I ask if the correct format is \"123 4\"? It is still \"[123,4]\"",
    "3364004": "```python\n\"[123,4]\"\n\"[123,4];[130,4]\"\n\"authentic\"\n```",
    "3372631": "they have given us only one test image so that we can make a notebook that works on the test image folder, they judge our models on a private dataset that is not given to us to prevent leakage and the leaderboard score is based on that."
  },
  "source": "meta"
}