{
  "id": 494789,
  "title": "Has anyone successfully calculate the metric for full training set?",
  "url": "/competitions/image-matching-challenge-2024/discussion/494789",
  "author_name": "",
  "post_date": "2024-04-18T11:52:52.212296800Z",
  "votes": 15,
  "comment_count": 17,
  "views": 0,
  "content": "<p>I tried running <a href=\"https://www.kaggle.com/code/fabiobellavia/imc2024-3d-metric-evaluation-example\" target=\"_blank\">this metric</a> on the full training set (without randomly dropping images), but it seems to take forever for <code>pond</code>, which has more than 700 images.</p>\n<p>The questions are:</p>\n<ol>\n<li>Has anyone successfully calculated the metric for the full training set?</li>\n<li>How does the actual competition metric handle scenes that have many images? Does it also select randomly?<br>\n<a href=\"https://www.kaggle.com/oldufo\" target=\"_blank\">@oldufo</a></li>\n</ol>",
  "messages": [
    {
      "id": "2758931",
      "postDate": "04/18/2024 11:52:52",
      "content": "<p>I tried running <a href=\"https://www.kaggle.com/code/fabiobellavia/imc2024-3d-metric-evaluation-example\" target=\"_blank\">this metric</a> on the full training set (without randomly dropping images), but it seems to take forever for <code>pond</code>, which has more than 700 images.</p>\n<p>The questions are:</p>\n<ol>\n<li>Has anyone successfully calculated the metric for the full training set?</li>\n<li>How does the actual competition metric handle scenes that have many images? Does it also select randomly?<br>\n<a href=\"https://www.kaggle.com/oldufo\" target=\"_blank\">@oldufo</a></li>\n</ol>",
      "rawMarkdown": "I tried running [this metric](https://www.kaggle.com/code/fabiobellavia/imc2024-3d-metric-evaluation-example) on the full training set (without randomly dropping images), but it seems to take forever for `pond`, which has more than 700 images.\n\nThe questions are:\n\n1. Has anyone successfully calculated the metric for the full training set?\n2. How does the actual competition metric handle scenes that have many images? Does it also select randomly?\n@oldufo",
      "votes": null
    },
    {
      "id": "2758950",
      "postDate": "04/18/2024 12:03:20",
      "content": "<p>The number of scenes per image for the test set was chosen to allow metric evaluation within an hour. Actually, I don't think that anyone could be able to finish on a Kaggle notebook a pose estimation for scene of 700 images within the competition time constraints.</p>",
      "rawMarkdown": "The number of scenes per image for the test set was chosen to allow metric evaluation within an hour. Actually, I don't think that anyone could be able to finish on a Kaggle notebook a pose estimation for scene of 700 images within the competition time constraints.",
      "votes": null
    },
    {
      "id": "2758960",
      "postDate": "04/18/2024 12:11:22",
      "content": "<p><a href=\"https://www.kaggle.com/fabiobellavia\" target=\"_blank\">@fabiobellavia</a> Thanks for the quick response!  <br>\nJust to clarify, does this mean that the number of images in the test set is small enough to finish within an hour, or does the metric use only a subset of images in the test set?</p>",
      "rawMarkdown": "fabiobellavia Thanks for the quick response!  \nJust to clarify, does this mean that the number of images in the test set is small enough to finish within an hour, or does the metric use only a subset of images in the test set?",
      "votes": null
    },
    {
      "id": "2758961",
      "postDate": "04/18/2024 12:11:48",
      "content": "<p>I tried to evaluate the baseline with the full data set, but it was impossible.<br>\nI modified the script a bit to show an ETA, and it looks like it will take about four full days to evaluate the full data set of ponds.<br>\nFor now, for \"pond\" and \"lizard\", I am checking scores on a randomly selected sub-dataset.</p>",
      "rawMarkdown": "I tried to evaluate the baseline with the full data set, but it was impossible.\nI modified the script a bit to show an ETA, and it looks like it will take about four full days to evaluate the full data set of ponds.\nFor now, for \"pond\" and \"lizard\", I am checking scores on a randomly selected sub-dataset.",
      "votes": null
    },
    {
      "id": "2758975",
      "postDate": "04/18/2024 12:23:41",
      "content": "<p>Same for me. I discard images more than 100.  <br>\nIt seems the metric runs something like RANSAC in n^3 loop…</p>",
      "rawMarkdown": "Same for me. I discard images more than 100.  \nIt seems the metric runs something like RANSAC in n^3 loop...",
      "votes": null
    },
    {
      "id": "2758983",
      "postDate": "04/18/2024 12:28:59",
      "content": "<p>I haven't never fully inspected the metric, but the time complexity is certainly above O(N^4) with heavy computations. That being said, it's quite possible to run it on scenes with less than 100 images, and that's likely the number of images in every scene in the test set. </p>",
      "rawMarkdown": "I haven't never fully inspected the metric, but the time complexity is certainly above O(N^4) with heavy computations. That being said, it's quite possible to run it on scenes with less than 100 images, and that's likely the number of images in every scene in the test set.",
      "votes": null
    },
    {
      "id": "2758990",
      "postDate": "04/18/2024 12:32:25",
      "content": "<p>The first you said.</p>",
      "rawMarkdown": "The first you said.",
      "votes": null
    },
    {
      "id": "2759011",
      "postDate": "04/18/2024 12:44:59",
      "content": "<p>You can create your own “test” set from training, by the analogy with the “church” scene : by selecting a subset &lt;100 images with covisibility and random ordering </p>",
      "rawMarkdown": "You can create your own “test” set from training, by the analogy with the “church” scene : by selecting a subset <100 images with covisibility and random ordering",
      "votes": null
    },
    {
      "id": "2759111",
      "postDate": "04/18/2024 13:48:45",
      "content": "<p>Orgs said test scenes include up to 100 images <a href=\"https://www.kaggle.com/competitions/image-matching-challenge-2024/discussion/486584\" target=\"_blank\">here</a>. I guess we should not expect more than 100 images in any scene.</p>",
      "rawMarkdown": "Orgs said test scenes include up to 100 images [here](https://www.kaggle.com/competitions/image-matching-challenge-2024/discussion/486584). I guess we should not expect more than 100 images in any scene.",
      "votes": null
    },
    {
      "id": "2759914",
      "postDate": "04/19/2024 02:26:06",
      "content": "<p>Just for reference, it took around 8 min  for my env to run validation for sampled dataset up to 110 in each scene.</p>",
      "rawMarkdown": "Just for reference, it took around 8 min  for my env to run validation for sampled dataset up to 110 in each scene.",
      "votes": null
    },
    {
      "id": "2760416",
      "postDate": "04/19/2024 09:43:56",
      "content": "<p>Thanks, I missed that!</p>",
      "rawMarkdown": "Thanks, I missed that!",
      "votes": null
    },
    {
      "id": "2760418",
      "postDate": "04/19/2024 09:46:02",
      "content": "<p>Interesting. But how can we replicate the covisibility of the hidden test set?</p>",
      "rawMarkdown": "Interesting. But how can we replicate the covisibility of the hidden test set?",
      "votes": null
    },
    {
      "id": "2763671",
      "postDate": "04/20/2024 17:06:47",
      "content": "<p>Good question. Last year participants didn't have even a single scene in the \"open test\" set ;)</p>",
      "rawMarkdown": "Good question. Last year participants didn't have even a single scene in the \"open test\" set ;)",
      "votes": null
    },
    {
      "id": "2767887",
      "postDate": "04/22/2024 14:54:33",
      "content": "<p>Hi, did anyone try calculating the validation with <em>somehow</em> sampled train data?<br>\nI sampled 110 images per scene and the validation result is quite different from 0.15 in <a href=\"https://www.kaggle.com/code/nartaa/imc2024-starter/notebook\" target=\"_blank\">this notebook</a>.</p>",
      "rawMarkdown": "Hi, did anyone try calculating the validation with *somehow* sampled train data?\nI sampled 110 images per scene and the validation result is quite different from 0.15 in [this notebook](https://www.kaggle.com/code/nartaa/imc2024-starter/notebook).",
      "votes": null
    },
    {
      "id": "2768517",
      "postDate": "04/22/2024 22:37:41",
      "content": "<p><a href=\"https://www.kaggle.com/clearwaterkzk\" target=\"_blank\">@clearwaterkzk</a> <br>\ndo you mean it's much better than 0.15?<br>\nI think it's natural for the score to increase if you increase the number of images, as it makes it easier to triangulate.</p>",
      "rawMarkdown": "clearwaterkzk \ndo you mean it's much better than 0.15?\nI think it's natural for the score to increase if you increase the number of images, as it makes it easier to triangulate.",
      "votes": null
    },
    {
      "id": "2768554",
      "postDate": "04/22/2024 23:22:35",
      "content": "<blockquote>\n  <p>do you mean it's much better than 0.15?</p>\n</blockquote>\n<p>Yes, I got much higher result, around 0.28X just by increasing images.</p>\n<blockquote>\n  <p>I think it's natural for the score to increase if you increase the number of images, as it makes it easier to triangulate.</p>\n</blockquote>\n<p>I see ! Thanks for sharing.</p>",
      "rawMarkdown": ">do you mean it's much better than 0.15?\n\nYes, I got much higher result, around 0.28X just by increasing images.\n\n\n>I think it's natural for the score to increase if you increase the number of images, as it makes it easier to triangulate.\n\nI see ! Thanks for sharing.",
      "votes": null
    },
    {
      "id": "2774024",
      "postDate": "04/25/2024 03:16:49",
      "content": "<p>Increasing the number of images, do I just need to increase the n_samples?</p>",
      "rawMarkdown": "Increasing the number of images, do I just need to increase the n_samples?",
      "votes": null
    },
    {
      "id": "2774042",
      "postDate": "04/25/2024 03:26:37",
      "content": "<blockquote>\n  <p>Increasing the number of images, do I just need to increase the n_samples?</p>\n</blockquote>\n<p>Yes. <br>\nJust increasing n_samples will result in higher validation score while it takes more time to evaluate.</p>",
      "rawMarkdown": ">Increasing the number of images, do I just need to increase the n_samples?\n\nYes. \nJust increasing n_samples will result in higher validation score while it takes more time to evaluate.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2758950,
      "author_name": "fabiobellavia",
      "author_url": "",
      "post_date": "04/18/2024 12:03:20",
      "content": "<p>The number of scenes per image for the test set was chosen to allow metric evaluation within an hour. Actually, I don't think that anyone could be able to finish on a Kaggle notebook a pose estimation for scene of 700 images within the competition time constraints.</p>",
      "votes": null,
      "replies": [
        {
          "id": 2758960,
          "author_name": "bamps53",
          "author_url": "",
          "post_date": "04/18/2024 12:11:22",
          "content": "<p><a href=\"https://www.kaggle.com/fabiobellavia\" target=\"_blank\">@fabiobellavia</a> Thanks for the quick response!  <br>\nJust to clarify, does this mean that the number of images in the test set is small enough to finish within an hour, or does the metric use only a subset of images in the test set?</p>",
          "votes": null,
          "replies": [
            {
              "id": 2758983,
              "author_name": "renyiwei",
              "author_url": "",
              "post_date": "04/18/2024 12:28:59",
              "content": "<p>I haven't never fully inspected the metric, but the time complexity is certainly above O(N^4) with heavy computations. That being said, it's quite possible to run it on scenes with less than 100 images, and that's likely the number of images in every scene in the test set. </p>",
              "votes": null,
              "replies": []
            },
            {
              "id": 2758990,
              "author_name": "fabiobellavia",
              "author_url": "",
              "post_date": "04/18/2024 12:32:25",
              "content": "<p>The first you said.</p>",
              "votes": null,
              "replies": []
            }
          ]
        }
      ]
    },
    {
      "id": 2758961,
      "author_name": "kashiwaba",
      "author_url": "",
      "post_date": "04/18/2024 12:11:48",
      "content": "<p>I tried to evaluate the baseline with the full data set, but it was impossible.<br>\nI modified the script a bit to show an ETA, and it looks like it will take about four full days to evaluate the full data set of ponds.<br>\nFor now, for \"pond\" and \"lizard\", I am checking scores on a randomly selected sub-dataset.</p>",
      "votes": null,
      "replies": [
        {
          "id": 2758975,
          "author_name": "bamps53",
          "author_url": "",
          "post_date": "04/18/2024 12:23:41",
          "content": "<p>Same for me. I discard images more than 100.  <br>\nIt seems the metric runs something like RANSAC in n^3 loop…</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 2759011,
          "author_name": "oldufo",
          "author_url": "",
          "post_date": "04/18/2024 12:44:59",
          "content": "<p>You can create your own “test” set from training, by the analogy with the “church” scene : by selecting a subset &lt;100 images with covisibility and random ordering </p>",
          "votes": null,
          "replies": [
            {
              "id": 2760418,
              "author_name": "bamps53",
              "author_url": "",
              "post_date": "04/19/2024 09:46:02",
              "content": "<p>Interesting. But how can we replicate the covisibility of the hidden test set?</p>",
              "votes": null,
              "replies": [
                {
                  "id": 2763671,
                  "author_name": "oldufo",
                  "author_url": "",
                  "post_date": "04/20/2024 17:06:47",
                  "content": "<p>Good question. Last year participants didn't have even a single scene in the \"open test\" set ;)</p>",
                  "votes": null,
                  "replies": []
                }
              ]
            }
          ]
        },
        {
          "id": 2759914,
          "author_name": "clearwaterkzk",
          "author_url": "",
          "post_date": "04/19/2024 02:26:06",
          "content": "<p>Just for reference, it took around 8 min  for my env to run validation for sampled dataset up to 110 in each scene.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 2759111,
      "author_name": "vostankovich",
      "author_url": "",
      "post_date": "04/18/2024 13:48:45",
      "content": "<p>Orgs said test scenes include up to 100 images <a href=\"https://www.kaggle.com/competitions/image-matching-challenge-2024/discussion/486584\" target=\"_blank\">here</a>. I guess we should not expect more than 100 images in any scene.</p>",
      "votes": null,
      "replies": [
        {
          "id": 2760416,
          "author_name": "bamps53",
          "author_url": "",
          "post_date": "04/19/2024 09:43:56",
          "content": "<p>Thanks, I missed that!</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 2767887,
      "author_name": "clearwaterkzk",
      "author_url": "",
      "post_date": "04/22/2024 14:54:33",
      "content": "<p>Hi, did anyone try calculating the validation with <em>somehow</em> sampled train data?<br>\nI sampled 110 images per scene and the validation result is quite different from 0.15 in <a href=\"https://www.kaggle.com/code/nartaa/imc2024-starter/notebook\" target=\"_blank\">this notebook</a>.</p>",
      "votes": null,
      "replies": [
        {
          "id": 2768517,
          "author_name": "bamps53",
          "author_url": "",
          "post_date": "04/22/2024 22:37:41",
          "content": "<p><a href=\"https://www.kaggle.com/clearwaterkzk\" target=\"_blank\">@clearwaterkzk</a> <br>\ndo you mean it's much better than 0.15?<br>\nI think it's natural for the score to increase if you increase the number of images, as it makes it easier to triangulate.</p>",
          "votes": null,
          "replies": [
            {
              "id": 2768554,
              "author_name": "clearwaterkzk",
              "author_url": "",
              "post_date": "04/22/2024 23:22:35",
              "content": "<blockquote>\n  <p>do you mean it's much better than 0.15?</p>\n</blockquote>\n<p>Yes, I got much higher result, around 0.28X just by increasing images.</p>\n<blockquote>\n  <p>I think it's natural for the score to increase if you increase the number of images, as it makes it easier to triangulate.</p>\n</blockquote>\n<p>I see ! Thanks for sharing.</p>",
              "votes": null,
              "replies": [
                {
                  "id": 2774024,
                  "author_name": "huangxiao309",
                  "author_url": "",
                  "post_date": "04/25/2024 03:16:49",
                  "content": "<p>Increasing the number of images, do I just need to increase the n_samples?</p>",
                  "votes": null,
                  "replies": [
                    {
                      "id": 2774042,
                      "author_name": "clearwaterkzk",
                      "author_url": "",
                      "post_date": "04/25/2024 03:26:37",
                      "content": "<blockquote>\n  <p>Increasing the number of images, do I just need to increase the n_samples?</p>\n</blockquote>\n<p>Yes. <br>\nJust increasing n_samples will result in higher validation score while it takes more time to evaluate.</p>",
                      "votes": null,
                      "replies": []
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2758931": "I tried running [this metric](https://www.kaggle.com/code/fabiobellavia/imc2024-3d-metric-evaluation-example) on the full training set (without randomly dropping images), but it seems to take forever for `pond`, which has more than 700 images.\n\nThe questions are:\n\n1. Has anyone successfully calculated the metric for the full training set?\n2. How does the actual competition metric handle scenes that have many images? Does it also select randomly?\n@oldufo",
    "2758950": "The number of scenes per image for the test set was chosen to allow metric evaluation within an hour. Actually, I don't think that anyone could be able to finish on a Kaggle notebook a pose estimation for scene of 700 images within the competition time constraints.",
    "2758960": "fabiobellavia Thanks for the quick response!  \nJust to clarify, does this mean that the number of images in the test set is small enough to finish within an hour, or does the metric use only a subset of images in the test set?",
    "2758961": "I tried to evaluate the baseline with the full data set, but it was impossible.\nI modified the script a bit to show an ETA, and it looks like it will take about four full days to evaluate the full data set of ponds.\nFor now, for \"pond\" and \"lizard\", I am checking scores on a randomly selected sub-dataset.",
    "2758975": "Same for me. I discard images more than 100.  \nIt seems the metric runs something like RANSAC in n^3 loop...",
    "2758983": "I haven't never fully inspected the metric, but the time complexity is certainly above O(N^4) with heavy computations. That being said, it's quite possible to run it on scenes with less than 100 images, and that's likely the number of images in every scene in the test set.",
    "2758990": "The first you said.",
    "2759011": "You can create your own “test” set from training, by the analogy with the “church” scene : by selecting a subset <100 images with covisibility and random ordering",
    "2759111": "Orgs said test scenes include up to 100 images [here](https://www.kaggle.com/competitions/image-matching-challenge-2024/discussion/486584). I guess we should not expect more than 100 images in any scene.",
    "2759914": "Just for reference, it took around 8 min  for my env to run validation for sampled dataset up to 110 in each scene.",
    "2760416": "Thanks, I missed that!",
    "2760418": "Interesting. But how can we replicate the covisibility of the hidden test set?",
    "2763671": "Good question. Last year participants didn't have even a single scene in the \"open test\" set ;)",
    "2767887": "Hi, did anyone try calculating the validation with *somehow* sampled train data?\nI sampled 110 images per scene and the validation result is quite different from 0.15 in [this notebook](https://www.kaggle.com/code/nartaa/imc2024-starter/notebook).",
    "2768517": "clearwaterkzk \ndo you mean it's much better than 0.15?\nI think it's natural for the score to increase if you increase the number of images, as it makes it easier to triangulate.",
    "2768554": ">do you mean it's much better than 0.15?\n\nYes, I got much higher result, around 0.28X just by increasing images.\n\n\n>I think it's natural for the score to increase if you increase the number of images, as it makes it easier to triangulate.\n\nI see ! Thanks for sharing.",
    "2774024": "Increasing the number of images, do I just need to increase the n_samples?",
    "2774042": ">Increasing the number of images, do I just need to increase the n_samples?\n\nYes. \nJust increasing n_samples will result in higher validation score while it takes more time to evaluate."
  },
  "source": "meta"
}