{
  "id": 168572,
  "title": " [74th place] First Medal - How I missed the Silver Medal",
  "url": "/competitions/alaska2-image-steganalysis/writeups/iocrops-74th-place-first-medal-how-i-missed-the-si",
  "author_name": "",
  "post_date": "2020-08-05T16:15:52.463Z",
  "votes": 9,
  "comment_count": 2,
  "views": 0,
  "content": "<p>Thank you to the organizers for this interesting competition!\nCongrats to all the winners and participants.</p>\n\n<p>In fact, I haven't tried a lot.\nWe realized the way too late.</p>\n\n<p>However it can be helpful for someone, so simply write it down.\n(I did other experiments - pretrained other models, optimizers, etc. - but I'm going to write down the main issues.)</p>\n\n<h1>EfficientNet-B0, EfficientNet-B1, EfficientNet-B2</h1>\n\n<p>It was good to do simple experiments, but it was hard to exceed 0.930 lb.</p>\n\n<h1>EfficientNet-B7</h1>\n\n<p>And then I trained b7.\nIt had the best performance on the about epoch 30 and achieved 0.933 lb.\n(I haven't tested many epochs due to limited GPU resources.)</p>\n\n<h1>EfficientNet-B6</h1>\n\n<p>Learned just before the close of the competition and achieved 0.930 lb at about 28 epoch.</p>\n\n<h1>Agumentation</h1>\n\n<p>flip augmentation\nrotate +- 10 (just B6)\ncutmix (our teammate - B3, @<a href=\"https://www.kaggle.com/kani23\">kani23</a> )</p>\n\n<p>When I applied rotate and cutmix, the validation score was a little higher.\nlike this:\n<code>[RESULT]: Train. Epoch: 21, summary_loss: 0.82028, final_score: 0.87635, time: 4017.75592\n[RESULT]: Val. Epoch: 21, summary_loss: 0.75268, final_score: 0.90341, time: 325.94613</code></p>\n\n<h1>TTA</h1>\n\n<p>Above 0.930 lb, it didn't work in public lb.\nbut in private, Actually, there was a very big difference.\n<code>EfficientNet-B7 + no TTA :  0.932 lb / (private 0.916)</code>\n<code>EfficientNet-B7 + TTA      :  0.932 lb / (private 0.920)</code></p>\n\n<p>Unfortunately I ensemble with the results of not applying TTA.\nSo, it didn't score better than my single model.\n😭 </p>\n\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F3492127%2Ff14ba2a956412e823537089b0d2c05d2%2F41.png?generation=1595355611359172&amp;alt=media\" alt=\"\"></p>\n\n<p>Anyway, I learned a lot and I will try harder in the future.\nThanks!</p>\n\n<p>p.s. Thanks to our teammate @<a href=\"https://www.kaggle.com/kani23\">kani23</a>,\np.s.2. <a href=\"https://www.kaggle.com/loveall\"></a><a href=\"/loveall\">@loveall</a>  - You can not use our results for your paper job.\nbecause you have contributed nothing and please don't take someone else's kernel anymore.</p>",
  "messages": [
    {
      "id": "937694",
      "postDate": "07/21/2020 06:06:10",
      "content": "<p>Thank you to the organizers for this interesting competition!\nCongrats to all the winners and participants.</p>\n\n<p>In fact, I haven't tried a lot.\nWe realized the way too late.</p>\n\n<p>However it can be helpful for someone, so simply write it down.\n(I did other experiments - pretrained other models, optimizers, etc. - but I'm going to write down the main issues.)</p>\n\n<h1>EfficientNet-B0, EfficientNet-B1, EfficientNet-B2</h1>\n\n<p>It was good to do simple experiments, but it was hard to exceed 0.930 lb.</p>\n\n<h1>EfficientNet-B7</h1>\n\n<p>And then I trained b7.\nIt had the best performance on the about epoch 30 and achieved 0.933 lb.\n(I haven't tested many epochs due to limited GPU resources.)</p>\n\n<h1>EfficientNet-B6</h1>\n\n<p>Learned just before the close of the competition and achieved 0.930 lb at about 28 epoch.</p>\n\n<h1>Agumentation</h1>\n\n<p>flip augmentation\nrotate +- 10 (just B6)\ncutmix (our teammate - B3, @<a href=\"https://www.kaggle.com/kani23\">kani23</a> )</p>\n\n<p>When I applied rotate and cutmix, the validation score was a little higher.\nlike this:\n<code>[RESULT]: Train. Epoch: 21, summary_loss: 0.82028, final_score: 0.87635, time: 4017.75592\n[RESULT]: Val. Epoch: 21, summary_loss: 0.75268, final_score: 0.90341, time: 325.94613</code></p>\n\n<h1>TTA</h1>\n\n<p>Above 0.930 lb, it didn't work in public lb.\nbut in private, Actually, there was a very big difference.\n<code>EfficientNet-B7 + no TTA :  0.932 lb / (private 0.916)</code>\n<code>EfficientNet-B7 + TTA      :  0.932 lb / (private 0.920)</code></p>\n\n<p>Unfortunately I ensemble with the results of not applying TTA.\nSo, it didn't score better than my single model.\n😭 </p>\n\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F3492127%2Ff14ba2a956412e823537089b0d2c05d2%2F41.png?generation=1595355611359172&amp;alt=media\" alt=\"\"></p>\n\n<p>Anyway, I learned a lot and I will try harder in the future.\nThanks!</p>\n\n<p>p.s. Thanks to our teammate @<a href=\"https://www.kaggle.com/kani23\">kani23</a>,\np.s.2. <a href=\"https://www.kaggle.com/loveall\"></a><a href=\"/loveall\">@loveall</a>  - You can not use our results for your paper job.\nbecause you have contributed nothing and please don't take someone else's kernel anymore.</p>",
      "rawMarkdown": "Thank you to the organizers for this interesting competition!\nCongrats to all the winners and participants.\n\nIn fact, I haven't tried a lot.\nWe realized the way too late.\n\nHowever it can be helpful for someone, so simply write it down.\n(I did other experiments - pretrained other models, optimizers, etc. - but I'm going to write down the main issues.)\n\n# EfficientNet-B0, EfficientNet-B1, EfficientNet-B2\nIt was good to do simple experiments, but it was hard to exceed 0.930 lb.\n\n# EfficientNet-B7\nAnd then I trained b7.\nIt had the best performance on the about epoch 30 and achieved 0.933 lb.\n(I haven't tested many epochs due to limited GPU resources.)\n\n# EfficientNet-B6\nLearned just before the close of the competition and achieved 0.930 lb at about 28 epoch.\n\n# Agumentation\nflip augmentation\nrotate +- 10 (just B6)\ncutmix (our teammate - B3, @[kani23](https://www.kaggle.com/kani23) )\n\nWhen I applied rotate and cutmix, the validation score was a little higher.\nlike this:\n`[RESULT]: Train. Epoch: 21, summary_loss: 0.82028, final_score: 0.87635, time: 4017.75592\n[RESULT]: Val. Epoch: 21, summary_loss: 0.75268, final_score: 0.90341, time: 325.94613`\n\n# TTA\nAbove 0.930 lb, it didn't work in public lb.\nbut in private, Actually, there was a very big difference.\n`EfficientNet-B7 + no TTA :  0.932 lb / (private 0.916)`\n`EfficientNet-B7 + TTA      :  0.932 lb / (private 0.920)`\n\nUnfortunately I ensemble with the results of not applying TTA.\nSo, it didn't score better than my single model.\n😭 \n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F3492127%2Ff14ba2a956412e823537089b0d2c05d2%2F41.png?generation=1595355611359172&amp;alt=media)\n\n \nAnyway, I learned a lot and I will try harder in the future.\nThanks!\n\np.s. Thanks to our teammate @[kani23](https://www.kaggle.com/kani23),\np.s.2. [@loveall ](https://www.kaggle.com/loveall) - You can not use our results for your paper job.\nbecause you have contributed nothing and please don't take someone else's kernel anymore.",
      "votes": null
    },
    {
      "id": "938409",
      "postDate": "07/21/2020 14:05:03",
      "content": "<p><a href=\"https://www.kaggle.com/piantic\" target=\"_blank\">@piantic</a> - what type of hardware did you use for this competition? You said you had limited GPU resources so just curious to know.</p>",
      "rawMarkdown": "piantic - what type of hardware did you use for this competition? You said you had limited GPU resources so just curious to know.",
      "votes": null
    },
    {
      "id": "938437",
      "postDate": "07/21/2020 14:27:48",
      "content": "<p>Initially I used TPU However, the Kaggle TPU was limited. \nLater, I used my local 2080Ti.\nAt the end of the competition, V100 was used for a few days . 😂 </p>",
      "rawMarkdown": "Initially I used TPU However, the Kaggle TPU was limited. \nLater, I used my local 2080Ti.\nAt the end of the competition, V100 was used for a few days . 😂",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 938409,
      "author_name": "rdizzl3",
      "author_url": "",
      "post_date": "07/21/2020 14:05:03",
      "content": "<p><a href=\"https://www.kaggle.com/piantic\" target=\"_blank\">@piantic</a> - what type of hardware did you use for this competition? You said you had limited GPU resources so just curious to know.</p>",
      "votes": null,
      "replies": [
        {
          "id": 938437,
          "author_name": "piantic",
          "author_url": "",
          "post_date": "07/21/2020 14:27:48",
          "content": "<p>Initially I used TPU However, the Kaggle TPU was limited. \nLater, I used my local 2080Ti.\nAt the end of the competition, V100 was used for a few days . 😂 </p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "937694": "Thank you to the organizers for this interesting competition!\nCongrats to all the winners and participants.\n\nIn fact, I haven't tried a lot.\nWe realized the way too late.\n\nHowever it can be helpful for someone, so simply write it down.\n(I did other experiments - pretrained other models, optimizers, etc. - but I'm going to write down the main issues.)\n\n# EfficientNet-B0, EfficientNet-B1, EfficientNet-B2\nIt was good to do simple experiments, but it was hard to exceed 0.930 lb.\n\n# EfficientNet-B7\nAnd then I trained b7.\nIt had the best performance on the about epoch 30 and achieved 0.933 lb.\n(I haven't tested many epochs due to limited GPU resources.)\n\n# EfficientNet-B6\nLearned just before the close of the competition and achieved 0.930 lb at about 28 epoch.\n\n# Agumentation\nflip augmentation\nrotate +- 10 (just B6)\ncutmix (our teammate - B3, @[kani23](https://www.kaggle.com/kani23) )\n\nWhen I applied rotate and cutmix, the validation score was a little higher.\nlike this:\n`[RESULT]: Train. Epoch: 21, summary_loss: 0.82028, final_score: 0.87635, time: 4017.75592\n[RESULT]: Val. Epoch: 21, summary_loss: 0.75268, final_score: 0.90341, time: 325.94613`\n\n# TTA\nAbove 0.930 lb, it didn't work in public lb.\nbut in private, Actually, there was a very big difference.\n`EfficientNet-B7 + no TTA :  0.932 lb / (private 0.916)`\n`EfficientNet-B7 + TTA      :  0.932 lb / (private 0.920)`\n\nUnfortunately I ensemble with the results of not applying TTA.\nSo, it didn't score better than my single model.\n😭 \n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F3492127%2Ff14ba2a956412e823537089b0d2c05d2%2F41.png?generation=1595355611359172&amp;alt=media)\n\n \nAnyway, I learned a lot and I will try harder in the future.\nThanks!\n\np.s. Thanks to our teammate @[kani23](https://www.kaggle.com/kani23),\np.s.2. [@loveall ](https://www.kaggle.com/loveall) - You can not use our results for your paper job.\nbecause you have contributed nothing and please don't take someone else's kernel anymore.",
    "938409": "piantic - what type of hardware did you use for this competition? You said you had limited GPU resources so just curious to know.",
    "938437": "Initially I used TPU However, the Kaggle TPU was limited. \nLater, I used my local 2080Ti.\nAt the end of the competition, V100 was used for a few days . 😂"
  },
  "source": "meta"
}