{
  "id": 198219,
  "title": "CV vs LB..",
  "url": "/competitions/cassava-leaf-disease-classification/discussion/198219",
  "author_name": "arutema47",
  "post_date": "2020-11-20T09:34:07.390000",
  "votes": 52,
  "comment_count": 48,
  "views": 0,
  "content": "<p>Yay an image competition!!</p>\n<p>Eff-b0 single fold<br>\nCV 0.89<br>\nLB: 0.893</p>\n<p>-- updates --<br>\nEff-b0 single fold + TTA<br>\n<a href=\"https://www.kaggle.com/kyoshioka47/ttach-kaggle\" target=\"_blank\">https://www.kaggle.com/kyoshioka47/ttach-kaggle</a></p>\n<p>LB: 0.896</p>\n<p>Eff-b2 5-folds<br>\nLB: 0.901</p>",
  "messages": [
    {
      "id": 1084681,
      "postDate": "2020-11-20T09:34:07.390Z",
      "content": "<p>Yay an image competition!!</p>\n<p>Eff-b0 single fold<br>\nCV 0.89<br>\nLB: 0.893</p>\n<p>-- updates --<br>\nEff-b0 single fold + TTA<br>\n<a href=\"https://www.kaggle.com/kyoshioka47/ttach-kaggle\" target=\"_blank\">https://www.kaggle.com/kyoshioka47/ttach-kaggle</a></p>\n<p>LB: 0.896</p>\n<p>Eff-b2 5-folds<br>\nLB: 0.901</p>",
      "rawMarkdown": "Yay an image competition!!\n\nEff-b0 single fold\nCV 0.89\nLB: 0.893\n\n-- updates --\nEff-b0 single fold + TTA\nhttps://www.kaggle.com/kyoshioka47/ttach-kaggle\n\nLB: 0.896\n\nEff-b2 5-folds\nLB: 0.901",
      "votes": 52
    },
    {
      "id": 1084855,
      "postDate": "2020-11-20T13:06:09.780Z",
      "content": "<p>resnext50_32x4d <br>\n256x256<br>\n10 epochs <br>\nno TTA<br>\nCV: 0.87372 (<a href=\"https://www.kaggle.com/yasufuminakama/cassava-resnext50-32x4d-starter-training\" target=\"_blank\">https://www.kaggle.com/yasufuminakama/cassava-resnext50-32x4d-starter-training</a>)<br>\nLB: 0.890 (<a href=\"https://www.kaggle.com/yasufuminakama/cassava-resnext50-32x4d-starter-inference\" target=\"_blank\">https://www.kaggle.com/yasufuminakama/cassava-resnext50-32x4d-starter-inference</a>)</p>",
      "rawMarkdown": "resnext50_32x4d \n256x256\n10 epochs \nno TTA\nCV: 0.87372 (https://www.kaggle.com/yasufuminakama/cassava-resnext50-32x4d-starter-training)\nLB: 0.890 (https://www.kaggle.com/yasufuminakama/cassava-resnext50-32x4d-starter-inference)",
      "votes": 8,
      "replies": [
        {
          "id": 1085661,
          "postDate": "2020-11-21T04:27:55.047Z",
          "content": "<p>seresnext101_32x4d <br>\n320x320<br>\n10 epochs<br>\nCV: 0.887<br>\nLB(0TTA): 0.894<br>\nLB(3TTA): 0.898</p>",
          "rawMarkdown": "seresnext101_32x4d \n320x320\n10 epochs\nCV: 0.887\nLB(0TTA): 0.894\nLB(3TTA): 0.898",
          "votes": 7
        }
      ]
    },
    {
      "id": 1085704,
      "postDate": "2020-11-21T06:04:35.760Z",
      "content": "<p>resnet18, single fold<br>\nCV: 0.895<br>\nLB: 0.898</p>",
      "rawMarkdown": "resnet18, single fold\nCV: 0.895\nLB: 0.898",
      "votes": 6,
      "replies": [
        {
          "id": 1086739,
          "postDate": "2020-11-22T02:24:26.760Z",
          "content": "<p>Your augmentations must be powerful. I tried simple augs with tta using ResNet18 and can't cross 0.87 on LB.</p>",
          "rawMarkdown": "Your augmentations must be powerful. I tried simple augs with tta using ResNet18 and can't cross 0.87 on LB."
        },
        {
          "id": 1093454,
          "postDate": "2020-11-27T18:17:40.647Z",
          "content": "<p><a href=\"https://www.kaggle.com/phalanx\" target=\"_blank\">@phalanx</a> can you tell what Image size you are using ? also are you using TTA ?</p>",
          "rawMarkdown": "@phalanx can you tell what Image size you are using ? also are you using TTA ?\n"
        }
      ]
    },
    {
      "id": 1091621,
      "postDate": "2020-11-26T06:24:20.117Z",
      "content": "<p>resnext50<br>\n448*448<br>\n5folds<br>\nCV 0.893<br>\nLB 0.903</p>",
      "rawMarkdown": "resnext50\n448*448\n5folds\nCV 0.893\nLB 0.903",
      "votes": 4
    },
    {
      "id": 1084878,
      "postDate": "2020-11-20T13:38:03.720Z",
      "content": "<p>efficientnet-b0<br>\n5 epochs<br>\nno TTA<br>\nCV .892<br>\nLB .893</p>",
      "rawMarkdown": "efficientnet-b0\n5 epochs\nno TTA\nCV .892\nLB .893",
      "votes": 4,
      "replies": [
        {
          "id": 1093634,
          "postDate": "2020-11-27T21:42:33.560Z",
          "content": "<p>Good result for this network! What image size did you use?</p>",
          "rawMarkdown": "Good result for this network! What image size did you use?"
        },
        {
          "id": 1094040,
          "postDate": "2020-11-28T09:05:41.123Z",
          "content": "<p>I use 512x512</p>",
          "rawMarkdown": "I use 512x512",
          "votes": 1
        },
        {
          "id": 1094136,
          "postDate": "2020-11-28T10:54:21.887Z",
          "content": "<p>Thanks! I will try larger sizes too</p>",
          "rawMarkdown": "Thanks! I will try larger sizes too"
        }
      ]
    },
    {
      "id": 1169365,
      "postDate": "2021-01-25T13:08:28.847Z",
      "content": "<p>Ensemble TTA CV 0.903 - TTA lb 0.904 </p>",
      "rawMarkdown": "Ensemble TTA CV 0.903 - TTA lb 0.904 ",
      "votes": 1
    },
    {
      "id": 1100260,
      "postDate": "2020-12-03T00:19:09.663Z",
      "content": "<p>Wow, a sight for sore eyes after the MoA competition! The CV and LB scores are extremely close to each other here.</p>",
      "rawMarkdown": "Wow, a sight for sore eyes after the MoA competition! The CV and LB scores are extremely close to each other here.",
      "votes": 1
    },
    {
      "id": 1095029,
      "postDate": "2020-11-29T07:44:00.177Z",
      "content": "<p>efficientnet-b3<br>\nsingle fold<br>\n20 epochs</p>\n<p>no TTA<br>\nLB .892<br>\nCV 0.896</p>\n<p>with TTA<br>\nLB  894</p>",
      "rawMarkdown": "efficientnet-b3\nsingle fold\n20 epochs\n\nno TTA\nLB .892\nCV 0.896\n\nwith TTA\nLB  894",
      "votes": 1
    },
    {
      "id": 1094375,
      "postDate": "2020-11-28T15:06:18.163Z",
      "content": "<p>efficientnet-b6<br>\n12 epochs<br>\nno TTA<br>\nCV .8910<br>\nLB .9010</p>",
      "rawMarkdown": "efficientnet-b6\n12 epochs\nno TTA\nCV .8910\nLB .9010",
      "votes": 1
    },
    {
      "id": 1090677,
      "postDate": "2020-11-25T14:28:53.947Z",
      "content": "<p>actually, I'm having a very hard time improving the best single fold score.<br>\nAll improvements come from ensembling models and its getting quite boring..</p>",
      "rawMarkdown": "actually, I'm having a very hard time improving the best single fold score.\nAll improvements come from ensembling models and its getting quite boring..",
      "votes": 1,
      "replies": [
        {
          "id": 1090854,
          "postDate": "2020-11-25T16:15:23.467Z",
          "content": "<p>What ensembling technique are u using?</p>",
          "rawMarkdown": "What ensembling technique are u using?\n"
        },
        {
          "id": 1091040,
          "postDate": "2020-11-25T18:31:54.770Z",
          "content": "<p>Same for me, I have similar CV as you and can't seem to increase it </p>",
          "rawMarkdown": "Same for me, I have similar CV as you and can't seem to increase it "
        },
        {
          "id": 1091371,
          "postDate": "2020-11-26T00:59:03.880Z",
          "content": "<p><a href=\"https://www.kaggle.com/mrinath\" target=\"_blank\">@mrinath</a> I'm just adding up all the predictions. Since argmax is taken, that's fine.</p>",
          "rawMarkdown": "@mrinath I'm just adding up all the predictions. Since argmax is taken, that's fine."
        },
        {
          "id": 1094150,
          "postDate": "2020-11-28T11:07:42.503Z",
          "content": "<blockquote>\n  <p>All improvements come from ensembling models and its getting quite boring..</p>\n</blockquote>\n<p>I think one could achieve  +0.910 with single model before the end. </p>\n<p>The competion just begins.  There are still almost 3 months to go. </p>\n<p>Edit 07/12/2020: I made this comment before the LB was updated. The current best LB after update (+0.905) would  like be +0.910 before update. </p>\n<p>My new prediction for best single model before the end is +0.908</p>",
          "rawMarkdown": ">  All improvements come from ensembling models and its getting quite boring..\n\nI think one could achieve  +0.910 with single model before the end. \n\nThe competion just begins.  There are still almost 3 months to go. \n\nEdit 07/12/2020: I made this comment before the LB was updated. The current best LB after update (+0.905) would  like be +0.910 before update. \n\nMy new prediction for best single model before the end is +0.908\n",
          "votes": 2
        },
        {
          "id": 1094156,
          "postDate": "2020-11-28T11:11:47.417Z",
          "content": "<p>'single model' means only one fold or k-folds?</p>",
          "rawMarkdown": "'single model' means only one fold or k-folds?"
        },
        {
          "id": 1094405,
          "postDate": "2020-11-28T15:38:22.573Z",
          "content": "<p>one or k-folds whatever, but most importantly improvements from data (and external data) processing, model architecture and training pipleline. </p>",
          "rawMarkdown": "one or k-folds whatever, but most importantly improvements from data (and external data) processing, model architecture and training pipleline. ",
          "votes": 1
        },
        {
          "id": 1094442,
          "postDate": "2020-11-28T16:06:29.147Z",
          "content": "<p>It’s kinda weird the scores are all stagnant at 0.90x</p>",
          "rawMarkdown": "It’s kinda weird the scores are all stagnant at 0.90x"
        },
        {
          "id": 1095070,
          "postDate": "2020-11-29T08:16:46.083Z",
          "content": "<p><a href=\"https://www.kaggle.com/reighns\" target=\"_blank\">@reighns</a> do you think this is because of some labelling issue where almost everyone's model is failing to predict</p>",
          "rawMarkdown": "@reighns do you think this is because of some labelling issue where almost everyone's model is failing to predict",
          "votes": 2
        },
        {
          "id": 1109666,
          "postDate": "2020-12-12T00:02:35.923Z",
          "rawMarkdown": "",
          "isDeleted": true
        }
      ]
    },
    {
      "id": 1096131,
      "postDate": "2020-11-30T08:31:06.477Z",
      "content": "<p>EffNet B4 <br>\n5 folds <br>\nCV 0.901<br>\nLB 0.905 (No TTA)</p>",
      "rawMarkdown": "EffNet B4 \n5 folds \nCV 0.901\nLB 0.905 (No TTA)",
      "votes": 2,
      "replies": [
        {
          "id": 1096495,
          "postDate": "2020-11-30T14:36:53.270Z",
          "content": "<p>Hi buddy, CV seems to be consistent with LB?</p>",
          "rawMarkdown": "Hi buddy, CV seems to be consistent with LB?"
        },
        {
          "id": 1096548,
          "postDate": "2020-11-30T15:35:05.913Z",
          "content": "<p>Yeah it seems stable  and pretty much aligned with the LB after some modification of my training pipeline</p>\n<p>Glad to see you here :)</p>",
          "rawMarkdown": "Yeah it seems stable  and pretty much aligned with the LB after some modification of my training pipeline\n\nGlad to see you here :)"
        },
        {
          "id": 1167316,
          "postDate": "2021-01-24T07:12:57.067Z",
          "content": "<p><a href=\"https://www.kaggle.com/serigne\" target=\"_blank\">@serigne</a>  what is img size you using 512 ?</p>",
          "rawMarkdown": "@serigne  what is img size you using 512 ?"
        }
      ]
    },
    {
      "id": 1169348,
      "postDate": "2021-01-25T12:59:19.937Z",
      "content": "<p>seresnext101_32x4d<br>\n512x512<br>\n5-folds<br>\nBest single Fold: 0.905<br>\nCV: 0.901; LB: 0.902</p>",
      "rawMarkdown": "seresnext101_32x4d\n512x512\n5-folds\nBest single Fold: 0.905\nCV: 0.901; LB: 0.902"
    },
    {
      "id": 1167319,
      "postDate": "2021-01-24T07:14:49.443Z",
      "content": "<p>best single model score .90  and ensemble 90.6 effnet and others</p>",
      "rawMarkdown": "best single model score .90  and ensemble 90.6 effnet and others",
      "replies": [
        {
          "id": 1168324,
          "postDate": "2021-01-24T21:51:36.577Z",
          "content": "<p>Could you provide more details on the ensemble?</p>",
          "rawMarkdown": "Could you provide more details on the ensemble?"
        },
        {
          "id": 1168325,
          "postDate": "2021-01-24T21:58:41.307Z",
          "content": "<p><a href=\"https://www.kaggle.com/jaideepvalani\" target=\"_blank\">@jaideepvalani</a> Are these your CV or LB scores?</p>",
          "rawMarkdown": "@jaideepvalani Are these your CV or LB scores?"
        },
        {
          "id": 1168973,
          "postDate": "2021-01-25T09:17:41.217Z",
          "content": "<p>Lbs, cvs are either same or less by .003 to .004 </p>",
          "rawMarkdown": "Lbs, cvs are either same or less by .003 to .004 ",
          "votes": 1
        },
        {
          "id": 1171524,
          "postDate": "2021-01-26T22:44:20.093Z",
          "content": "<p><a href=\"https://www.kaggle.com/jaideepvalani\" target=\"_blank\">@jaideepvalani</a> Can you tell the type of ensembling are you using? Is it simple averaging or something complex?</p>",
          "rawMarkdown": "@jaideepvalani Can you tell the type of ensembling are you using? Is it simple averaging or something complex?"
        }
      ]
    },
    {
      "id": 1100462,
      "postDate": "2020-12-03T05:16:05.217Z",
      "content": "<p>vit cv 90+ lb87+</p>",
      "rawMarkdown": "vit cv 90+ lb87+"
    },
    {
      "id": 1095244,
      "postDate": "2020-11-29T11:54:46.663Z",
      "content": "<p>resnext50<br>\n5-Folds<br>\nno TTA</p>\n<p>CV 0.893<br>\nLB 0.902</p>",
      "rawMarkdown": "resnext50\n5-Folds\nno TTA\n\nCV 0.893\nLB 0.902",
      "replies": [
        {
          "id": 1095520,
          "postDate": "2020-11-29T17:18:37.847Z",
          "content": "<p>resnext50<br>\n5-Folds<br>\nno TTA</p>\n<p>CV 0.895<br>\nLB 0.903</p>",
          "rawMarkdown": "resnext50\n5-Folds\nno TTA\n\nCV 0.895\nLB 0.903",
          "votes": 1
        }
      ]
    },
    {
      "id": 1094444,
      "postDate": "2020-11-28T16:09:25.027Z",
      "content": "<p>Has anyone experimented with sizes? bigger the sizes better the results? that is what's the relation of LB and size of the image</p>",
      "rawMarkdown": "Has anyone experimented with sizes? bigger the sizes better the results? that is what's the relation of LB and size of the image",
      "replies": [
        {
          "id": 1095155,
          "postDate": "2020-11-29T09:54:36.360Z",
          "content": "<p>From my experiments after a particular resolution model will stop getting better. 512x512 is an overkill the same or better results can be made with a lower resolution.</p>",
          "rawMarkdown": "From my experiments after a particular resolution model will stop getting better. 512x512 is an overkill the same or better results can be made with a lower resolution.",
          "votes": 1
        },
        {
          "id": 1102941,
          "postDate": "2020-12-05T13:51:44.390Z",
          "content": "<p>The efficientnet paper has this to say:<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1807054%2F3c77090ae52887d54c4aef2f0ea2db73%2FUntitled.png?generation=1607176663723372&amp;alt=media\" alt=\"\"></p>",
          "rawMarkdown": "The efficientnet paper has this to say:![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1807054%2F3c77090ae52887d54c4aef2f0ea2db73%2FUntitled.png?generation=1607176663723372&alt=media)"
        }
      ]
    },
    {
      "id": 1089780,
      "postDate": "2020-11-24T19:16:00.657Z",
      "content": "<p>Looking from all the results CV/LB relation is very close to 1; (still, can't trust what happens in private data), do think same imbalance is there in private</p>",
      "rawMarkdown": "Looking from all the results CV/LB relation is very close to 1; (still, can't trust what happens in private data), do think same imbalance is there in private"
    },
    {
      "id": 1088650,
      "postDate": "2020-11-23T20:35:24.870Z",
      "content": "<p>Sorry, I am a novice here :) What do you mean by <code>single fold</code>?</p>",
      "rawMarkdown": "Sorry, I am a novice here :) What do you mean by `single fold`?",
      "replies": [
        {
          "id": 1088673,
          "postDate": "2020-11-23T21:03:33.520Z",
          "content": "<p>Typically you hold out 20% of the train data for a local validation dataset.</p>\n<p>You vary the 20%, so you have 5 different combinations of train data and validation data. Each one is called a \"fold\". \"Stratefied\" folds attempt to distribute the train data evenly, so you don't have one train dataset with all the class-3 data and another with all the \"class-1\" data.</p>\n<p>For your local cross validation, you combine the results of your five \"folds\" to get a local cross-validation (CV) score.</p>\n<p>Then you run the test data against your five models and combine the scores. That gives you a Leaderboard score.</p>\n<p>The hope is that the five \"folds\" will average out any errors and be more accurate than one fold or just using the leaderboard score as a guide. This is usually true, and you have to learn to \"trust\" your cross-validation, rather than be guided by the leaderboard score (which is usually on a small subset of the real test data).</p>\n<p>There is nothing magic about 20% and 5 folds. Just tradition. You could do fewer folds or more, depending on your data set size and your processing time.</p>\n<p>So, the final answer - \"single fold\" is when somebody has not yet done multiple training runs, so they only have one validation dataset. Since it takes typically 5 times as long to run five folds, you typically try and get parameters close with a single fold and then start running five-folds. Also depends on how long a fold takes.</p>\n<p>-Rich</p>",
          "rawMarkdown": "Typically you hold out 20% of the train data for a local validation dataset.\n\nYou vary the 20%, so you have 5 different combinations of train data and validation data. Each one is called a \"fold\". \"Stratefied\" folds attempt to distribute the train data evenly, so you don't have one train dataset with all the class-3 data and another with all the \"class-1\" data.\n\nFor your local cross validation, you combine the results of your five \"folds\" to get a local cross-validation (CV) score.\n\nThen you run the test data against your five models and combine the scores. That gives you a Leaderboard score.\n\nThe hope is that the five \"folds\" will average out any errors and be more accurate than one fold or just using the leaderboard score as a guide. This is usually true, and you have to learn to \"trust\" your cross-validation, rather than be guided by the leaderboard score (which is usually on a small subset of the real test data).\n\nThere is nothing magic about 20% and 5 folds. Just tradition. You could do fewer folds or more, depending on your data set size and your processing time.\n\nSo, the final answer - \"single fold\" is when somebody has not yet done multiple training runs, so they only have one validation dataset. Since it takes typically 5 times as long to run five folds, you typically try and get parameters close with a single fold and then start running five-folds. Also depends on how long a fold takes.\n\n-Rich",
          "votes": 12
        },
        {
          "id": 1088711,
          "postDate": "2020-11-23T21:54:04.760Z",
          "content": "<p>Thank you very match for description! As I understand, single fold it the same thing as hold-out CV. Hope I can beat something serious and will write it here later)</p>",
          "rawMarkdown": "Thank you very match for description! As I understand, single fold it the same thing as hold-out CV. Hope I can beat something serious and will write it here later)",
          "votes": 1
        }
      ]
    },
    {
      "id": 1087598,
      "postDate": "2020-11-22T22:26:19.037Z",
      "content": "<p>Model: fast-resnest50<br>\nsingle fold<br>\nAug: rotation, flip, brightness, contrast, cutout<br>\nTTA: 0<br>\nCV: 0.8715<br>\nLB: 0.8800</p>\n<p>I believe I can push my CV/LB even further with Fast-Resnest. </p>",
      "rawMarkdown": "Model: fast-resnest50\nsingle fold\nAug: rotation, flip, brightness, contrast, cutout\nTTA: 0\nCV: 0.8715\nLB: 0.8800\n\nI believe I can push my CV/LB even further with Fast-Resnest. "
    },
    {
      "id": 1087530,
      "postDate": "2020-11-22T20:10:58.467Z",
      "content": "<p>Resnest50<br>\nsingle fold<br>\nCV: 0.9009<br>\nLB: 0.890</p>\n<p>my lb is always lower than cv, should probably test other folds</p>",
      "rawMarkdown": "Resnest50\nsingle fold\nCV: 0.9009\nLB: 0.890\n\nmy lb is always lower than cv, should probably test other folds"
    },
    {
      "id": 1086702,
      "postDate": "2020-11-22T00:40:31.070Z",
      "content": "<p>resnest50d_4s2x40d<br>\n5 epochs<br>\nno TTA<br>\nCV .879<br>\nLB .892</p>",
      "rawMarkdown": "resnest50d_4s2x40d\n5 epochs\nno TTA\nCV .879\nLB .892"
    },
    {
      "id": 1086189,
      "postDate": "2020-11-21T13:12:50.797Z",
      "rawMarkdown": "",
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 1084855,
      "author_name": "Y.Nakama",
      "author_url": "",
      "post_date": "2020-11-20T13:06:09.780000",
      "content": "<p>resnext50_32x4d <br>\n256x256<br>\n10 epochs <br>\nno TTA<br>\nCV: 0.87372 (<a href=\"https://www.kaggle.com/yasufuminakama/cassava-resnext50-32x4d-starter-training\" target=\"_blank\">https://www.kaggle.com/yasufuminakama/cassava-resnext50-32x4d-starter-training</a>)<br>\nLB: 0.890 (<a href=\"https://www.kaggle.com/yasufuminakama/cassava-resnext50-32x4d-starter-inference\" target=\"_blank\">https://www.kaggle.com/yasufuminakama/cassava-resnext50-32x4d-starter-inference</a>)</p>",
      "votes": 8,
      "replies": [
        {
          "id": 1085661,
          "author_name": "Y.Nakama",
          "author_url": "",
          "post_date": "2020-11-21T04:27:55.047000",
          "content": "<p>seresnext101_32x4d <br>\n320x320<br>\n10 epochs<br>\nCV: 0.887<br>\nLB(0TTA): 0.894<br>\nLB(3TTA): 0.898</p>",
          "votes": 7,
          "replies": []
        }
      ]
    },
    {
      "id": 1085704,
      "author_name": "phalanx",
      "author_url": "",
      "post_date": "2020-11-21T06:04:35.760000",
      "content": "<p>resnet18, single fold<br>\nCV: 0.895<br>\nLB: 0.898</p>",
      "votes": 6,
      "replies": [
        {
          "id": 1086739,
          "author_name": "Kaushal Shah",
          "author_url": "",
          "post_date": "2020-11-22T02:24:26.760000",
          "content": "<p>Your augmentations must be powerful. I tried simple augs with tta using ResNet18 and can't cross 0.87 on LB.</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1093454,
          "author_name": "Atharva Phatak",
          "author_url": "",
          "post_date": "2020-11-27T18:17:40.647000",
          "content": "<p><a href=\"https://www.kaggle.com/phalanx\" target=\"_blank\">@phalanx</a> can you tell what Image size you are using ? also are you using TTA ?</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1091621,
      "author_name": "Wang Xinliang",
      "author_url": "",
      "post_date": "2020-11-26T06:24:20.117000",
      "content": "<p>resnext50<br>\n448*448<br>\n5folds<br>\nCV 0.893<br>\nLB 0.903</p>",
      "votes": 4,
      "replies": []
    },
    {
      "id": 1084878,
      "author_name": "SiNpcw",
      "author_url": "",
      "post_date": "2020-11-20T13:38:03.720000",
      "content": "<p>efficientnet-b0<br>\n5 epochs<br>\nno TTA<br>\nCV .892<br>\nLB .893</p>",
      "votes": 4,
      "replies": [
        {
          "id": 1093634,
          "author_name": "Oleg Khlevnov",
          "author_url": "",
          "post_date": "2020-11-27T21:42:33.560000",
          "content": "<p>Good result for this network! What image size did you use?</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1094040,
          "author_name": "SiNpcw",
          "author_url": "",
          "post_date": "2020-11-28T09:05:41.123000",
          "content": "<p>I use 512x512</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1094136,
          "author_name": "Oleg Khlevnov",
          "author_url": "",
          "post_date": "2020-11-28T10:54:21.887000",
          "content": "<p>Thanks! I will try larger sizes too</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1169365,
      "author_name": "Phaedrus",
      "author_url": "",
      "post_date": "2021-01-25T13:08:28.847000",
      "content": "<p>Ensemble TTA CV 0.903 - TTA lb 0.904 </p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1100260,
      "author_name": "Tolga",
      "author_url": "",
      "post_date": "2020-12-03T00:19:09.663000",
      "content": "<p>Wow, a sight for sore eyes after the MoA competition! The CV and LB scores are extremely close to each other here.</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1095029,
      "author_name": "DeepUnderstanding",
      "author_url": "",
      "post_date": "2020-11-29T07:44:00.177000",
      "content": "<p>efficientnet-b3<br>\nsingle fold<br>\n20 epochs</p>\n<p>no TTA<br>\nLB .892<br>\nCV 0.896</p>\n<p>with TTA<br>\nLB  894</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1094375,
      "author_name": "LwKzGonzalez",
      "author_url": "",
      "post_date": "2020-11-28T15:06:18.163000",
      "content": "<p>efficientnet-b6<br>\n12 epochs<br>\nno TTA<br>\nCV .8910<br>\nLB .9010</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1090677,
      "author_name": "arutema47",
      "author_url": "",
      "post_date": "2020-11-25T14:28:53.947000",
      "content": "<p>actually, I'm having a very hard time improving the best single fold score.<br>\nAll improvements come from ensembling models and its getting quite boring..</p>",
      "votes": 1,
      "replies": [
        {
          "id": 1090854,
          "author_name": "DeepUnderstanding",
          "author_url": "",
          "post_date": "2020-11-25T16:15:23.467000",
          "content": "<p>What ensembling technique are u using?</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1091040,
          "author_name": "Yann Majewski",
          "author_url": "",
          "post_date": "2020-11-25T18:31:54.770000",
          "content": "<p>Same for me, I have similar CV as you and can't seem to increase it </p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1091371,
          "author_name": "arutema47",
          "author_url": "",
          "post_date": "2020-11-26T00:59:03.880000",
          "content": "<p><a href=\"https://www.kaggle.com/mrinath\" target=\"_blank\">@mrinath</a> I'm just adding up all the predictions. Since argmax is taken, that's fine.</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1094150,
          "author_name": "Serigne ",
          "author_url": "",
          "post_date": "2020-11-28T11:07:42.503000",
          "content": "<blockquote>\n  <p>All improvements come from ensembling models and its getting quite boring..</p>\n</blockquote>\n<p>I think one could achieve  +0.910 with single model before the end. </p>\n<p>The competion just begins.  There are still almost 3 months to go. </p>\n<p>Edit 07/12/2020: I made this comment before the LB was updated. The current best LB after update (+0.905) would  like be +0.910 before update. </p>\n<p>My new prediction for best single model before the end is +0.908</p>",
          "votes": 2,
          "replies": []
        },
        {
          "id": 1094156,
          "author_name": "Wang Xinliang",
          "author_url": "",
          "post_date": "2020-11-28T11:11:47.417000",
          "content": "<p>'single model' means only one fold or k-folds?</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1094405,
          "author_name": "Serigne ",
          "author_url": "",
          "post_date": "2020-11-28T15:38:22.573000",
          "content": "<p>one or k-folds whatever, but most importantly improvements from data (and external data) processing, model architecture and training pipleline. </p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1094442,
          "author_name": "gao-hongnan",
          "author_url": "",
          "post_date": "2020-11-28T16:06:29.147000",
          "content": "<p>It’s kinda weird the scores are all stagnant at 0.90x</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1095070,
          "author_name": "DeepUnderstanding",
          "author_url": "",
          "post_date": "2020-11-29T08:16:46.083000",
          "content": "<p><a href=\"https://www.kaggle.com/reighns\" target=\"_blank\">@reighns</a> do you think this is because of some labelling issue where almost everyone's model is failing to predict</p>",
          "votes": 2,
          "replies": []
        },
        {
          "id": 1109666,
          "author_name": "",
          "author_url": "",
          "post_date": "2020-12-12T00:02:35.923000",
          "content": "",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1096131,
      "author_name": "Serigne ",
      "author_url": "",
      "post_date": "2020-11-30T08:31:06.477000",
      "content": "<p>EffNet B4 <br>\n5 folds <br>\nCV 0.901<br>\nLB 0.905 (No TTA)</p>",
      "votes": 2,
      "replies": [
        {
          "id": 1096495,
          "author_name": "DeepInvolution",
          "author_url": "",
          "post_date": "2020-11-30T14:36:53.270000",
          "content": "<p>Hi buddy, CV seems to be consistent with LB?</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1096548,
          "author_name": "Serigne ",
          "author_url": "",
          "post_date": "2020-11-30T15:35:05.913000",
          "content": "<p>Yeah it seems stable  and pretty much aligned with the LB after some modification of my training pipeline</p>\n<p>Glad to see you here :)</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1167316,
          "author_name": "Jaideep",
          "author_url": "",
          "post_date": "2021-01-24T07:12:57.067000",
          "content": "<p><a href=\"https://www.kaggle.com/serigne\" target=\"_blank\">@serigne</a>  what is img size you using 512 ?</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1169348,
      "author_name": "FGPC",
      "author_url": "",
      "post_date": "2021-01-25T12:59:19.937000",
      "content": "<p>seresnext101_32x4d<br>\n512x512<br>\n5-folds<br>\nBest single Fold: 0.905<br>\nCV: 0.901; LB: 0.902</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1167319,
      "author_name": "Jaideep",
      "author_url": "",
      "post_date": "2021-01-24T07:14:49.443000",
      "content": "<p>best single model score .90  and ensemble 90.6 effnet and others</p>",
      "votes": 0,
      "replies": [
        {
          "id": 1168324,
          "author_name": "ayu055",
          "author_url": "",
          "post_date": "2021-01-24T21:51:36.577000",
          "content": "<p>Could you provide more details on the ensemble?</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1168325,
          "author_name": "Alexey Pronin",
          "author_url": "",
          "post_date": "2021-01-24T21:58:41.307000",
          "content": "<p><a href=\"https://www.kaggle.com/jaideepvalani\" target=\"_blank\">@jaideepvalani</a> Are these your CV or LB scores?</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1168973,
          "author_name": "Jaideep",
          "author_url": "",
          "post_date": "2021-01-25T09:17:41.217000",
          "content": "<p>Lbs, cvs are either same or less by .003 to .004 </p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1171524,
          "author_name": "Debarshi Chanda",
          "author_url": "",
          "post_date": "2021-01-26T22:44:20.093000",
          "content": "<p><a href=\"https://www.kaggle.com/jaideepvalani\" target=\"_blank\">@jaideepvalani</a> Can you tell the type of ensembling are you using? Is it simple averaging or something complex?</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1100462,
      "author_name": "zhangeng",
      "author_url": "",
      "post_date": "2020-12-03T05:16:05.217000",
      "content": "<p>vit cv 90+ lb87+</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1095244,
      "author_name": "Heroseo",
      "author_url": "",
      "post_date": "2020-11-29T11:54:46.663000",
      "content": "<p>resnext50<br>\n5-Folds<br>\nno TTA</p>\n<p>CV 0.893<br>\nLB 0.902</p>",
      "votes": 0,
      "replies": [
        {
          "id": 1095520,
          "author_name": "Heroseo",
          "author_url": "",
          "post_date": "2020-11-29T17:18:37.847000",
          "content": "<p>resnext50<br>\n5-Folds<br>\nno TTA</p>\n<p>CV 0.895<br>\nLB 0.903</p>",
          "votes": 1,
          "replies": []
        }
      ]
    },
    {
      "id": 1094444,
      "author_name": "DeepUnderstanding",
      "author_url": "",
      "post_date": "2020-11-28T16:09:25.027000",
      "content": "<p>Has anyone experimented with sizes? bigger the sizes better the results? that is what's the relation of LB and size of the image</p>",
      "votes": 0,
      "replies": [
        {
          "id": 1095155,
          "author_name": "Harshit Sheoran",
          "author_url": "",
          "post_date": "2020-11-29T09:54:36.360000",
          "content": "<p>From my experiments after a particular resolution model will stop getting better. 512x512 is an overkill the same or better results can be made with a lower resolution.</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1102941,
          "author_name": "vikram reddy",
          "author_url": "",
          "post_date": "2020-12-05T13:51:44.390000",
          "content": "<p>The efficientnet paper has this to say:<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1807054%2F3c77090ae52887d54c4aef2f0ea2db73%2FUntitled.png?generation=1607176663723372&amp;alt=media\" alt=\"\"></p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1089780,
      "author_name": "DeepUnderstanding",
      "author_url": "",
      "post_date": "2020-11-24T19:16:00.657000",
      "content": "<p>Looking from all the results CV/LB relation is very close to 1; (still, can't trust what happens in private data), do think same imbalance is there in private</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1088650,
      "author_name": "Oleg Khlevnov",
      "author_url": "",
      "post_date": "2020-11-23T20:35:24.870000",
      "content": "<p>Sorry, I am a novice here :) What do you mean by <code>single fold</code>?</p>",
      "votes": 0,
      "replies": [
        {
          "id": 1088673,
          "author_name": "quadcore/Richard Epstein",
          "author_url": "",
          "post_date": "2020-11-23T21:03:33.520000",
          "content": "<p>Typically you hold out 20% of the train data for a local validation dataset.</p>\n<p>You vary the 20%, so you have 5 different combinations of train data and validation data. Each one is called a \"fold\". \"Stratefied\" folds attempt to distribute the train data evenly, so you don't have one train dataset with all the class-3 data and another with all the \"class-1\" data.</p>\n<p>For your local cross validation, you combine the results of your five \"folds\" to get a local cross-validation (CV) score.</p>\n<p>Then you run the test data against your five models and combine the scores. That gives you a Leaderboard score.</p>\n<p>The hope is that the five \"folds\" will average out any errors and be more accurate than one fold or just using the leaderboard score as a guide. This is usually true, and you have to learn to \"trust\" your cross-validation, rather than be guided by the leaderboard score (which is usually on a small subset of the real test data).</p>\n<p>There is nothing magic about 20% and 5 folds. Just tradition. You could do fewer folds or more, depending on your data set size and your processing time.</p>\n<p>So, the final answer - \"single fold\" is when somebody has not yet done multiple training runs, so they only have one validation dataset. Since it takes typically 5 times as long to run five folds, you typically try and get parameters close with a single fold and then start running five-folds. Also depends on how long a fold takes.</p>\n<p>-Rich</p>",
          "votes": 12,
          "replies": []
        },
        {
          "id": 1088711,
          "author_name": "Oleg Khlevnov",
          "author_url": "",
          "post_date": "2020-11-23T21:54:04.760000",
          "content": "<p>Thank you very match for description! As I understand, single fold it the same thing as hold-out CV. Hope I can beat something serious and will write it here later)</p>",
          "votes": 1,
          "replies": []
        }
      ]
    },
    {
      "id": 1087598,
      "author_name": "Tahsin Mostafiz",
      "author_url": "",
      "post_date": "2020-11-22T22:26:19.037000",
      "content": "<p>Model: fast-resnest50<br>\nsingle fold<br>\nAug: rotation, flip, brightness, contrast, cutout<br>\nTTA: 0<br>\nCV: 0.8715<br>\nLB: 0.8800</p>\n<p>I believe I can push my CV/LB even further with Fast-Resnest. </p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1087530,
      "author_name": "Yann Majewski",
      "author_url": "",
      "post_date": "2020-11-22T20:10:58.467000",
      "content": "<p>Resnest50<br>\nsingle fold<br>\nCV: 0.9009<br>\nLB: 0.890</p>\n<p>my lb is always lower than cv, should probably test other folds</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1086702,
      "author_name": "wakame",
      "author_url": "",
      "post_date": "2020-11-22T00:40:31.070000",
      "content": "<p>resnest50d_4s2x40d<br>\n5 epochs<br>\nno TTA<br>\nCV .879<br>\nLB .892</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1086189,
      "author_name": "",
      "author_url": "",
      "post_date": "2020-11-21T13:12:50.797000",
      "content": "",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1084681": "Yay an image competition!!\n\nEff-b0 single fold\nCV 0.89\nLB: 0.893\n\n-- updates --\nEff-b0 single fold + TTA\nhttps://www.kaggle.com/kyoshioka47/ttach-kaggle\n\nLB: 0.896\n\nEff-b2 5-folds\nLB: 0.901",
    "1084855": "resnext50_32x4d \n256x256\n10 epochs \nno TTA\nCV: 0.87372 (https://www.kaggle.com/yasufuminakama/cassava-resnext50-32x4d-starter-training)\nLB: 0.890 (https://www.kaggle.com/yasufuminakama/cassava-resnext50-32x4d-starter-inference)",
    "1085704": "resnet18, single fold\nCV: 0.895\nLB: 0.898",
    "1091621": "resnext50\n448*448\n5folds\nCV 0.893\nLB 0.903",
    "1084878": "efficientnet-b0\n5 epochs\nno TTA\nCV .892\nLB .893",
    "1169365": "Ensemble TTA CV 0.903 - TTA lb 0.904 ",
    "1100260": "Wow, a sight for sore eyes after the MoA competition! The CV and LB scores are extremely close to each other here.",
    "1095029": "efficientnet-b3\nsingle fold\n20 epochs\n\nno TTA\nLB .892\nCV 0.896\n\nwith TTA\nLB  894",
    "1094375": "efficientnet-b6\n12 epochs\nno TTA\nCV .8910\nLB .9010",
    "1090677": "actually, I'm having a very hard time improving the best single fold score.\nAll improvements come from ensembling models and its getting quite boring..",
    "1096131": "EffNet B4 \n5 folds \nCV 0.901\nLB 0.905 (No TTA)",
    "1169348": "seresnext101_32x4d\n512x512\n5-folds\nBest single Fold: 0.905\nCV: 0.901; LB: 0.902",
    "1167319": "best single model score .90  and ensemble 90.6 effnet and others",
    "1100462": "vit cv 90+ lb87+",
    "1095244": "resnext50\n5-Folds\nno TTA\n\nCV 0.893\nLB 0.902",
    "1094444": "Has anyone experimented with sizes? bigger the sizes better the results? that is what's the relation of LB and size of the image",
    "1089780": "Looking from all the results CV/LB relation is very close to 1; (still, can't trust what happens in private data), do think same imbalance is there in private",
    "1088650": "Sorry, I am a novice here :) What do you mean by `single fold`?",
    "1087598": "Model: fast-resnest50\nsingle fold\nAug: rotation, flip, brightness, contrast, cutout\nTTA: 0\nCV: 0.8715\nLB: 0.8800\n\nI believe I can push my CV/LB even further with Fast-Resnest. ",
    "1087530": "Resnest50\nsingle fold\nCV: 0.9009\nLB: 0.890\n\nmy lb is always lower than cv, should probably test other folds",
    "1086702": "resnest50d_4s2x40d\n5 epochs\nno TTA\nCV .879\nLB .892",
    "1086189": ""
  }
}