{
  "id": 167125,
  "title": "EfficientDet",
  "url": "/competitions/global-wheat-detection/discussion/167125",
  "author_name": "",
  "post_date": "2020-07-15T09:56:40.911817500Z",
  "votes": 1,
  "comment_count": 15,
  "views": 0,
  "content": "<p>i am currently using efficientdet-5\nlb = 0.7445 (no pseudo labeling)\nwith pseudo labeling lb become 0.7323\nis anyone facing this problem or have solved this problem\nplease give some tips</p>",
  "messages": [
    {
      "id": "930253",
      "postDate": "07/15/2020 09:56:40",
      "content": "<p>i am currently using efficientdet-5\nlb = 0.7445 (no pseudo labeling)\nwith pseudo labeling lb become 0.7323\nis anyone facing this problem or have solved this problem\nplease give some tips</p>",
      "rawMarkdown": "i am currently using efficientdet-5\nlb = 0.7445 (no pseudo labeling)\nwith pseudo labeling lb become 0.7323\nis anyone facing this problem or have solved this problem\nplease give some tips",
      "votes": null
    },
    {
      "id": "930259",
      "postDate": "07/15/2020 10:01:05",
      "content": "<p>Does efficientdet comply with competition rules? Isnt it Apache licensed?</p>",
      "rawMarkdown": "Does efficientdet comply with competition rules? Isnt it Apache licensed?",
      "votes": null
    },
    {
      "id": "930304",
      "postDate": "07/15/2020 10:50:18",
      "content": "<p><a href=\"/abhishek\">@abhishek</a> I came across this <a href=\"https://github.com/rwightman/efficientdet-pytorch/issues/51\">https://github.com/rwightman/efficientdet-pytorch/issues/51</a> .. also here <a href=\"https://www.kaggle.com/c/global-wheat-detection/discussion/164845#923524\">https://www.kaggle.com/c/global-wheat-detection/discussion/164845#923524</a></p>",
      "rawMarkdown": "abhishek I came across this https://github.com/rwightman/efficientdet-pytorch/issues/51 .. also here https://www.kaggle.com/c/global-wheat-detection/discussion/164845#923524",
      "votes": null
    },
    {
      "id": "930565",
      "postDate": "07/15/2020 14:51:18",
      "content": "<p>I don't use efficientDet, but I also faced with the problem of decreasing LB scores after using pseudo labeling.</p>",
      "rawMarkdown": "I don't use efficientDet, but I also faced with the problem of decreasing LB scores after using pseudo labeling.",
      "votes": null
    },
    {
      "id": "930844",
      "postDate": "07/15/2020 18:41:23",
      "content": "<p>Maybe you are overfitting? Have you selected only the most confident bounding boxes?</p>",
      "rawMarkdown": "Maybe you are overfitting? Have you selected only the most confident bounding boxes?",
      "votes": null
    },
    {
      "id": "930860",
      "postDate": "07/15/2020 18:53:14",
      "content": "<p>yeah with some tta and wbf</p>",
      "rawMarkdown": "yeah with some tta and wbf",
      "votes": null
    },
    {
      "id": "930865",
      "postDate": "07/15/2020 18:56:51",
      "content": "<p>Are you using the TTA for both the pseudolabels and final prediction? If you left it off of one, maybe that's the reason for the lower score(?)</p>",
      "rawMarkdown": "Are you using the TTA for both the pseudolabels and final prediction? If you left it off of one, maybe that's the reason for the lower score(?)",
      "votes": null
    },
    {
      "id": "930877",
      "postDate": "07/15/2020 19:14:22",
      "content": "<p>tta and wbf for both the pseudolabels and final prediction</p>",
      "rawMarkdown": "tta and wbf for both the pseudolabels and final prediction",
      "votes": null
    },
    {
      "id": "931013",
      "postDate": "07/15/2020 22:36:05",
      "content": "<p>I have the same kind of problem. Did you figure out why? I guess it's just overfitting?</p>",
      "rawMarkdown": "I have the same kind of problem. Did you figure out why? I guess it's just overfitting?",
      "votes": null
    },
    {
      "id": "935801",
      "postDate": "07/19/2020 16:34:15",
      "content": "<p><a href=\"https://www.kaggle.com/c/global-wheat-detection/discussion/167298\" target=\"_blank\">https://www.kaggle.com/c/global-wheat-detection/discussion/167298</a></p>\n<p>There are many commonly used permissive open source licenses (e.g., Apache 2.0, BSD 3.0, others) that are compatible with the MIT License and therefore are compliant with the Competition Rules.</p>",
      "rawMarkdown": "https://www.kaggle.com/c/global-wheat-detection/discussion/167298\n\n\nThere are many commonly used permissive open source licenses (e.g., Apache 2.0, BSD 3.0, others) that are compatible with the MIT License and therefore are compliant with the Competition Rules.",
      "votes": null
    },
    {
      "id": "936779",
      "postDate": "07/20/2020 14:19:58",
      "content": "<p>Have you solved this? I have the same problem. </p>",
      "rawMarkdown": "Have you solved this? I have the same problem.",
      "votes": null
    },
    {
      "id": "936797",
      "postDate": "07/20/2020 14:31:24",
      "content": "<p>i have used very strong augmentation<br>\ncutmix and affine in pseudo labeling<br>\nit increases lb score</p>",
      "rawMarkdown": "i have used very strong augmentation\ncutmix and affine in pseudo labeling\nit increases lb score",
      "votes": null
    },
    {
      "id": "936802",
      "postDate": "07/20/2020 14:35:46",
      "content": "<p>Cool ! Thanks</p>",
      "rawMarkdown": "Cool ! Thanks",
      "votes": null
    },
    {
      "id": "936868",
      "postDate": "07/20/2020 15:04:52",
      "content": "<p>That's great! Have you trained using this notebook: <a href=\"https://www.kaggle.com/shonenkov/training-efficientdet\">https://www.kaggle.com/shonenkov/training-efficientdet</a>? If so, how have you made it work? It seems the input of the net = get_net() model has changed a bit... \nThanks :)</p>",
      "rawMarkdown": "That's great! Have you trained using this notebook: https://www.kaggle.com/shonenkov/training-efficientdet? If so, how have you made it work? It seems the input of the net = get_net() model has changed a bit... \nThanks :)",
      "votes": null
    },
    {
      "id": "936983",
      "postDate": "07/20/2020 16:28:48",
      "content": "<p><a href=\"https://www.kaggle.com/sramirez/training-efficientdet-gradient-accumulation-f1\" target=\"_blank\">https://www.kaggle.com/sramirez/training-efficientdet-gradient-accumulation-f1</a></p>\n<p><a href=\"https://www.kaggle.com/shonenkov/training-efficientdet\" target=\"_blank\">https://www.kaggle.com/shonenkov/training-efficientdet</a></p>",
      "rawMarkdown": "https://www.kaggle.com/sramirez/training-efficientdet-gradient-accumulation-f1\n\nhttps://www.kaggle.com/shonenkov/training-efficientdet",
      "votes": null
    },
    {
      "id": "937058",
      "postDate": "07/20/2020 17:40:23",
      "content": "<p>Thanks for the first notebook. It seems the second input changed in the following fashion: </p>\n\n<p>```\n            targets2 = {}\n            targets2['bbox'] = [target['boxes'].to(self.device).float() for target in targets] # variable number of instances, so the entire structure can be forced to tensor\n            targets2['cls'] = [target['labels'].to(self.device).float() for target in targets]\n            targets2['image_id'] = torch.tensor([target['image_id'] for target in targets]).to(self.device).float()\n            targets2['img_scale'] = torch.tensor([target['img_scale'] for target in targets]).to(self.device).float()\n            targets2['img_size'] = torch.tensor([(IMG_SIZE, IMG_SIZE) for target in targets]).to(self.device).float()</p>\n\n<pre><code>        output = self.model(images, targets2)\n</code></pre>\n\n<p>```</p>",
      "rawMarkdown": "Thanks for the first notebook. It seems the second input changed in the following fashion: \n\n```\n            targets2 = {}\n            targets2['bbox'] = [target['boxes'].to(self.device).float() for target in targets] # variable number of instances, so the entire structure can be forced to tensor\n            targets2['cls'] = [target['labels'].to(self.device).float() for target in targets]\n            targets2['image_id'] = torch.tensor([target['image_id'] for target in targets]).to(self.device).float()\n            targets2['img_scale'] = torch.tensor([target['img_scale'] for target in targets]).to(self.device).float()\n            targets2['img_size'] = torch.tensor([(IMG_SIZE, IMG_SIZE) for target in targets]).to(self.device).float()\n            \n            output = self.model(images, targets2)\n```",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 935801,
      "author_name": "ajax0564",
      "author_url": "",
      "post_date": "07/19/2020 16:34:15",
      "content": "<p><a href=\"https://www.kaggle.com/c/global-wheat-detection/discussion/167298\" target=\"_blank\">https://www.kaggle.com/c/global-wheat-detection/discussion/167298</a></p>\n<p>There are many commonly used permissive open source licenses (e.g., Apache 2.0, BSD 3.0, others) that are compatible with the MIT License and therefore are compliant with the Competition Rules.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 930259,
      "author_name": "abhishek",
      "author_url": "",
      "post_date": "07/15/2020 10:01:05",
      "content": "<p>Does efficientdet comply with competition rules? Isnt it Apache licensed?</p>",
      "votes": null,
      "replies": [
        {
          "id": 930304,
          "author_name": "kalyanpichuka",
          "author_url": "",
          "post_date": "07/15/2020 10:50:18",
          "content": "<p><a href=\"/abhishek\">@abhishek</a> I came across this <a href=\"https://github.com/rwightman/efficientdet-pytorch/issues/51\">https://github.com/rwightman/efficientdet-pytorch/issues/51</a> .. also here <a href=\"https://www.kaggle.com/c/global-wheat-detection/discussion/164845#923524\">https://www.kaggle.com/c/global-wheat-detection/discussion/164845#923524</a></p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 930565,
      "author_name": "solosquad1999",
      "author_url": "",
      "post_date": "07/15/2020 14:51:18",
      "content": "<p>I don't use efficientDet, but I also faced with the problem of decreasing LB scores after using pseudo labeling.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 930844,
      "author_name": "yassinealouini",
      "author_url": "",
      "post_date": "07/15/2020 18:41:23",
      "content": "<p>Maybe you are overfitting? Have you selected only the most confident bounding boxes?</p>",
      "votes": null,
      "replies": [
        {
          "id": 930860,
          "author_name": "ajax0564",
          "author_url": "",
          "post_date": "07/15/2020 18:53:14",
          "content": "<p>yeah with some tta and wbf</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 930865,
          "author_name": "matthewmasters",
          "author_url": "",
          "post_date": "07/15/2020 18:56:51",
          "content": "<p>Are you using the TTA for both the pseudolabels and final prediction? If you left it off of one, maybe that's the reason for the lower score(?)</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 930877,
          "author_name": "ajax0564",
          "author_url": "",
          "post_date": "07/15/2020 19:14:22",
          "content": "<p>tta and wbf for both the pseudolabels and final prediction</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 931013,
      "author_name": "jonykarki",
      "author_url": "",
      "post_date": "07/15/2020 22:36:05",
      "content": "<p>I have the same kind of problem. Did you figure out why? I guess it's just overfitting?</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 936779,
      "author_name": "sqqqqy",
      "author_url": "",
      "post_date": "07/20/2020 14:19:58",
      "content": "<p>Have you solved this? I have the same problem. </p>",
      "votes": null,
      "replies": [
        {
          "id": 936797,
          "author_name": "ajax0564",
          "author_url": "",
          "post_date": "07/20/2020 14:31:24",
          "content": "<p>i have used very strong augmentation<br>\ncutmix and affine in pseudo labeling<br>\nit increases lb score</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 936802,
          "author_name": "sqqqqy",
          "author_url": "",
          "post_date": "07/20/2020 14:35:46",
          "content": "<p>Cool ! Thanks</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 936868,
          "author_name": "yassinealouini",
          "author_url": "",
          "post_date": "07/20/2020 15:04:52",
          "content": "<p>That's great! Have you trained using this notebook: <a href=\"https://www.kaggle.com/shonenkov/training-efficientdet\">https://www.kaggle.com/shonenkov/training-efficientdet</a>? If so, how have you made it work? It seems the input of the net = get_net() model has changed a bit... \nThanks :)</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 936983,
          "author_name": "ajax0564",
          "author_url": "",
          "post_date": "07/20/2020 16:28:48",
          "content": "<p><a href=\"https://www.kaggle.com/sramirez/training-efficientdet-gradient-accumulation-f1\" target=\"_blank\">https://www.kaggle.com/sramirez/training-efficientdet-gradient-accumulation-f1</a></p>\n<p><a href=\"https://www.kaggle.com/shonenkov/training-efficientdet\" target=\"_blank\">https://www.kaggle.com/shonenkov/training-efficientdet</a></p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 937058,
          "author_name": "yassinealouini",
          "author_url": "",
          "post_date": "07/20/2020 17:40:23",
          "content": "<p>Thanks for the first notebook. It seems the second input changed in the following fashion: </p>\n\n<p>```\n            targets2 = {}\n            targets2['bbox'] = [target['boxes'].to(self.device).float() for target in targets] # variable number of instances, so the entire structure can be forced to tensor\n            targets2['cls'] = [target['labels'].to(self.device).float() for target in targets]\n            targets2['image_id'] = torch.tensor([target['image_id'] for target in targets]).to(self.device).float()\n            targets2['img_scale'] = torch.tensor([target['img_scale'] for target in targets]).to(self.device).float()\n            targets2['img_size'] = torch.tensor([(IMG_SIZE, IMG_SIZE) for target in targets]).to(self.device).float()</p>\n\n<pre><code>        output = self.model(images, targets2)\n</code></pre>\n\n<p>```</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "930253": "i am currently using efficientdet-5\nlb = 0.7445 (no pseudo labeling)\nwith pseudo labeling lb become 0.7323\nis anyone facing this problem or have solved this problem\nplease give some tips",
    "930259": "Does efficientdet comply with competition rules? Isnt it Apache licensed?",
    "930304": "abhishek I came across this https://github.com/rwightman/efficientdet-pytorch/issues/51 .. also here https://www.kaggle.com/c/global-wheat-detection/discussion/164845#923524",
    "930565": "I don't use efficientDet, but I also faced with the problem of decreasing LB scores after using pseudo labeling.",
    "930844": "Maybe you are overfitting? Have you selected only the most confident bounding boxes?",
    "930860": "yeah with some tta and wbf",
    "930865": "Are you using the TTA for both the pseudolabels and final prediction? If you left it off of one, maybe that's the reason for the lower score(?)",
    "930877": "tta and wbf for both the pseudolabels and final prediction",
    "931013": "I have the same kind of problem. Did you figure out why? I guess it's just overfitting?",
    "935801": "https://www.kaggle.com/c/global-wheat-detection/discussion/167298\n\n\nThere are many commonly used permissive open source licenses (e.g., Apache 2.0, BSD 3.0, others) that are compatible with the MIT License and therefore are compliant with the Competition Rules.",
    "936779": "Have you solved this? I have the same problem.",
    "936797": "i have used very strong augmentation\ncutmix and affine in pseudo labeling\nit increases lb score",
    "936802": "Cool ! Thanks",
    "936868": "That's great! Have you trained using this notebook: https://www.kaggle.com/shonenkov/training-efficientdet? If so, how have you made it work? It seems the input of the net = get_net() model has changed a bit... \nThanks :)",
    "936983": "https://www.kaggle.com/sramirez/training-efficientdet-gradient-accumulation-f1\n\nhttps://www.kaggle.com/shonenkov/training-efficientdet",
    "937058": "Thanks for the first notebook. It seems the second input changed in the following fashion: \n\n```\n            targets2 = {}\n            targets2['bbox'] = [target['boxes'].to(self.device).float() for target in targets] # variable number of instances, so the entire structure can be forced to tensor\n            targets2['cls'] = [target['labels'].to(self.device).float() for target in targets]\n            targets2['image_id'] = torch.tensor([target['image_id'] for target in targets]).to(self.device).float()\n            targets2['img_scale'] = torch.tensor([target['img_scale'] for target in targets]).to(self.device).float()\n            targets2['img_size'] = torch.tensor([(IMG_SIZE, IMG_SIZE) for target in targets]).to(self.device).float()\n            \n            output = self.model(images, targets2)\n```"
  },
  "source": "meta"
}