{
  "id": 220677,
  "title": "I could've made it into silver",
  "url": "/competitions/cassava-leaf-disease-classification/discussion/220677",
  "author_name": "",
  "post_date": "2021-02-19T06:58:03.859479300Z",
  "votes": 7,
  "comment_count": 2,
  "views": 0,
  "content": "<h2>Greeting word</h2>\n<p>Hello everyone.</p>\n<p>In this topic I will describe my approach, which placed me into gold zone in the first few days of the competition, but then New Year's holydays made me forgot about this competition for about a month. Also during that time I have faced something that I was never facing before in my kaggle competitions - lack of motivation to keep up. I trully admire people who kept working hard - no matter what you final score on the liderboard is - you are already winners.</p>\n<h2>Solution description</h2>\n<p>I was using a combination of 3 datasets:</p>\n<ol>\n<li>Original dataset, provided for this competition.</li>\n<li>Dataset from <a href=\"https://www.kaggle.com/c/cassava-disease\" target=\"_blank\">cassava 2019</a></li>\n<li>A <a href=\"https://www.kaggle.com/nroman/mendeley-leaves\" target=\"_blank\">dataset</a> that I have created. You can read more about it <a href=\"https://www.kaggle.com/c/cassava-leaf-disease-classification/discussion/199902\" target=\"_blank\">here</a>.</li>\n</ol>\n<p>Models:</p>\n<table>\n<thead>\n<tr>\n<th>Architecture</th>\n<th>CV</th>\n<th>Public</th>\n<th>Private</th>\n<th>Code</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>resnet34</td>\n<td>0.8804</td>\n<td>0.892</td>\n<td>0.891</td>\n<td><a href=\"https://github.com/CaypoH/kaggle_cassava/blob/main/resnet34.ipynb\" target=\"_blank\">link</a></td>\n</tr>\n<tr>\n<td>effnet-b3</td>\n<td>0.8871</td>\n<td>0.897</td>\n<td>0.897</td>\n<td><a href=\"https://github.com/CaypoH/kaggle_cassava/blob/main/efficientnet_b3_fold_3.ipynb\" target=\"_blank\">link</a></td>\n</tr>\n<tr>\n<td>effnet-b3</td>\n<td>0.8849</td>\n<td>0.898</td>\n<td>0.890</td>\n<td>---</td>\n</tr>\n</tbody>\n</table>\n<p>As you can see on the picture below there were 3 submissions with 0.899 Private score, which might place me into a silver zone, but I did not choose any of them, which make a lot of sense - with such a low Cross-Validation scores I never even considered any of them as one of my final submissions. </p>\n<p><img src=\"https://i.postimg.cc/WzgyJfBr/image.png\" alt=\"\"></p>\n<p>The ones I have chosen had better CV with higher Public LB.<br>\nBut as it was <a href=\"https://www.kaggle.com/c/cassava-leaf-disease-classification/discussion/202673\" target=\"_blank\">already said</a> plenty of times - testing dataset contains a considerable amount of noise, just like training set. A challenge was to make a model robust enough to have good performance with such noise. And I have failed this challenge.</p>\n<p>Anyway, besided combining 2020 and 2019 datasets with a dataset of my own I had no tricks. This is what worked for me from the very beginning:</p>\n<ul>\n<li>Smaller models -&gt; better result: resnet34 &gt; resnet101, effnet-b3 &gt; effnet-b7</li>\n<li>Lower TTA: No tta was better than 8-10 TTA rounds.</li>\n<li>Less augmentations: heavy complex augmentations were losing to simple ones. CutMix and MixUp were even worse.</li>\n</ul>\n<p>With everything that I have described I managed to score 0.902 on Public LB during the first week (or two?) of the competition and I remember that I was pretty surprised that this placed me into a gold zone at a time.</p>",
  "messages": [
    {
      "id": "1210030",
      "postDate": "02/19/2021 06:58:03",
      "content": "<h2>Greeting word</h2>\n<p>Hello everyone.</p>\n<p>In this topic I will describe my approach, which placed me into gold zone in the first few days of the competition, but then New Year's holydays made me forgot about this competition for about a month. Also during that time I have faced something that I was never facing before in my kaggle competitions - lack of motivation to keep up. I trully admire people who kept working hard - no matter what you final score on the liderboard is - you are already winners.</p>\n<h2>Solution description</h2>\n<p>I was using a combination of 3 datasets:</p>\n<ol>\n<li>Original dataset, provided for this competition.</li>\n<li>Dataset from <a href=\"https://www.kaggle.com/c/cassava-disease\" target=\"_blank\">cassava 2019</a></li>\n<li>A <a href=\"https://www.kaggle.com/nroman/mendeley-leaves\" target=\"_blank\">dataset</a> that I have created. You can read more about it <a href=\"https://www.kaggle.com/c/cassava-leaf-disease-classification/discussion/199902\" target=\"_blank\">here</a>.</li>\n</ol>\n<p>Models:</p>\n<table>\n<thead>\n<tr>\n<th>Architecture</th>\n<th>CV</th>\n<th>Public</th>\n<th>Private</th>\n<th>Code</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>resnet34</td>\n<td>0.8804</td>\n<td>0.892</td>\n<td>0.891</td>\n<td><a href=\"https://github.com/CaypoH/kaggle_cassava/blob/main/resnet34.ipynb\" target=\"_blank\">link</a></td>\n</tr>\n<tr>\n<td>effnet-b3</td>\n<td>0.8871</td>\n<td>0.897</td>\n<td>0.897</td>\n<td><a href=\"https://github.com/CaypoH/kaggle_cassava/blob/main/efficientnet_b3_fold_3.ipynb\" target=\"_blank\">link</a></td>\n</tr>\n<tr>\n<td>effnet-b3</td>\n<td>0.8849</td>\n<td>0.898</td>\n<td>0.890</td>\n<td>---</td>\n</tr>\n</tbody>\n</table>\n<p>As you can see on the picture below there were 3 submissions with 0.899 Private score, which might place me into a silver zone, but I did not choose any of them, which make a lot of sense - with such a low Cross-Validation scores I never even considered any of them as one of my final submissions. </p>\n<p><img src=\"https://i.postimg.cc/WzgyJfBr/image.png\" alt=\"\"></p>\n<p>The ones I have chosen had better CV with higher Public LB.<br>\nBut as it was <a href=\"https://www.kaggle.com/c/cassava-leaf-disease-classification/discussion/202673\" target=\"_blank\">already said</a> plenty of times - testing dataset contains a considerable amount of noise, just like training set. A challenge was to make a model robust enough to have good performance with such noise. And I have failed this challenge.</p>\n<p>Anyway, besided combining 2020 and 2019 datasets with a dataset of my own I had no tricks. This is what worked for me from the very beginning:</p>\n<ul>\n<li>Smaller models -&gt; better result: resnet34 &gt; resnet101, effnet-b3 &gt; effnet-b7</li>\n<li>Lower TTA: No tta was better than 8-10 TTA rounds.</li>\n<li>Less augmentations: heavy complex augmentations were losing to simple ones. CutMix and MixUp were even worse.</li>\n</ul>\n<p>With everything that I have described I managed to score 0.902 on Public LB during the first week (or two?) of the competition and I remember that I was pretty surprised that this placed me into a gold zone at a time.</p>",
      "rawMarkdown": "## Greeting word\n\nHello everyone.\n\nIn this topic I will describe my approach, which placed me into gold zone in the first few days of the competition, but then New Year's holydays made me forgot about this competition for about a month. Also during that time I have faced something that I was never facing before in my kaggle competitions - lack of motivation to keep up. I trully admire people who kept working hard - no matter what you final score on the liderboard is - you are already winners.\n\n## Solution description\n\nI was using a combination of 3 datasets:\n1. Original dataset, provided for this competition.\n2. Dataset from [cassava 2019](https://www.kaggle.com/c/cassava-disease)\n3. A [dataset](https://www.kaggle.com/nroman/mendeley-leaves) that I have created. You can read more about it [here](https://www.kaggle.com/c/cassava-leaf-disease-classification/discussion/199902).\n\nModels:\n| Architecture | CV | Public | Private | Code |\n| --- | --- | --- | --- | --- |\n| resnet34 | 0.8804 | 0.892 | 0.891 | [link](https://github.com/CaypoH/kaggle_cassava/blob/main/resnet34.ipynb) |\n| effnet-b3 | 0.8871 | 0.897 | 0.897 | [link](https://github.com/CaypoH/kaggle_cassava/blob/main/efficientnet_b3_fold_3.ipynb) | \n| effnet-b3 | 0.8849 | 0.898 | 0.890 | --- |\n\n\nAs you can see on the picture below there were 3 submissions with 0.899 Private score, which might place me into a silver zone, but I did not choose any of them, which make a lot of sense - with such a low Cross-Validation scores I never even considered any of them as one of my final submissions. \n\n![](https://i.postimg.cc/WzgyJfBr/image.png)\n\nThe ones I have chosen had better CV with higher Public LB.\nBut as it was [already said](https://www.kaggle.com/c/cassava-leaf-disease-classification/discussion/202673) plenty of times - testing dataset contains a considerable amount of noise, just like training set. A challenge was to make a model robust enough to have good performance with such noise. And I have failed this challenge.\n\nAnyway, besided combining 2020 and 2019 datasets with a dataset of my own I had no tricks. This is what worked for me from the very beginning:\n* Smaller models -> better result: resnet34 > resnet101, effnet-b3 > effnet-b7\n* Lower TTA: No tta was better than 8-10 TTA rounds.\n* Less augmentations: heavy complex augmentations were losing to simple ones. CutMix and MixUp were even worse.\n\nWith everything that I have described I managed to score 0.902 on Public LB during the first week (or two?) of the competition and I remember that I was pretty surprised that this placed me into a gold zone at a time.",
      "votes": null
    },
    {
      "id": "1210047",
      "postDate": "02/19/2021 07:09:52",
      "content": "<p>Yeah, holidays and other stuff do get in the way.. However do note, family is more important than anything. So don't regret anything! You still did really good, and after reading your discussion, I would love to make more late submissions trying these tactics out. Thanks for solution, family first! </p>",
      "rawMarkdown": "Yeah, holidays and other stuff do get in the way.. However do note, family is more important than anything. So don't regret anything! You still did really good, and after reading your discussion, I would love to make more late submissions trying these tactics out. Thanks for solution, family first!",
      "votes": null
    },
    {
      "id": "1210053",
      "postDate": "02/19/2021 07:13:26",
      "content": "<p>Good job and well done! Next time you can get a medal. :)</p>",
      "rawMarkdown": "Good job and well done! Next time you can get a medal. :)",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1210047,
      "author_name": "andyjianzhou",
      "author_url": "",
      "post_date": "02/19/2021 07:09:52",
      "content": "<p>Yeah, holidays and other stuff do get in the way.. However do note, family is more important than anything. So don't regret anything! You still did really good, and after reading your discussion, I would love to make more late submissions trying these tactics out. Thanks for solution, family first! </p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1210053,
      "author_name": "piantic",
      "author_url": "",
      "post_date": "02/19/2021 07:13:26",
      "content": "<p>Good job and well done! Next time you can get a medal. :)</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1210030": "## Greeting word\n\nHello everyone.\n\nIn this topic I will describe my approach, which placed me into gold zone in the first few days of the competition, but then New Year's holydays made me forgot about this competition for about a month. Also during that time I have faced something that I was never facing before in my kaggle competitions - lack of motivation to keep up. I trully admire people who kept working hard - no matter what you final score on the liderboard is - you are already winners.\n\n## Solution description\n\nI was using a combination of 3 datasets:\n1. Original dataset, provided for this competition.\n2. Dataset from [cassava 2019](https://www.kaggle.com/c/cassava-disease)\n3. A [dataset](https://www.kaggle.com/nroman/mendeley-leaves) that I have created. You can read more about it [here](https://www.kaggle.com/c/cassava-leaf-disease-classification/discussion/199902).\n\nModels:\n| Architecture | CV | Public | Private | Code |\n| --- | --- | --- | --- | --- |\n| resnet34 | 0.8804 | 0.892 | 0.891 | [link](https://github.com/CaypoH/kaggle_cassava/blob/main/resnet34.ipynb) |\n| effnet-b3 | 0.8871 | 0.897 | 0.897 | [link](https://github.com/CaypoH/kaggle_cassava/blob/main/efficientnet_b3_fold_3.ipynb) | \n| effnet-b3 | 0.8849 | 0.898 | 0.890 | --- |\n\n\nAs you can see on the picture below there were 3 submissions with 0.899 Private score, which might place me into a silver zone, but I did not choose any of them, which make a lot of sense - with such a low Cross-Validation scores I never even considered any of them as one of my final submissions. \n\n![](https://i.postimg.cc/WzgyJfBr/image.png)\n\nThe ones I have chosen had better CV with higher Public LB.\nBut as it was [already said](https://www.kaggle.com/c/cassava-leaf-disease-classification/discussion/202673) plenty of times - testing dataset contains a considerable amount of noise, just like training set. A challenge was to make a model robust enough to have good performance with such noise. And I have failed this challenge.\n\nAnyway, besided combining 2020 and 2019 datasets with a dataset of my own I had no tricks. This is what worked for me from the very beginning:\n* Smaller models -> better result: resnet34 > resnet101, effnet-b3 > effnet-b7\n* Lower TTA: No tta was better than 8-10 TTA rounds.\n* Less augmentations: heavy complex augmentations were losing to simple ones. CutMix and MixUp were even worse.\n\nWith everything that I have described I managed to score 0.902 on Public LB during the first week (or two?) of the competition and I remember that I was pretty surprised that this placed me into a gold zone at a time.",
    "1210047": "Yeah, holidays and other stuff do get in the way.. However do note, family is more important than anything. So don't regret anything! You still did really good, and after reading your discussion, I would love to make more late submissions trying these tactics out. Thanks for solution, family first!",
    "1210053": "Good job and well done! Next time you can get a medal. :)"
  },
  "source": "meta"
}