{
  "id": 176154,
  "title": "6th Place Write-Up",
  "url": "/competitions/siim-isic-melanoma-classification/discussion/176154",
  "author_name": "",
  "post_date": "2020-08-20T17:27:05.505000",
  "votes": 24,
  "comment_count": 10,
  "views": 0,
  "content": "<p>Congratatulations to the winners, and thanks to kaggle, competition sponsor and kernel contributors who shared their insights, it helped us a lot. Congratulations to my teammates <a href=\"https://www.kaggle.com/masterroshi\" target=\"_blank\">@masterroshi</a> <a href=\"https://www.kaggle.com/upbeatfreak\" target=\"_blank\">@upbeatfreak</a></p>\n<h5>Our current position standing 6th Private (23rd Public) is totally because of <a href=\"https://www.kaggle.com/cdeotte\" target=\"_blank\">@cdeotte</a> amazing contribution.</h5>\n<h1>Our Approach</h1>\n<p>We started this competition after 2 months after the start.For a baseline, we used <a href=\"https://www.kaggle.com/cdeotte\" target=\"_blank\">@cdeotte</a> 's  <a href=\"https://www.kaggle.com/cdeotte/triple-stratified-kfold-with-tfrecords\" target=\"_blank\">Triple Stratified Kfold With Tfrecords</a> for tensorflow and <a href=\"https://www.kaggle.com/shonenkov\" target=\"_blank\">@shonenkov</a> 's <a href=\"https://www.kaggle.com/shonenkov/training-cv-melanoma-starter\" target=\"_blank\">[Training CV] Melanoma Starter</a>. thankyou for these amazing kernels.we started working on them.</p>\n<p>We used <strong>EfficientNet [B0-B6]</strong>, <strong>Resnest</strong>,<strong>Resnext</strong>,  with  Sizes <strong>192x192</strong> <strong>256x256</strong> <strong>384x384</strong> <strong>512x512</strong>  <strong>768x768</strong>  <strong>384x512</strong>[HxW]</p>\n<h2>Summary</h2>\n<h6>What Worked for Us</h6>\n<p>Heavy TTA (X20)<br>\nCutmix<br>\ncoarse dropout<br>\nSWA<br>\nloss-Label Smoothing<br>\noptimizer-AdamW, Adam<br>\nBCE<br>\n2018, 2020 and malignant datasets<br>\n5 checkpoints' prediction averaging(stabalised our model's predictions)<br>\nsome models were trained with different height width ratios</p>\n<h6>What didn't Work for Us</h6>\n<p>loss functions-Focal loss, dice loss<br>\noptimizer- Ranger <br>\nhair removal/addition<br>\npseudo labelling<br>\n2019 dataset<br>\npreprocessing techniques from aptos competition<br>\nprogressive learning</p>\n<h2>Ensembling techniques</h2>\n<p>weighted average<br>\nPower Average<br>\nminmax ensemble(didn't help)<br>\n3hr before end of competition I came across rank ensembling and and we did this ensemble and got <strong>0.9697</strong> for our last submission</p>\n<h1>Our 3 final Submission</h1>\n<p>we new the shakeup was coming, so we tried to select different approaches</p>\n<ol>\n<li>All pytorch gpu solution models(with context) - 0.9530 (public LB) 0.9380 (private LB) 0.9541 (CV) </li>\n<li>All pytorch model (with context) and All tf models (without context) - 0.9627 (public LB) 0.9470 (private LB) 0.9618 (CV) </li>\n<li>Blend of public submission with 2nd submission with post proccessing technique - 0.9697 (public LB) 0.9126 (private LB) (overfitted)<br>\nall the above were also ensembled with the meta only submission.</li>\n</ol>\n<p>we wanted to give a shot to public lb overfitted submission but obviosly didn't work out well.<br>\nI guess we were lucky enough to select the best private lb submission from our arsenel </p>\n<p>we found the discussions and public kernels really fruitful and learnt a lot from this competition. </p>\n<p>We are quite new in kaggle and this is our first competition. We will share the code in some days.</p>",
  "messages": [
    {
      "id": 979196,
      "postDate": "2020-08-20T17:27:05.507Z",
      "content": "<p>Congratatulations to the winners, and thanks to kaggle, competition sponsor and kernel contributors who shared their insights, it helped us a lot. Congratulations to my teammates <a href=\"https://www.kaggle.com/masterroshi\" target=\"_blank\">@masterroshi</a> <a href=\"https://www.kaggle.com/upbeatfreak\" target=\"_blank\">@upbeatfreak</a></p>\n<h5>Our current position standing 6th Private (23rd Public) is totally because of <a href=\"https://www.kaggle.com/cdeotte\" target=\"_blank\">@cdeotte</a> amazing contribution.</h5>\n<h1>Our Approach</h1>\n<p>We started this competition after 2 months after the start.For a baseline, we used <a href=\"https://www.kaggle.com/cdeotte\" target=\"_blank\">@cdeotte</a> 's  <a href=\"https://www.kaggle.com/cdeotte/triple-stratified-kfold-with-tfrecords\" target=\"_blank\">Triple Stratified Kfold With Tfrecords</a> for tensorflow and <a href=\"https://www.kaggle.com/shonenkov\" target=\"_blank\">@shonenkov</a> 's <a href=\"https://www.kaggle.com/shonenkov/training-cv-melanoma-starter\" target=\"_blank\">[Training CV] Melanoma Starter</a>. thankyou for these amazing kernels.we started working on them.</p>\n<p>We used <strong>EfficientNet [B0-B6]</strong>, <strong>Resnest</strong>,<strong>Resnext</strong>,  with  Sizes <strong>192x192</strong> <strong>256x256</strong> <strong>384x384</strong> <strong>512x512</strong>  <strong>768x768</strong>  <strong>384x512</strong>[HxW]</p>\n<h2>Summary</h2>\n<h6>What Worked for Us</h6>\n<p>Heavy TTA (X20)<br>\nCutmix<br>\ncoarse dropout<br>\nSWA<br>\nloss-Label Smoothing<br>\noptimizer-AdamW, Adam<br>\nBCE<br>\n2018, 2020 and malignant datasets<br>\n5 checkpoints' prediction averaging(stabalised our model's predictions)<br>\nsome models were trained with different height width ratios</p>\n<h6>What didn't Work for Us</h6>\n<p>loss functions-Focal loss, dice loss<br>\noptimizer- Ranger <br>\nhair removal/addition<br>\npseudo labelling<br>\n2019 dataset<br>\npreprocessing techniques from aptos competition<br>\nprogressive learning</p>\n<h2>Ensembling techniques</h2>\n<p>weighted average<br>\nPower Average<br>\nminmax ensemble(didn't help)<br>\n3hr before end of competition I came across rank ensembling and and we did this ensemble and got <strong>0.9697</strong> for our last submission</p>\n<h1>Our 3 final Submission</h1>\n<p>we new the shakeup was coming, so we tried to select different approaches</p>\n<ol>\n<li>All pytorch gpu solution models(with context) - 0.9530 (public LB) 0.9380 (private LB) 0.9541 (CV) </li>\n<li>All pytorch model (with context) and All tf models (without context) - 0.9627 (public LB) 0.9470 (private LB) 0.9618 (CV) </li>\n<li>Blend of public submission with 2nd submission with post proccessing technique - 0.9697 (public LB) 0.9126 (private LB) (overfitted)<br>\nall the above were also ensembled with the meta only submission.</li>\n</ol>\n<p>we wanted to give a shot to public lb overfitted submission but obviosly didn't work out well.<br>\nI guess we were lucky enough to select the best private lb submission from our arsenel </p>\n<p>we found the discussions and public kernels really fruitful and learnt a lot from this competition. </p>\n<p>We are quite new in kaggle and this is our first competition. We will share the code in some days.</p>",
      "rawMarkdown": "Congratatulations to the winners, and thanks to kaggle, competition sponsor and kernel contributors who shared their insights, it helped us a lot. Congratulations to my teammates @masterroshi @upbeatfreak\n##### Our current position standing 6th Private (23rd Public) is totally because of @cdeotte amazing contribution.\n\n#Our Approach\n\nWe started this competition after 2 months after the start.For a baseline, we used @cdeotte 's  [Triple Stratified Kfold With Tfrecords](https://www.kaggle.com/cdeotte/triple-stratified-kfold-with-tfrecords) for tensorflow and @shonenkov 's [[Training CV] Melanoma Starter](https://www.kaggle.com/shonenkov/training-cv-melanoma-starter). thankyou for these amazing kernels.we started working on them.\n\n\n\nWe used **EfficientNet [B0-B6]**, **Resnest**,**Resnext**,  with  Sizes **192x192** **256x256** **384x384** **512x512**  **768x768**  **384x512**[HxW]\n\n## Summary\n###### What Worked for Us\nHeavy TTA (X20)\nCutmix\ncoarse dropout\nSWA\nloss-Label Smoothing\noptimizer-AdamW, Adam\nBCE\n2018, 2020 and malignant datasets\n5 checkpoints' prediction averaging(stabalised our model's predictions)\nsome models were trained with different height width ratios\n\n###### What didn't Work for Us\nloss functions-Focal loss, dice loss\noptimizer- Ranger \nhair removal/addition\npseudo labelling\n2019 dataset\npreprocessing techniques from aptos competition\nprogressive learning\n\n## Ensembling techniques\nweighted average\nPower Average\nminmax ensemble(didn't help)\n3hr before end of competition I came across rank ensembling and and we did this ensemble and got **0.9697** for our last submission\n\n#Our 3 final Submission\nwe new the shakeup was coming, so we tried to select different approaches\n\n1.  All pytorch gpu solution models(with context) - 0.9530 (public LB) 0.9380 (private LB) 0.9541 (CV) \n2.  All pytorch model (with context) and All tf models (without context) - 0.9627 (public LB) 0.9470 (private LB) 0.9618 (CV) \n3.  Blend of public submission with 2nd submission with post proccessing technique - 0.9697 (public LB) 0.9126 (private LB) (overfitted)\nall the above were also ensembled with the meta only submission.\n\nwe wanted to give a shot to public lb overfitted submission but obviosly didn't work out well.\nI guess we were lucky enough to select the best private lb submission from our arsenel \n\nwe found the discussions and public kernels really fruitful and learnt a lot from this competition. \n\nWe are quite new in kaggle and this is our first competition. We will share the code in some days.\n",
      "votes": 24
    },
    {
      "id": 980730,
      "postDate": "2020-08-21T20:06:14.520Z",
      "content": "<p>Congratulations. Well done. Awesome models and finish!</p>",
      "rawMarkdown": "Congratulations. Well done. Awesome models and finish!",
      "votes": 1,
      "replies": [
        {
          "id": 980861,
          "postDate": "2020-08-22T00:00:05.247Z",
          "content": "<p>I'm curious about your <code>384x512</code> resolution. Is this a rectangle crop, or did you take a square crop and resize to rectangle?</p>",
          "rawMarkdown": "I'm curious about your `384x512` resolution. Is this a rectangle crop, or did you take a square crop and resize to rectangle?",
          "votes": 1
        },
        {
          "id": 980972,
          "postDate": "2020-08-22T04:16:03.160Z",
          "content": "<p>If it is 384x512 then first we central Crop into 576x576. Then resize into 384x512.<br>\nIn pytorch models 384x512 gives second high score(0.941) 512x512 (0.943) 384x384(0.938)</p>",
          "rawMarkdown": "If it is 384x512 then first we central Crop into 576x576. Then resize into 384x512.\nIn pytorch models 384x512 gives second high score(0.941) 512x512 (0.943) 384x384(0.938)",
          "votes": 1
        }
      ]
    },
    {
      "id": 980308,
      "postDate": "2020-08-21T13:39:07.427Z",
      "content": "<p>Congrats</p>",
      "rawMarkdown": "Congrats",
      "votes": 1
    },
    {
      "id": 979880,
      "postDate": "2020-08-21T07:13:52.830Z",
      "content": "<p>Great job 👍<br>\nCongratulations 😍</p>",
      "rawMarkdown": "Great job 👍\nCongratulations 😍",
      "votes": 1
    },
    {
      "id": 979214,
      "postDate": "2020-08-20T17:39:57.360Z",
      "content": "<p>Congrats good job</p>",
      "rawMarkdown": "Congrats good job",
      "votes": 1
    },
    {
      "id": 979211,
      "postDate": "2020-08-20T17:38:36.853Z",
      "content": "<p>Congrats <a href=\"https://www.kaggle.com/luckymnc\" target=\"_blank\">@luckymnc</a> and <a href=\"https://www.kaggle.com/masterroshi\" target=\"_blank\">@masterroshi</a>, <a href=\"https://www.kaggle.com/upbeatfreak\" target=\"_blank\">@upbeatfreak</a> for 6th place and gold medals.<br>\nAnd thanks for write-up. <br>\nI'm looking forward to pytorch solution. :)</p>",
      "rawMarkdown": "Congrats @luckymnc and @masterroshi, @upbeatfreak for 6th place and gold medals.\nAnd thanks for write-up. \nI'm looking forward to pytorch solution. :)",
      "votes": 1
    },
    {
      "id": 986329,
      "postDate": "2020-08-26T11:39:28.370Z",
      "content": "<p>congrats</p>",
      "rawMarkdown": "congrats"
    },
    {
      "id": 979215,
      "postDate": "2020-08-20T17:39:57.777Z",
      "rawMarkdown": "",
      "isDeleted": true
    },
    {
      "id": 980582,
      "postDate": "2020-08-21T17:44:01.380Z",
      "content": "<p>Thanks for sharing. Congrats</p>",
      "rawMarkdown": "Thanks for sharing. Congrats",
      "votes": 1
    }
  ],
  "comments": [
    {
      "id": 980730,
      "author_name": "Chris Deotte",
      "author_url": "",
      "post_date": "2020-08-21T20:06:14.520000",
      "content": "<p>Congratulations. Well done. Awesome models and finish!</p>",
      "votes": 1,
      "replies": [
        {
          "id": 980861,
          "author_name": "Chris Deotte",
          "author_url": "",
          "post_date": "2020-08-22T00:00:05.247000",
          "content": "<p>I'm curious about your <code>384x512</code> resolution. Is this a rectangle crop, or did you take a square crop and resize to rectangle?</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 980972,
          "author_name": "",
          "author_url": "",
          "post_date": "2020-08-22T04:16:03.160000",
          "content": "<p>If it is 384x512 then first we central Crop into 576x576. Then resize into 384x512.<br>\nIn pytorch models 384x512 gives second high score(0.941) 512x512 (0.943) 384x384(0.938)</p>",
          "votes": 1,
          "replies": []
        }
      ]
    },
    {
      "id": 980308,
      "author_name": "Survesh Chauhan",
      "author_url": "",
      "post_date": "2020-08-21T13:39:07.427000",
      "content": "<p>Congrats</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 979880,
      "author_name": "Abdur Rahim",
      "author_url": "",
      "post_date": "2020-08-21T07:13:52.830000",
      "content": "<p>Great job 👍<br>\nCongratulations 😍</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 979214,
      "author_name": "Bo Peng",
      "author_url": "",
      "post_date": "2020-08-20T17:39:57.360000",
      "content": "<p>Congrats good job</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 979211,
      "author_name": "Heroseo",
      "author_url": "",
      "post_date": "2020-08-20T17:38:36.853000",
      "content": "<p>Congrats <a href=\"https://www.kaggle.com/luckymnc\" target=\"_blank\">@luckymnc</a> and <a href=\"https://www.kaggle.com/masterroshi\" target=\"_blank\">@masterroshi</a>, <a href=\"https://www.kaggle.com/upbeatfreak\" target=\"_blank\">@upbeatfreak</a> for 6th place and gold medals.<br>\nAnd thanks for write-up. <br>\nI'm looking forward to pytorch solution. :)</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 986329,
      "author_name": "Safoora Naureen ",
      "author_url": "",
      "post_date": "2020-08-26T11:39:28.370000",
      "content": "<p>congrats</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 979215,
      "author_name": "",
      "author_url": "",
      "post_date": "2020-08-20T17:39:57.777000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 980582,
      "author_name": "Raoof Naushad",
      "author_url": "",
      "post_date": "2020-08-21T17:44:01.380000",
      "content": "<p>Thanks for sharing. Congrats</p>",
      "votes": 1,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "979196": "Congratatulations to the winners, and thanks to kaggle, competition sponsor and kernel contributors who shared their insights, it helped us a lot. Congratulations to my teammates @masterroshi @upbeatfreak\n##### Our current position standing 6th Private (23rd Public) is totally because of @cdeotte amazing contribution.\n\n#Our Approach\n\nWe started this competition after 2 months after the start.For a baseline, we used @cdeotte 's  [Triple Stratified Kfold With Tfrecords](https://www.kaggle.com/cdeotte/triple-stratified-kfold-with-tfrecords) for tensorflow and @shonenkov 's [[Training CV] Melanoma Starter](https://www.kaggle.com/shonenkov/training-cv-melanoma-starter). thankyou for these amazing kernels.we started working on them.\n\n\n\nWe used **EfficientNet [B0-B6]**, **Resnest**,**Resnext**,  with  Sizes **192x192** **256x256** **384x384** **512x512**  **768x768**  **384x512**[HxW]\n\n## Summary\n###### What Worked for Us\nHeavy TTA (X20)\nCutmix\ncoarse dropout\nSWA\nloss-Label Smoothing\noptimizer-AdamW, Adam\nBCE\n2018, 2020 and malignant datasets\n5 checkpoints' prediction averaging(stabalised our model's predictions)\nsome models were trained with different height width ratios\n\n###### What didn't Work for Us\nloss functions-Focal loss, dice loss\noptimizer- Ranger \nhair removal/addition\npseudo labelling\n2019 dataset\npreprocessing techniques from aptos competition\nprogressive learning\n\n## Ensembling techniques\nweighted average\nPower Average\nminmax ensemble(didn't help)\n3hr before end of competition I came across rank ensembling and and we did this ensemble and got **0.9697** for our last submission\n\n#Our 3 final Submission\nwe new the shakeup was coming, so we tried to select different approaches\n\n1.  All pytorch gpu solution models(with context) - 0.9530 (public LB) 0.9380 (private LB) 0.9541 (CV) \n2.  All pytorch model (with context) and All tf models (without context) - 0.9627 (public LB) 0.9470 (private LB) 0.9618 (CV) \n3.  Blend of public submission with 2nd submission with post proccessing technique - 0.9697 (public LB) 0.9126 (private LB) (overfitted)\nall the above were also ensembled with the meta only submission.\n\nwe wanted to give a shot to public lb overfitted submission but obviosly didn't work out well.\nI guess we were lucky enough to select the best private lb submission from our arsenel \n\nwe found the discussions and public kernels really fruitful and learnt a lot from this competition. \n\nWe are quite new in kaggle and this is our first competition. We will share the code in some days.\n",
    "980730": "Congratulations. Well done. Awesome models and finish!",
    "980308": "Congrats",
    "979880": "Great job 👍\nCongratulations 😍",
    "979214": "Congrats good job",
    "979211": "Congrats @luckymnc and @masterroshi, @upbeatfreak for 6th place and gold medals.\nAnd thanks for write-up. \nI'm looking forward to pytorch solution. :)",
    "986329": "congrats",
    "979215": "",
    "980582": "Thanks for sharing. Congrats"
  }
}