{
  "id": 78951,
  "title": "Using bounding box gives worse results?",
  "url": "/competitions/humpback-whale-identification/discussion/78951",
  "author_name": "",
  "post_date": "2019-01-29T11:17:38.335538700Z",
  "votes": 4,
  "comment_count": 8,
  "views": 0,
  "content": "<p>Hi, I was using metric learning with/without bounding box. The bounding box is extracted by using \n <a href=\"https://www.kaggle.com/martinpiotte/bounding-box-model\">https://www.kaggle.com/martinpiotte/bounding-box-model</a> , but it seems that adding bounding box gives worse results. </p>\n\n<p>I evaluate martinpiotte's bounding box model by calculating IoU based on the annotatation provided by <a href=\"https://www.kaggle.com/c/humpback-whale-identification/discussion/76281\">https://www.kaggle.com/c/humpback-whale-identification/discussion/76281</a> , the iou is about 0.88, I think the detection result is OK, but adding bounding box to metric learning actually gives bad results, which surprised me.</p>\n\n<p>May I ask did you encounter similar issue? How did you solve it?</p>",
  "messages": [
    {
      "id": "463080",
      "postDate": "01/29/2019 11:17:38",
      "content": "<p>Hi, I was using metric learning with/without bounding box. The bounding box is extracted by using \n <a href=\"https://www.kaggle.com/martinpiotte/bounding-box-model\">https://www.kaggle.com/martinpiotte/bounding-box-model</a> , but it seems that adding bounding box gives worse results. </p>\n\n<p>I evaluate martinpiotte's bounding box model by calculating IoU based on the annotatation provided by <a href=\"https://www.kaggle.com/c/humpback-whale-identification/discussion/76281\">https://www.kaggle.com/c/humpback-whale-identification/discussion/76281</a> , the iou is about 0.88, I think the detection result is OK, but adding bounding box to metric learning actually gives bad results, which surprised me.</p>\n\n<p>May I ask did you encounter similar issue? How did you solve it?</p>",
      "rawMarkdown": "Hi, I was using metric learning with/without bounding box. The bounding box is extracted by using \n https://www.kaggle.com/martinpiotte/bounding-box-model , but it seems that adding bounding box gives worse results. \n\nI evaluate martinpiotte's bounding box model by calculating IoU based on the annotatation provided by https://www.kaggle.com/c/humpback-whale-identification/discussion/76281 , the iou is about 0.88, I think the detection result is OK, but adding bounding box to metric learning actually gives bad results, which surprised me.\n\n\nMay I ask did you encounter similar issue? How did you solve it?",
      "votes": null
    },
    {
      "id": "463310",
      "postDate": "01/29/2019 19:32:48",
      "content": "<p>I did not try without bounding boxes, all my tests are with them... but mainly I tried submissions for now without new whales on the csv... To comapre results could you ask me -&gt; <a href=\"https://www.kaggle.com/c/humpback-whale-identification/discussion/77489\">https://www.kaggle.com/c/humpback-whale-identification/discussion/77489</a> When I have results without bounding boxes I will post them!</p>",
      "rawMarkdown": "I did not try without bounding boxes, all my tests are with them... but mainly I tried submissions for now without new whales on the csv... To comapre results could you ask me -&gt; https://www.kaggle.com/c/humpback-whale-identification/discussion/77489 When I have results without bounding boxes I will post them!",
      "votes": null
    },
    {
      "id": "464105",
      "postDate": "01/31/2019 07:49:55",
      "content": "<p>bounding box works for me.</p>",
      "rawMarkdown": "bounding box works for me.",
      "votes": null
    },
    {
      "id": "464131",
      "postDate": "01/31/2019 08:36:27",
      "content": "<p>Can I ask you whats your LB for your submission without new whales?</p>",
      "rawMarkdown": "Can I ask you whats your LB for your submission without new whales?",
      "votes": null
    },
    {
      "id": "464197",
      "postDate": "01/31/2019 10:59:47",
      "content": "<p>May I ask how do you get bounding box? Do you use martinpiotte's pretrained model from <a href=\"https://www.kaggle.com/martinpiotte/bounding-box-model\">https://www.kaggle.com/martinpiotte/bounding-box-model</a> ?</p>",
      "rawMarkdown": "May I ask how do you get bounding box? Do you use martinpiotte's pretrained model from https://www.kaggle.com/martinpiotte/bounding-box-model ?",
      "votes": null
    },
    {
      "id": "464567",
      "postDate": "02/01/2019 04:56:12",
      "content": "<p>Actually I don't know how to use this code, so I trained one myself.</p>",
      "rawMarkdown": "Actually I don't know how to use this code, so I trained one myself.",
      "votes": null
    },
    {
      "id": "464568",
      "postDate": "02/01/2019 05:00:49",
      "content": "<p>I didn't try Without new whale. I think the most important task in this competition is dealing with the 'new whale' . </p>",
      "rawMarkdown": "I didn't try Without new whale. I think the most important task in this competition is dealing with the 'new whale' .",
      "votes": null
    },
    {
      "id": "470523",
      "postDate": "02/13/2019 05:43:58",
      "content": "<p>Same observation here. Just report that the bounding boxes has tons of low quality detections, which is a disaster to the metric learning model proposed by Piotte. By hard example mining, the model would easily overfit to the noisy data, which may explain the worse result.</p>\n\n<p>My solution is letting hard example mining work for several epochs to overfit, then remove all the training samples it overfits to. Kinda works</p>",
      "rawMarkdown": "Same observation here. Just report that the bounding boxes has tons of low quality detections, which is a disaster to the metric learning model proposed by Piotte. By hard example mining, the model would easily overfit to the noisy data, which may explain the worse result.\n\nMy solution is letting hard example mining work for several epochs to overfit, then remove all the training samples it overfits to. Kinda works",
      "votes": null
    },
    {
      "id": "470643",
      "postDate": "02/13/2019 09:55:46",
      "content": "<p>Simple thing to check bad bboxes: file size: if too small, then it is probably bad. Same with std(image). Then you can manually check candidates.\nFor me, this thing + public bboxes were enough.</p>",
      "rawMarkdown": "Simple thing to check bad bboxes: file size: if too small, then it is probably bad. Same with std(image). Then you can manually check candidates.\nFor me, this thing + public bboxes were enough.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 463310,
      "author_name": "maparla",
      "author_url": "",
      "post_date": "01/29/2019 19:32:48",
      "content": "<p>I did not try without bounding boxes, all my tests are with them... but mainly I tried submissions for now without new whales on the csv... To comapre results could you ask me -&gt; <a href=\"https://www.kaggle.com/c/humpback-whale-identification/discussion/77489\">https://www.kaggle.com/c/humpback-whale-identification/discussion/77489</a> When I have results without bounding boxes I will post them!</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 464105,
      "author_name": "xf1994",
      "author_url": "",
      "post_date": "01/31/2019 07:49:55",
      "content": "<p>bounding box works for me.</p>",
      "votes": null,
      "replies": [
        {
          "id": 464131,
          "author_name": "maparla",
          "author_url": "",
          "post_date": "01/31/2019 08:36:27",
          "content": "<p>Can I ask you whats your LB for your submission without new whales?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 464197,
          "author_name": "zjucor",
          "author_url": "",
          "post_date": "01/31/2019 10:59:47",
          "content": "<p>May I ask how do you get bounding box? Do you use martinpiotte's pretrained model from <a href=\"https://www.kaggle.com/martinpiotte/bounding-box-model\">https://www.kaggle.com/martinpiotte/bounding-box-model</a> ?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 464567,
          "author_name": "xf1994",
          "author_url": "",
          "post_date": "02/01/2019 04:56:12",
          "content": "<p>Actually I don't know how to use this code, so I trained one myself.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 464568,
          "author_name": "xf1994",
          "author_url": "",
          "post_date": "02/01/2019 05:00:49",
          "content": "<p>I didn't try Without new whale. I think the most important task in this competition is dealing with the 'new whale' . </p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 470523,
      "author_name": "atm584",
      "author_url": "",
      "post_date": "02/13/2019 05:43:58",
      "content": "<p>Same observation here. Just report that the bounding boxes has tons of low quality detections, which is a disaster to the metric learning model proposed by Piotte. By hard example mining, the model would easily overfit to the noisy data, which may explain the worse result.</p>\n\n<p>My solution is letting hard example mining work for several epochs to overfit, then remove all the training samples it overfits to. Kinda works</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 470643,
      "author_name": "oldufo",
      "author_url": "",
      "post_date": "02/13/2019 09:55:46",
      "content": "<p>Simple thing to check bad bboxes: file size: if too small, then it is probably bad. Same with std(image). Then you can manually check candidates.\nFor me, this thing + public bboxes were enough.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "463080": "Hi, I was using metric learning with/without bounding box. The bounding box is extracted by using \n https://www.kaggle.com/martinpiotte/bounding-box-model , but it seems that adding bounding box gives worse results. \n\nI evaluate martinpiotte's bounding box model by calculating IoU based on the annotatation provided by https://www.kaggle.com/c/humpback-whale-identification/discussion/76281 , the iou is about 0.88, I think the detection result is OK, but adding bounding box to metric learning actually gives bad results, which surprised me.\n\n\nMay I ask did you encounter similar issue? How did you solve it?",
    "463310": "I did not try without bounding boxes, all my tests are with them... but mainly I tried submissions for now without new whales on the csv... To comapre results could you ask me -&gt; https://www.kaggle.com/c/humpback-whale-identification/discussion/77489 When I have results without bounding boxes I will post them!",
    "464105": "bounding box works for me.",
    "464131": "Can I ask you whats your LB for your submission without new whales?",
    "464197": "May I ask how do you get bounding box? Do you use martinpiotte's pretrained model from https://www.kaggle.com/martinpiotte/bounding-box-model ?",
    "464567": "Actually I don't know how to use this code, so I trained one myself.",
    "464568": "I didn't try Without new whale. I think the most important task in this competition is dealing with the 'new whale' .",
    "470523": "Same observation here. Just report that the bounding boxes has tons of low quality detections, which is a disaster to the metric learning model proposed by Piotte. By hard example mining, the model would easily overfit to the noisy data, which may explain the worse result.\n\nMy solution is letting hard example mining work for several epochs to overfit, then remove all the training samples it overfits to. Kinda works",
    "470643": "Simple thing to check bad bboxes: file size: if too small, then it is probably bad. Same with std(image). Then you can manually check candidates.\nFor me, this thing + public bboxes were enough."
  },
  "source": "meta"
}