{
  "id": 163263,
  "title": "Another issue with labels",
  "url": "/competitions/global-wheat-detection/discussion/163263",
  "author_name": "",
  "post_date": "2020-07-01T13:37:29.722893300Z",
  "votes": 10,
  "comment_count": 5,
  "views": 0,
  "content": "<p>After quick error analysis I found multiple (hundreds) errors in train labels, some of them I attached. Also after removing them from train, I got high and stable cv score but lower lb score, so I suppose that test labels are also dirty.</p>\n\n<p>Could you manual check test labelling and fix it if it's wrong? Or suggest another solution? @maggiemd @bendvd</p>\n\n<p>I think that you want to get a good tool for labellling instead of overfitting to dirty labels.</p>\n\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1555050%2F4fb3adaeba5141bb44fc30a20cca7f5a%2F6.png?generation=1593610342732040&amp;alt=media\" alt=\"\">\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1555050%2Fc0464500e497a0276eaca2429bdd06d0%2F1.png?generation=1593610342569905&amp;alt=media\" alt=\"\">\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1555050%2Fc4131113d05f95fa15b112d8a131256d%2F4.png?generation=1593610342442139&amp;alt=media\" alt=\"\">\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1555050%2F49afe21891958df194975088a157728e%2F5.png?generation=1593610340958000&amp;alt=media\" alt=\"\">\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1555050%2Fd80c4e6cefff9f4b303dd928e8e2959e%2F3.png?generation=1593610337861238&amp;alt=media\" alt=\"\"></p>",
  "messages": [
    {
      "id": "910985",
      "postDate": "07/01/2020 13:37:29",
      "content": "<p>After quick error analysis I found multiple (hundreds) errors in train labels, some of them I attached. Also after removing them from train, I got high and stable cv score but lower lb score, so I suppose that test labels are also dirty.</p>\n\n<p>Could you manual check test labelling and fix it if it's wrong? Or suggest another solution? @maggiemd @bendvd</p>\n\n<p>I think that you want to get a good tool for labellling instead of overfitting to dirty labels.</p>\n\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1555050%2F4fb3adaeba5141bb44fc30a20cca7f5a%2F6.png?generation=1593610342732040&amp;alt=media\" alt=\"\">\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1555050%2Fc0464500e497a0276eaca2429bdd06d0%2F1.png?generation=1593610342569905&amp;alt=media\" alt=\"\">\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1555050%2Fc4131113d05f95fa15b112d8a131256d%2F4.png?generation=1593610342442139&amp;alt=media\" alt=\"\">\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1555050%2F49afe21891958df194975088a157728e%2F5.png?generation=1593610340958000&amp;alt=media\" alt=\"\">\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1555050%2Fd80c4e6cefff9f4b303dd928e8e2959e%2F3.png?generation=1593610337861238&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "After quick error analysis I found multiple (hundreds) errors in train labels, some of them I attached. Also after removing them from train, I got high and stable cv score but lower lb score, so I suppose that test labels are also dirty.\n\nCould you manual check test labelling and fix it if it's wrong? Or suggest another solution? @maggiemd @bendvd\n\nI think that you want to get a good tool for labellling instead of overfitting to dirty labels.\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1555050%2F4fb3adaeba5141bb44fc30a20cca7f5a%2F6.png?generation=1593610342732040&amp;alt=media)\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1555050%2Fc0464500e497a0276eaca2429bdd06d0%2F1.png?generation=1593610342569905&amp;alt=media)\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1555050%2Fc4131113d05f95fa15b112d8a131256d%2F4.png?generation=1593610342442139&amp;alt=media)\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1555050%2F49afe21891958df194975088a157728e%2F5.png?generation=1593610340958000&amp;alt=media)\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1555050%2Fd80c4e6cefff9f4b303dd928e8e2959e%2F3.png?generation=1593610337861238&amp;alt=media)",
      "votes": null
    },
    {
      "id": "911156",
      "postDate": "07/01/2020 15:40:59",
      "content": "<p>These come from the original images being split up into 1024 patches. I would hope that they at least fix these for the private test set, as they indicated in their last update. Though with the quality of the data being what it is... I wouldn't be too confident that it'll be get fixed properly.</p>",
      "rawMarkdown": "These come from the original images being split up into 1024 patches. I would hope that they at least fix these for the private test set, as they indicated in their last update. Though with the quality of the data being what it is... I wouldn't be too confident that it'll be get fixed properly.",
      "votes": null
    },
    {
      "id": "912061",
      "postDate": "07/02/2020 07:23:42",
      "content": "<p>I had a model which predicts a very tight bbox around the wheat-heads and it looked very promising but got LB score of  lesser than <code>.6</code>, it was really saddening. The reason me going for that approach is after I saw a comment by the competition host. </p>\n\n<blockquote>\n  <p>In the test set, the bbox are tight to the wheat head (you need to trust me on this one ^^).\n  <a href=\"https://www.kaggle.com/c/global-wheat-detection/discussion/150781#896963\">https://www.kaggle.com/c/global-wheat-detection/discussion/150781#896963</a></p>\n</blockquote>",
      "rawMarkdown": "I had a model which predicts a very tight bbox around the wheat-heads and it looked very promising but got LB score of  lesser than `.6`, it was really saddening. The reason me going for that approach is after I saw a comment by the competition host. \n&gt; In the test set, the bbox are tight to the wheat head (you need to trust me on this one ^^).\nhttps://www.kaggle.com/c/global-wheat-detection/discussion/150781#896963",
      "votes": null
    },
    {
      "id": "912454",
      "postDate": "07/02/2020 13:38:46",
      "content": "<p>How would you train a model to predict very tight boxes? As a lot of the training data has boxes which have a lot of space around each wheat head</p>",
      "rawMarkdown": "How would you train a model to predict very tight boxes? As a lot of the training data has boxes which have a lot of space around each wheat head",
      "votes": null
    },
    {
      "id": "912763",
      "postDate": "07/02/2020 17:55:00",
      "content": "<p><a href=\"/matthewmasters\">@matthewmasters</a> I trained a small segmentation model (64*64) that crops out only wheat heads given a bounding box. Fine-tuning with less amount of data was enough to get a good result. The next step was iterate over \n<code>train.csv -&amp;gt; crop BBOX image -&amp;gt; run_segmentation -&amp;gt; reassign xmin,ymin,xmax,ymax -&amp;gt; repeat</code>\nUsing this correction I trained my detection model. Although the new bbox correction was not perfect but it looked better than the existing one and thus was really positive to climb the LB but unfortunately it didn't. I still have the corrected bbox CSV file, don't know if it is even allowed or worth the share. </p>",
      "rawMarkdown": "matthewmasters I trained a small segmentation model (64*64) that crops out only wheat heads given a bounding box. Fine-tuning with less amount of data was enough to get a good result. The next step was iterate over \n`train.csv -&gt; crop BBOX image -&gt; run_segmentation -&gt; reassign xmin,ymin,xmax,ymax -&gt; repeat `\nUsing this correction I trained my detection model. Although the new bbox correction was not perfect but it looked better than the existing one and thus was really positive to climb the LB but unfortunately it didn't. I still have the corrected bbox CSV file, don't know if it is even allowed or worth the share.",
      "votes": null
    },
    {
      "id": "912782",
      "postDate": "07/02/2020 18:07:12",
      "content": "<p>Here are some few examples. I do agree that sometimes that bbox closes more to the wheat box leading to miss some area. (<strong>BLUE</strong>: Original BBox, <strong>RED</strong>: Corrected BBox)\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1231059%2F1cf99822e075d08d97e997ae857337fb%2Fexample1.png?generation=1593713003593697&amp;alt=media\" alt=\"\">\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1231059%2F64563d42958799919081a4ff1e639e9f%2Fexample2.png?generation=1593713135880495&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "Here are some few examples. I do agree that sometimes that bbox closes more to the wheat box leading to miss some area. (**BLUE**: Original BBox, **RED**: Corrected BBox)\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1231059%2F1cf99822e075d08d97e997ae857337fb%2Fexample1.png?generation=1593713003593697&amp;alt=media)\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1231059%2F64563d42958799919081a4ff1e639e9f%2Fexample2.png?generation=1593713135880495&amp;alt=media)",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 911156,
      "author_name": "matthewmasters",
      "author_url": "",
      "post_date": "07/01/2020 15:40:59",
      "content": "<p>These come from the original images being split up into 1024 patches. I would hope that they at least fix these for the private test set, as they indicated in their last update. Though with the quality of the data being what it is... I wouldn't be too confident that it'll be get fixed properly.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 912061,
      "author_name": "bendang",
      "author_url": "",
      "post_date": "07/02/2020 07:23:42",
      "content": "<p>I had a model which predicts a very tight bbox around the wheat-heads and it looked very promising but got LB score of  lesser than <code>.6</code>, it was really saddening. The reason me going for that approach is after I saw a comment by the competition host. </p>\n\n<blockquote>\n  <p>In the test set, the bbox are tight to the wheat head (you need to trust me on this one ^^).\n  <a href=\"https://www.kaggle.com/c/global-wheat-detection/discussion/150781#896963\">https://www.kaggle.com/c/global-wheat-detection/discussion/150781#896963</a></p>\n</blockquote>",
      "votes": null,
      "replies": [
        {
          "id": 912454,
          "author_name": "matthewmasters",
          "author_url": "",
          "post_date": "07/02/2020 13:38:46",
          "content": "<p>How would you train a model to predict very tight boxes? As a lot of the training data has boxes which have a lot of space around each wheat head</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 912763,
          "author_name": "bendang",
          "author_url": "",
          "post_date": "07/02/2020 17:55:00",
          "content": "<p><a href=\"/matthewmasters\">@matthewmasters</a> I trained a small segmentation model (64*64) that crops out only wheat heads given a bounding box. Fine-tuning with less amount of data was enough to get a good result. The next step was iterate over \n<code>train.csv -&amp;gt; crop BBOX image -&amp;gt; run_segmentation -&amp;gt; reassign xmin,ymin,xmax,ymax -&amp;gt; repeat</code>\nUsing this correction I trained my detection model. Although the new bbox correction was not perfect but it looked better than the existing one and thus was really positive to climb the LB but unfortunately it didn't. I still have the corrected bbox CSV file, don't know if it is even allowed or worth the share. </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 912782,
          "author_name": "bendang",
          "author_url": "",
          "post_date": "07/02/2020 18:07:12",
          "content": "<p>Here are some few examples. I do agree that sometimes that bbox closes more to the wheat box leading to miss some area. (<strong>BLUE</strong>: Original BBox, <strong>RED</strong>: Corrected BBox)\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1231059%2F1cf99822e075d08d97e997ae857337fb%2Fexample1.png?generation=1593713003593697&amp;alt=media\" alt=\"\">\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1231059%2F64563d42958799919081a4ff1e639e9f%2Fexample2.png?generation=1593713135880495&amp;alt=media\" alt=\"\"></p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "910985": "After quick error analysis I found multiple (hundreds) errors in train labels, some of them I attached. Also after removing them from train, I got high and stable cv score but lower lb score, so I suppose that test labels are also dirty.\n\nCould you manual check test labelling and fix it if it's wrong? Or suggest another solution? @maggiemd @bendvd\n\nI think that you want to get a good tool for labellling instead of overfitting to dirty labels.\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1555050%2F4fb3adaeba5141bb44fc30a20cca7f5a%2F6.png?generation=1593610342732040&amp;alt=media)\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1555050%2Fc0464500e497a0276eaca2429bdd06d0%2F1.png?generation=1593610342569905&amp;alt=media)\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1555050%2Fc4131113d05f95fa15b112d8a131256d%2F4.png?generation=1593610342442139&amp;alt=media)\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1555050%2F49afe21891958df194975088a157728e%2F5.png?generation=1593610340958000&amp;alt=media)\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1555050%2Fd80c4e6cefff9f4b303dd928e8e2959e%2F3.png?generation=1593610337861238&amp;alt=media)",
    "911156": "These come from the original images being split up into 1024 patches. I would hope that they at least fix these for the private test set, as they indicated in their last update. Though with the quality of the data being what it is... I wouldn't be too confident that it'll be get fixed properly.",
    "912061": "I had a model which predicts a very tight bbox around the wheat-heads and it looked very promising but got LB score of  lesser than `.6`, it was really saddening. The reason me going for that approach is after I saw a comment by the competition host. \n&gt; In the test set, the bbox are tight to the wheat head (you need to trust me on this one ^^).\nhttps://www.kaggle.com/c/global-wheat-detection/discussion/150781#896963",
    "912454": "How would you train a model to predict very tight boxes? As a lot of the training data has boxes which have a lot of space around each wheat head",
    "912763": "matthewmasters I trained a small segmentation model (64*64) that crops out only wheat heads given a bounding box. Fine-tuning with less amount of data was enough to get a good result. The next step was iterate over \n`train.csv -&gt; crop BBOX image -&gt; run_segmentation -&gt; reassign xmin,ymin,xmax,ymax -&gt; repeat `\nUsing this correction I trained my detection model. Although the new bbox correction was not perfect but it looked better than the existing one and thus was really positive to climb the LB but unfortunately it didn't. I still have the corrected bbox CSV file, don't know if it is even allowed or worth the share.",
    "912782": "Here are some few examples. I do agree that sometimes that bbox closes more to the wheat box leading to miss some area. (**BLUE**: Original BBox, **RED**: Corrected BBox)\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1231059%2F1cf99822e075d08d97e997ae857337fb%2Fexample1.png?generation=1593713003593697&amp;alt=media)\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1231059%2F64563d42958799919081a4ff1e639e9f%2Fexample2.png?generation=1593713135880495&amp;alt=media)"
  },
  "source": "meta"
}