{
  "id": 159883,
  "title": "What worked for me",
  "url": "/competitions/global-wheat-detection/discussion/159883",
  "author_name": "",
  "post_date": "2020-06-19T04:49:39.640841800Z",
  "votes": 85,
  "comment_count": 34,
  "views": 0,
  "content": "<h1>What worked for me (frcnn, centernet)</h1>\n\n<ul>\n<li><p>Normal augmentations\nflip, rotate, adding noise to images..</p></li>\n<li><p>Cutmix like augmentations\n<a href=\"https://www.kaggle.com/nvnnghia/awesome-augmentation\">https://www.kaggle.com/nvnnghia/awesome-augmentation</a></p></li>\n</ul>\n\n<p>gives a 0.02 boost. awsome!</p>\n\n<ul>\n<li><p>Psuedo labeling\n2 rounds &gt; 1 rounds &gt; none</p></li>\n<li><p>Weighted box fusion\n<a href=\"https://www.kaggle.com/shonenkov/wbf-approach-for-ensemble\">https://www.kaggle.com/shonenkov/wbf-approach-for-ensemble</a></p></li>\n<li><p>TTA \n<a href=\"https://www.kaggle.com/kyoshioka47/pytorch-centernet-inference-with-tta\">https://www.kaggle.com/kyoshioka47/pytorch-centernet-inference-with-tta</a>\n<a href=\"https://www.kaggle.com/shonenkov/wbf-over-tta-single-model-efficientdet\">https://www.kaggle.com/shonenkov/wbf-over-tta-single-model-efficientdet</a></p></li>\n</ul>\n\n<p>horizontal, vertical, rotate.\nboosts +0.01-0.02</p>\n\n<ul>\n<li><p>Ensambling over folds, models\nlittle boost. not significant.</p></li>\n<li><p>Training with higher resolution\n1024 &gt; 512</p></li>\n<li><p>toggling with thresholds.. (by toggling the score threshold of nms or wbf)\nchanges the LB 0.01. Due to the metrics, this happen :(</p></li>\n</ul>\n\n<h2>what did not work (for me)</h2>\n\n<ul>\n<li>multi-scale TTA</li>\n<li>Larger networks\nnot always better.. res50~101 seemed to be quite good.</li>\n<li>BiFPNs\nnot much difference</li>\n</ul>\n\n<p>Any other ideas? Feel free to share!</p>",
  "messages": [
    {
      "id": "892687",
      "postDate": "06/19/2020 04:49:39",
      "content": "<h1>What worked for me (frcnn, centernet)</h1>\n\n<ul>\n<li><p>Normal augmentations\nflip, rotate, adding noise to images..</p></li>\n<li><p>Cutmix like augmentations\n<a href=\"https://www.kaggle.com/nvnnghia/awesome-augmentation\">https://www.kaggle.com/nvnnghia/awesome-augmentation</a></p></li>\n</ul>\n\n<p>gives a 0.02 boost. awsome!</p>\n\n<ul>\n<li><p>Psuedo labeling\n2 rounds &gt; 1 rounds &gt; none</p></li>\n<li><p>Weighted box fusion\n<a href=\"https://www.kaggle.com/shonenkov/wbf-approach-for-ensemble\">https://www.kaggle.com/shonenkov/wbf-approach-for-ensemble</a></p></li>\n<li><p>TTA \n<a href=\"https://www.kaggle.com/kyoshioka47/pytorch-centernet-inference-with-tta\">https://www.kaggle.com/kyoshioka47/pytorch-centernet-inference-with-tta</a>\n<a href=\"https://www.kaggle.com/shonenkov/wbf-over-tta-single-model-efficientdet\">https://www.kaggle.com/shonenkov/wbf-over-tta-single-model-efficientdet</a></p></li>\n</ul>\n\n<p>horizontal, vertical, rotate.\nboosts +0.01-0.02</p>\n\n<ul>\n<li><p>Ensambling over folds, models\nlittle boost. not significant.</p></li>\n<li><p>Training with higher resolution\n1024 &gt; 512</p></li>\n<li><p>toggling with thresholds.. (by toggling the score threshold of nms or wbf)\nchanges the LB 0.01. Due to the metrics, this happen :(</p></li>\n</ul>\n\n<h2>what did not work (for me)</h2>\n\n<ul>\n<li>multi-scale TTA</li>\n<li>Larger networks\nnot always better.. res50~101 seemed to be quite good.</li>\n<li>BiFPNs\nnot much difference</li>\n</ul>\n\n<p>Any other ideas? Feel free to share!</p>",
      "rawMarkdown": "# What worked for me (frcnn, centernet)\n* Normal augmentations\nflip, rotate, adding noise to images..\n\n* Cutmix like augmentations\nhttps://www.kaggle.com/nvnnghia/awesome-augmentation\n\ngives a 0.02 boost. awsome!\n\n* Psuedo labeling\n2 rounds &gt; 1 rounds &gt; none\n\n* Weighted box fusion\nhttps://www.kaggle.com/shonenkov/wbf-approach-for-ensemble\n\n* TTA \nhttps://www.kaggle.com/kyoshioka47/pytorch-centernet-inference-with-tta\nhttps://www.kaggle.com/shonenkov/wbf-over-tta-single-model-efficientdet\n\nhorizontal, vertical, rotate.\nboosts +0.01-0.02\n\n* Ensambling over folds, models\nlittle boost. not significant.\n\n* Training with higher resolution\n1024 &gt; 512\n\n* toggling with thresholds.. (by toggling the score threshold of nms or wbf)\nchanges the LB 0.01. Due to the metrics, this happen :(\n\n## what did not work (for me)\n* multi-scale TTA\n* Larger networks\nnot always better.. res50~101 seemed to be quite good.\n* BiFPNs\nnot much difference\n\nAny other ideas? Feel free to share!",
      "votes": null
    },
    {
      "id": "892688",
      "postDate": "06/19/2020 04:51:35",
      "content": "<p>I agree with most of what you posted. What do you mean by \"toggling with thresholds\"</p>",
      "rawMarkdown": "I agree with most of what you posted. What do you mean by \"toggling with thresholds\"",
      "votes": null
    },
    {
      "id": "892690",
      "postDate": "06/19/2020 04:52:54",
      "content": "<p>by toggling the score threshold of nms or wbf. \nIt's quite sensitive because FP are penalized in this competition.</p>",
      "rawMarkdown": "by toggling the score threshold of nms or wbf. \nIt's quite sensitive because FP are penalized in this competition.",
      "votes": null
    },
    {
      "id": "892694",
      "postDate": "06/19/2020 05:04:18",
      "content": "<p>Ah I see. Yes, that's a good point. It is also important not to tune them too much to the LB score as you may be overfitting :)</p>",
      "rawMarkdown": "Ah I see. Yes, that's a good point. It is also important not to tune them too much to the LB score as you may be overfitting :)",
      "votes": null
    },
    {
      "id": "892811",
      "postDate": "06/19/2020 07:16:32",
      "content": "<p>Hi <a href=\"/kyoshioka47\">@kyoshioka47</a>! Thanks for your insights. I am quite new to Kaggle, and Psuedo labeling is very new to me. I do understand the basic concept that we predict test images and use those predictions to retrain our model. So my question is what do you mean by  <code>2 rounds &gt; 1 rounds &gt; none</code> ? Do you mean number of epochs? Sorry if this sound stupid. </p>",
      "rawMarkdown": "Hi @kyoshioka47! Thanks for your insights. I am quite new to Kaggle, and Psuedo labeling is very new to me. I do understand the basic concept that we predict test images and use those predictions to retrain our model. So my question is what do you mean by  `2 rounds &gt; 1 rounds &gt; none` ? Do you mean number of epochs? Sorry if this sound stupid.",
      "votes": null
    },
    {
      "id": "892900",
      "postDate": "06/19/2020 08:41:11",
      "content": "<p>1 rounds mean that we label the test set once and train the model.</p>\n\n<p>2 rounds mean that we  we label the test set once and train the model. THEN, we the psuedo-label-trained model is used to relabel the test set, then trained again.</p>\n\n<p>multi-round psuedo labeling was effective in some competitions.</p>",
      "rawMarkdown": "1 rounds mean that we label the test set once and train the model.\n\n2 rounds mean that we  we label the test set once and train the model. THEN, we the psuedo-label-trained model is used to relabel the test set, then trained again.\n\nmulti-round psuedo labeling was effective in some competitions.",
      "votes": null
    },
    {
      "id": "892903",
      "postDate": "06/19/2020 08:41:51",
      "content": "<p>I agree on that. PB is a quite different domain and I should trust my CV on it..</p>",
      "rawMarkdown": "I agree on that. PB is a quite different domain and I should trust my CV on it..",
      "votes": null
    },
    {
      "id": "894339",
      "postDate": "06/20/2020 10:53:11",
      "content": "<p>Oh got it. Thanks!\n I have seen others retraining with pseudo labels with a very high LR and to me,  it seems that it might overfit the model. I know that there is a trade between the computation time and the model performance on pseudo labeling. What are your thoughts on this? What's a good approach to train for pseudo-labels? </p>",
      "rawMarkdown": "Oh got it. Thanks!\n I have seen others retraining with pseudo labels with a very high LR and to me,  it seems that it might overfit the model. I know that there is a trade between the computation time and the model performance on pseudo labeling. What are your thoughts on this? What's a good approach to train for pseudo-labels?",
      "votes": null
    },
    {
      "id": "895350",
      "postDate": "06/21/2020 09:21:26",
      "content": "<p><a href=\"/kyoshioka47\">@kyoshioka47</a> It would be great if you could also tell me how did you solve the submission scoring error</p>",
      "rawMarkdown": "kyoshioka47 It would be great if you could also tell me how did you solve the submission scoring error",
      "votes": null
    },
    {
      "id": "896307",
      "postDate": "06/22/2020 04:19:30",
      "content": "<p>I'm not sure what you're doing wrong but the imagesize in the test set includes other than 1024.\nYou need to take care of that.</p>",
      "rawMarkdown": "I'm not sure what you're doing wrong but the imagesize in the test set includes other than 1024.\nYou need to take care of that.",
      "votes": null
    },
    {
      "id": "897722",
      "postDate": "06/23/2020 04:01:57",
      "content": "<p>okay..thanks for the info</p>",
      "rawMarkdown": "okay..thanks for the info",
      "votes": null
    },
    {
      "id": "899269",
      "postDate": "06/24/2020 06:05:01",
      "content": "<p>I tried something similar but with resnext101 backbone, single fold, no TTA, no pseudo labeling. Maximum i could get was 0.6957 :/ I hope ensembling over folds and pseudo labeling helps.</p>",
      "rawMarkdown": "I tried something similar but with resnext101 backbone, single fold, no TTA, no pseudo labeling. Maximum i could get was 0.6957 :/ I hope ensembling over folds and pseudo labeling helps.",
      "votes": null
    },
    {
      "id": "899331",
      "postDate": "06/24/2020 07:03:28",
      "content": "<p>I get \n0.71 wo/TTA\n0.72 w/TTA\n0.74 w/Psuedo Labeling\nThinking that I need to train better base detection model to get 0.75+.</p>",
      "rawMarkdown": "I get \n0.71 wo/TTA\n0.72 w/TTA\n0.74 w/Psuedo Labeling\nThinking that I need to train better base detection model to get 0.75+.",
      "votes": null
    },
    {
      "id": "899381",
      "postDate": "06/24/2020 07:46:06",
      "content": "<p>Is this single fold results or wbf over folds ? I am trying n region out CV. Currently best LB scores I got was from using only 3 regions. Adding more regions is lowering my LB score.</p>",
      "rawMarkdown": "Is this single fold results or wbf over folds ? I am trying n region out CV. Currently best LB scores I got was from using only 3 regions. Adding more regions is lowering my LB score.",
      "votes": null
    },
    {
      "id": "899415",
      "postDate": "06/24/2020 08:18:27",
      "content": "<p>almost same.</p>\n\n<p>Psuedo labeling did not worked for me :(\nI would retry it later</p>",
      "rawMarkdown": "almost same.\n\nPsuedo labeling did not worked for me :(\nI would retry it later",
      "votes": null
    },
    {
      "id": "900088",
      "postDate": "06/24/2020 16:00:42",
      "content": "<p><a href=\"/kyoshioka47\">@kyoshioka47</a> Hi, thanks for sharing. I would like to know how do you keep high resolution(1024) without running out of memory? </p>",
      "rawMarkdown": "kyoshioka47 Hi, thanks for sharing. I would like to know how do you keep high resolution(1024) without running out of memory?",
      "votes": null
    },
    {
      "id": "900490",
      "postDate": "06/24/2020 20:48:10",
      "content": "<p>Try to use smaller batches</p>",
      "rawMarkdown": "Try to use smaller batches",
      "votes": null
    },
    {
      "id": "900629",
      "postDate": "06/25/2020 00:28:54",
      "content": "<p>this is single fold.</p>",
      "rawMarkdown": "this is single fold.",
      "votes": null
    },
    {
      "id": "904009",
      "postDate": "06/27/2020 09:17:06",
      "content": "<p>As <a href=\"/pestipeti\">@pestipeti</a>  said you can use smaller batches or you can use gradient accumalation or NVIDIA apex\nHope this helps</p>",
      "rawMarkdown": "As @pestipeti  said you can use smaller batches or you can use gradient accumalation or NVIDIA apex\nHope this helps",
      "votes": null
    },
    {
      "id": "910494",
      "postDate": "07/01/2020 07:10:26",
      "content": "<p>Set w and h &gt;=10, it improves my LB 1%.</p>",
      "rawMarkdown": "Set w and h &gt;=10, it improves my LB 1%.",
      "votes": null
    },
    {
      "id": "910701",
      "postDate": "07/01/2020 10:10:24",
      "content": "<p>What's the meaning of w and h?</p>",
      "rawMarkdown": "What's the meaning of w and h?",
      "votes": null
    },
    {
      "id": "911179",
      "postDate": "07/01/2020 15:47:38",
      "content": "<p>the width and height of bounding boxes. He is suggesting you remove bounding boxes with width or height less than 10 pixels</p>",
      "rawMarkdown": "the width and height of bounding boxes. He is suggesting you remove bounding boxes with width or height less than 10 pixels",
      "votes": null
    },
    {
      "id": "911203",
      "postDate": "07/01/2020 15:59:40",
      "content": "<p>For me, I tried to remove too huge boxes and boxes under area of 30 and score seemed to fall....\nTried it on effdet though have to try it on yolo.....\nOn which did you try <a href=\"/m1nglei\">@m1nglei</a> </p>",
      "rawMarkdown": "For me, I tried to remove too huge boxes and boxes under area of 30 and score seemed to fall....\nTried it on effdet though have to try it on yolo.....\nOn which did you try @m1nglei",
      "votes": null
    },
    {
      "id": "913073",
      "postDate": "07/03/2020 00:06:08",
      "content": "<p><a href=\"/nitindatta\">@nitindatta</a> I haven't try it on yolov5, because I am lack of GPU hours. I tried it on DetectoRS.</p>",
      "rawMarkdown": "nitindatta I haven't try it on yolov5, because I am lack of GPU hours. I tried it on DetectoRS.",
      "votes": null
    },
    {
      "id": "914675",
      "postDate": "07/04/2020 06:19:45",
      "content": "<p>I have tried the following\nEfficientDet D5, multi-scale TTA didnt work, the best ones based on my tests are combinations of flip lr, flip vertical and rotate. </p>\n\n<p>And here are some interesting fact, I have also tried yolov5 as many suggested, surprisingly, \nEff-D5 TTA = 0.738 LB\nyolo_v5 original TTA = 0.735 LB \nBoth of them are on the same local cv and the scores are consistent, however, adding suggested multi scale TTA on yolo_v5 boosted LB to 0.74x, but Eff-D5 with same multi scale dropped to 0.730.  </p>",
      "rawMarkdown": "I have tried the following\nEfficientDet D5, multi-scale TTA didnt work, the best ones based on my tests are combinations of flip lr, flip vertical and rotate. \n\nAnd here are some interesting fact, I have also tried yolov5 as many suggested, surprisingly, \nEff-D5 TTA = 0.738 LB\nyolo_v5 original TTA = 0.735 LB \nBoth of them are on the same local cv and the scores are consistent, however, adding suggested multi scale TTA on yolo_v5 boosted LB to 0.74x, but Eff-D5 with same multi scale dropped to 0.730.",
      "votes": null
    },
    {
      "id": "914783",
      "postDate": "07/04/2020 08:18:06",
      "content": "<p>Interesting!</p>",
      "rawMarkdown": "Interesting!",
      "votes": null
    },
    {
      "id": "914854",
      "postDate": "07/04/2020 09:44:02",
      "content": "<p>I wonder that how many epochs pseudo label should run? Does pseudo label need data augmentation as training?</p>",
      "rawMarkdown": "I wonder that how many epochs pseudo label should run? Does pseudo label need data augmentation as training?",
      "votes": null
    },
    {
      "id": "916258",
      "postDate": "07/05/2020 14:11:36",
      "content": "<p>Train with 512 size didn't work for me.\nSo sad..</p>",
      "rawMarkdown": "Train with 512 size didn't work for me.\nSo sad..",
      "votes": null
    },
    {
      "id": "918136",
      "postDate": "07/07/2020 02:49:04",
      "content": "<p>Hi <a href=\"/kyoshioka47\">@kyoshioka47</a> When you refers to \"re-train\", you mean finetuning the model for some epochs, right? I haven't applied such trick. Could you let me know how many epochs are needed? Thanks!</p>",
      "rawMarkdown": "Hi @kyoshioka47 When you refers to \"re-train\", you mean finetuning the model for some epochs, right? I haven't applied such trick. Could you let me know how many epochs are needed? Thanks!",
      "votes": null
    },
    {
      "id": "918147",
      "postDate": "07/07/2020 02:59:14",
      "content": "<p>Any benchmark you compare it to? Models trained with 1024 images?</p>",
      "rawMarkdown": "Any benchmark you compare it to? Models trained with 1024 images?",
      "votes": null
    },
    {
      "id": "918149",
      "postDate": "07/07/2020 02:59:50",
      "content": "<p>By the way, are you from China? Do you mind if we discuss the competition vai Wechat?</p>",
      "rawMarkdown": "By the way, are you from China? Do you mind if we discuss the competition vai Wechat?",
      "votes": null
    },
    {
      "id": "918205",
      "postDate": "07/07/2020 04:39:00",
      "content": "<p>Be mindful, you cannot discuss competition details outside of Kaggle if you are not on the same team...</p>",
      "rawMarkdown": "Be mindful, you cannot discuss competition details outside of Kaggle if you are not on the same team...",
      "votes": null
    },
    {
      "id": "919694",
      "postDate": "07/08/2020 04:15:12",
      "content": "<p>Hi <a href=\"/matthewmasters\">@matthewmasters</a>, thanks for the reminder. Just out of curiosity to make friends. No intension to break the rule.</p>",
      "rawMarkdown": "Hi @matthewmasters, thanks for the reminder. Just out of curiosity to make friends. No intension to break the rule.",
      "votes": null
    },
    {
      "id": "953956",
      "postDate": "08/01/2020 09:14:38",
      "content": "<p>Pseudo label really needs strong augmentation. </p>",
      "rawMarkdown": "Pseudo label really needs strong augmentation.",
      "votes": null
    },
    {
      "id": "953972",
      "postDate": "08/01/2020 09:30:09",
      "content": "<p>Could you please elaborate how you came to that conclusion...\nAlso, you are speaking about Effdet isnt it??</p>",
      "rawMarkdown": "Could you please elaborate how you came to that conclusion...\nAlso, you are speaking about Effdet isnt it??",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 892688,
      "author_name": "matthewmasters",
      "author_url": "",
      "post_date": "06/19/2020 04:51:35",
      "content": "<p>I agree with most of what you posted. What do you mean by \"toggling with thresholds\"</p>",
      "votes": null,
      "replies": [
        {
          "id": 892690,
          "author_name": "kyoshioka47",
          "author_url": "",
          "post_date": "06/19/2020 04:52:54",
          "content": "<p>by toggling the score threshold of nms or wbf. \nIt's quite sensitive because FP are penalized in this competition.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 892694,
          "author_name": "matthewmasters",
          "author_url": "",
          "post_date": "06/19/2020 05:04:18",
          "content": "<p>Ah I see. Yes, that's a good point. It is also important not to tune them too much to the LB score as you may be overfitting :)</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 892903,
          "author_name": "kyoshioka47",
          "author_url": "",
          "post_date": "06/19/2020 08:41:51",
          "content": "<p>I agree on that. PB is a quite different domain and I should trust my CV on it..</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 892811,
      "author_name": "bendang",
      "author_url": "",
      "post_date": "06/19/2020 07:16:32",
      "content": "<p>Hi <a href=\"/kyoshioka47\">@kyoshioka47</a>! Thanks for your insights. I am quite new to Kaggle, and Psuedo labeling is very new to me. I do understand the basic concept that we predict test images and use those predictions to retrain our model. So my question is what do you mean by  <code>2 rounds &gt; 1 rounds &gt; none</code> ? Do you mean number of epochs? Sorry if this sound stupid. </p>",
      "votes": null,
      "replies": [
        {
          "id": 892900,
          "author_name": "kyoshioka47",
          "author_url": "",
          "post_date": "06/19/2020 08:41:11",
          "content": "<p>1 rounds mean that we label the test set once and train the model.</p>\n\n<p>2 rounds mean that we  we label the test set once and train the model. THEN, we the psuedo-label-trained model is used to relabel the test set, then trained again.</p>\n\n<p>multi-round psuedo labeling was effective in some competitions.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 894339,
          "author_name": "bendang",
          "author_url": "",
          "post_date": "06/20/2020 10:53:11",
          "content": "<p>Oh got it. Thanks!\n I have seen others retraining with pseudo labels with a very high LR and to me,  it seems that it might overfit the model. I know that there is a trade between the computation time and the model performance on pseudo labeling. What are your thoughts on this? What's a good approach to train for pseudo-labels? </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 918136,
          "author_name": "",
          "author_url": "",
          "post_date": "07/07/2020 02:49:04",
          "content": "<p>Hi <a href=\"/kyoshioka47\">@kyoshioka47</a> When you refers to \"re-train\", you mean finetuning the model for some epochs, right? I haven't applied such trick. Could you let me know how many epochs are needed? Thanks!</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 895350,
      "author_name": "kalyanpichuka",
      "author_url": "",
      "post_date": "06/21/2020 09:21:26",
      "content": "<p><a href=\"/kyoshioka47\">@kyoshioka47</a> It would be great if you could also tell me how did you solve the submission scoring error</p>",
      "votes": null,
      "replies": [
        {
          "id": 896307,
          "author_name": "kyoshioka47",
          "author_url": "",
          "post_date": "06/22/2020 04:19:30",
          "content": "<p>I'm not sure what you're doing wrong but the imagesize in the test set includes other than 1024.\nYou need to take care of that.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 897722,
          "author_name": "kalyanpichuka",
          "author_url": "",
          "post_date": "06/23/2020 04:01:57",
          "content": "<p>okay..thanks for the info</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 899269,
      "author_name": "utsavnandi",
      "author_url": "",
      "post_date": "06/24/2020 06:05:01",
      "content": "<p>I tried something similar but with resnext101 backbone, single fold, no TTA, no pseudo labeling. Maximum i could get was 0.6957 :/ I hope ensembling over folds and pseudo labeling helps.</p>",
      "votes": null,
      "replies": [
        {
          "id": 899331,
          "author_name": "kyoshioka47",
          "author_url": "",
          "post_date": "06/24/2020 07:03:28",
          "content": "<p>I get \n0.71 wo/TTA\n0.72 w/TTA\n0.74 w/Psuedo Labeling\nThinking that I need to train better base detection model to get 0.75+.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 899381,
          "author_name": "utsavnandi",
          "author_url": "",
          "post_date": "06/24/2020 07:46:06",
          "content": "<p>Is this single fold results or wbf over folds ? I am trying n region out CV. Currently best LB scores I got was from using only 3 regions. Adding more regions is lowering my LB score.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 900629,
          "author_name": "kyoshioka47",
          "author_url": "",
          "post_date": "06/25/2020 00:28:54",
          "content": "<p>this is single fold.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 899415,
      "author_name": "lisosia",
      "author_url": "",
      "post_date": "06/24/2020 08:18:27",
      "content": "<p>almost same.</p>\n\n<p>Psuedo labeling did not worked for me :(\nI would retry it later</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 900088,
      "author_name": "xhe071",
      "author_url": "",
      "post_date": "06/24/2020 16:00:42",
      "content": "<p><a href=\"/kyoshioka47\">@kyoshioka47</a> Hi, thanks for sharing. I would like to know how do you keep high resolution(1024) without running out of memory? </p>",
      "votes": null,
      "replies": [
        {
          "id": 900490,
          "author_name": "pestipeti",
          "author_url": "",
          "post_date": "06/24/2020 20:48:10",
          "content": "<p>Try to use smaller batches</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 904009,
          "author_name": "nitindatta",
          "author_url": "",
          "post_date": "06/27/2020 09:17:06",
          "content": "<p>As <a href=\"/pestipeti\">@pestipeti</a>  said you can use smaller batches or you can use gradient accumalation or NVIDIA apex\nHope this helps</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 910494,
      "author_name": "m1nglei",
      "author_url": "",
      "post_date": "07/01/2020 07:10:26",
      "content": "<p>Set w and h &gt;=10, it improves my LB 1%.</p>",
      "votes": null,
      "replies": [
        {
          "id": 910701,
          "author_name": "thefatcat",
          "author_url": "",
          "post_date": "07/01/2020 10:10:24",
          "content": "<p>What's the meaning of w and h?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 911179,
          "author_name": "matthewmasters",
          "author_url": "",
          "post_date": "07/01/2020 15:47:38",
          "content": "<p>the width and height of bounding boxes. He is suggesting you remove bounding boxes with width or height less than 10 pixels</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 911203,
          "author_name": "nitindatta",
          "author_url": "",
          "post_date": "07/01/2020 15:59:40",
          "content": "<p>For me, I tried to remove too huge boxes and boxes under area of 30 and score seemed to fall....\nTried it on effdet though have to try it on yolo.....\nOn which did you try <a href=\"/m1nglei\">@m1nglei</a> </p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 913073,
      "author_name": "m1nglei",
      "author_url": "",
      "post_date": "07/03/2020 00:06:08",
      "content": "<p><a href=\"/nitindatta\">@nitindatta</a> I haven't try it on yolov5, because I am lack of GPU hours. I tried it on DetectoRS.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 914675,
      "author_name": "heye0507",
      "author_url": "",
      "post_date": "07/04/2020 06:19:45",
      "content": "<p>I have tried the following\nEfficientDet D5, multi-scale TTA didnt work, the best ones based on my tests are combinations of flip lr, flip vertical and rotate. </p>\n\n<p>And here are some interesting fact, I have also tried yolov5 as many suggested, surprisingly, \nEff-D5 TTA = 0.738 LB\nyolo_v5 original TTA = 0.735 LB \nBoth of them are on the same local cv and the scores are consistent, however, adding suggested multi scale TTA on yolo_v5 boosted LB to 0.74x, but Eff-D5 with same multi scale dropped to 0.730.  </p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 914783,
      "author_name": "rutviksurani",
      "author_url": "",
      "post_date": "07/04/2020 08:18:06",
      "content": "<p>Interesting!</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 914854,
      "author_name": "fangcheng",
      "author_url": "",
      "post_date": "07/04/2020 09:44:02",
      "content": "<p>I wonder that how many epochs pseudo label should run? Does pseudo label need data augmentation as training?</p>",
      "votes": null,
      "replies": [
        {
          "id": 953956,
          "author_name": "fangcheng",
          "author_url": "",
          "post_date": "08/01/2020 09:14:38",
          "content": "<p>Pseudo label really needs strong augmentation. </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 953972,
          "author_name": "nitindatta",
          "author_url": "",
          "post_date": "08/01/2020 09:30:09",
          "content": "<p>Could you please elaborate how you came to that conclusion...\nAlso, you are speaking about Effdet isnt it??</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 916258,
      "author_name": "chrisstan",
      "author_url": "",
      "post_date": "07/05/2020 14:11:36",
      "content": "<p>Train with 512 size didn't work for me.\nSo sad..</p>",
      "votes": null,
      "replies": [
        {
          "id": 918147,
          "author_name": "",
          "author_url": "",
          "post_date": "07/07/2020 02:59:14",
          "content": "<p>Any benchmark you compare it to? Models trained with 1024 images?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 918149,
          "author_name": "",
          "author_url": "",
          "post_date": "07/07/2020 02:59:50",
          "content": "<p>By the way, are you from China? Do you mind if we discuss the competition vai Wechat?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 918205,
          "author_name": "matthewmasters",
          "author_url": "",
          "post_date": "07/07/2020 04:39:00",
          "content": "<p>Be mindful, you cannot discuss competition details outside of Kaggle if you are not on the same team...</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 919694,
          "author_name": "",
          "author_url": "",
          "post_date": "07/08/2020 04:15:12",
          "content": "<p>Hi <a href=\"/matthewmasters\">@matthewmasters</a>, thanks for the reminder. Just out of curiosity to make friends. No intension to break the rule.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "892687": "# What worked for me (frcnn, centernet)\n* Normal augmentations\nflip, rotate, adding noise to images..\n\n* Cutmix like augmentations\nhttps://www.kaggle.com/nvnnghia/awesome-augmentation\n\ngives a 0.02 boost. awsome!\n\n* Psuedo labeling\n2 rounds &gt; 1 rounds &gt; none\n\n* Weighted box fusion\nhttps://www.kaggle.com/shonenkov/wbf-approach-for-ensemble\n\n* TTA \nhttps://www.kaggle.com/kyoshioka47/pytorch-centernet-inference-with-tta\nhttps://www.kaggle.com/shonenkov/wbf-over-tta-single-model-efficientdet\n\nhorizontal, vertical, rotate.\nboosts +0.01-0.02\n\n* Ensambling over folds, models\nlittle boost. not significant.\n\n* Training with higher resolution\n1024 &gt; 512\n\n* toggling with thresholds.. (by toggling the score threshold of nms or wbf)\nchanges the LB 0.01. Due to the metrics, this happen :(\n\n## what did not work (for me)\n* multi-scale TTA\n* Larger networks\nnot always better.. res50~101 seemed to be quite good.\n* BiFPNs\nnot much difference\n\nAny other ideas? Feel free to share!",
    "892688": "I agree with most of what you posted. What do you mean by \"toggling with thresholds\"",
    "892690": "by toggling the score threshold of nms or wbf. \nIt's quite sensitive because FP are penalized in this competition.",
    "892694": "Ah I see. Yes, that's a good point. It is also important not to tune them too much to the LB score as you may be overfitting :)",
    "892811": "Hi @kyoshioka47! Thanks for your insights. I am quite new to Kaggle, and Psuedo labeling is very new to me. I do understand the basic concept that we predict test images and use those predictions to retrain our model. So my question is what do you mean by  `2 rounds &gt; 1 rounds &gt; none` ? Do you mean number of epochs? Sorry if this sound stupid.",
    "892900": "1 rounds mean that we label the test set once and train the model.\n\n2 rounds mean that we  we label the test set once and train the model. THEN, we the psuedo-label-trained model is used to relabel the test set, then trained again.\n\nmulti-round psuedo labeling was effective in some competitions.",
    "892903": "I agree on that. PB is a quite different domain and I should trust my CV on it..",
    "894339": "Oh got it. Thanks!\n I have seen others retraining with pseudo labels with a very high LR and to me,  it seems that it might overfit the model. I know that there is a trade between the computation time and the model performance on pseudo labeling. What are your thoughts on this? What's a good approach to train for pseudo-labels?",
    "895350": "kyoshioka47 It would be great if you could also tell me how did you solve the submission scoring error",
    "896307": "I'm not sure what you're doing wrong but the imagesize in the test set includes other than 1024.\nYou need to take care of that.",
    "897722": "okay..thanks for the info",
    "899269": "I tried something similar but with resnext101 backbone, single fold, no TTA, no pseudo labeling. Maximum i could get was 0.6957 :/ I hope ensembling over folds and pseudo labeling helps.",
    "899331": "I get \n0.71 wo/TTA\n0.72 w/TTA\n0.74 w/Psuedo Labeling\nThinking that I need to train better base detection model to get 0.75+.",
    "899381": "Is this single fold results or wbf over folds ? I am trying n region out CV. Currently best LB scores I got was from using only 3 regions. Adding more regions is lowering my LB score.",
    "899415": "almost same.\n\nPsuedo labeling did not worked for me :(\nI would retry it later",
    "900088": "kyoshioka47 Hi, thanks for sharing. I would like to know how do you keep high resolution(1024) without running out of memory?",
    "900490": "Try to use smaller batches",
    "900629": "this is single fold.",
    "904009": "As @pestipeti  said you can use smaller batches or you can use gradient accumalation or NVIDIA apex\nHope this helps",
    "910494": "Set w and h &gt;=10, it improves my LB 1%.",
    "910701": "What's the meaning of w and h?",
    "911179": "the width and height of bounding boxes. He is suggesting you remove bounding boxes with width or height less than 10 pixels",
    "911203": "For me, I tried to remove too huge boxes and boxes under area of 30 and score seemed to fall....\nTried it on effdet though have to try it on yolo.....\nOn which did you try @m1nglei",
    "913073": "nitindatta I haven't try it on yolov5, because I am lack of GPU hours. I tried it on DetectoRS.",
    "914675": "I have tried the following\nEfficientDet D5, multi-scale TTA didnt work, the best ones based on my tests are combinations of flip lr, flip vertical and rotate. \n\nAnd here are some interesting fact, I have also tried yolov5 as many suggested, surprisingly, \nEff-D5 TTA = 0.738 LB\nyolo_v5 original TTA = 0.735 LB \nBoth of them are on the same local cv and the scores are consistent, however, adding suggested multi scale TTA on yolo_v5 boosted LB to 0.74x, but Eff-D5 with same multi scale dropped to 0.730.",
    "914783": "Interesting!",
    "914854": "I wonder that how many epochs pseudo label should run? Does pseudo label need data augmentation as training?",
    "916258": "Train with 512 size didn't work for me.\nSo sad..",
    "918136": "Hi @kyoshioka47 When you refers to \"re-train\", you mean finetuning the model for some epochs, right? I haven't applied such trick. Could you let me know how many epochs are needed? Thanks!",
    "918147": "Any benchmark you compare it to? Models trained with 1024 images?",
    "918149": "By the way, are you from China? Do you mind if we discuss the competition vai Wechat?",
    "918205": "Be mindful, you cannot discuss competition details outside of Kaggle if you are not on the same team...",
    "919694": "Hi @matthewmasters, thanks for the reminder. Just out of curiosity to make friends. No intension to break the rule.",
    "953956": "Pseudo label really needs strong augmentation.",
    "953972": "Could you please elaborate how you came to that conclusion...\nAlso, you are speaking about Effdet isnt it??"
  },
  "source": "meta"
}