{
  "id": 102321,
  "title": "Ideas for Improvement?",
  "url": "/competitions/aptos2019-blindness-detection/discussion/102321",
  "author_name": "",
  "post_date": "2019-08-01T11:15:27.714507400Z",
  "votes": 3,
  "comment_count": 7,
  "views": 0,
  "content": "<p>Hi Kagglers, I am a bit frustrated right now, as I somehow at a dead end at the moment.\nMy highest LB at the moment is 7.66, by having enhanced the Keras Baseline Kernel (<a href=\"https://www.kaggle.com/ratan123/aptos-2019-keras-baseline\">https://www.kaggle.com/ratan123/aptos-2019-keras-baseline</a>) to my needs. </p>\n\n<p>Currently, the things that I am using are:\n- Normal Classification (no modal regression, no regression)\n- Custom Kappa loss\n- 2 epochs warm up, with frozen layers and 30 epochs with unforzen layers\n- DenseNet121\n- Ben's &amp; Croppings Preprocessing of Images (<a href=\"https://www.kaggle.com/ratthachat/aptos-updatedv14-preprocessing-ben-s-cropping\">https://www.kaggle.com/ratthachat/aptos-updatedv14-preprocessing-ben-s-cropping</a>)\n- No TTA,\n- No Old Competition data.</p>\n\n<p>I wanted to ask you guys, what were some implementations, that boosted your LB score? I don't necesseraly want you to tell me your secret weapon, but I would be pretty glad about  getting a Kappa of 0.8 :)</p>\n\n<p>(Furthermore, how long do your kernels usually take to train. As the generator is customized, such that the pictures are preprocessed when read in, it takes aaaaaaages..~8 hours)</p>",
  "messages": [
    {
      "id": "589779",
      "postDate": "08/01/2019 11:15:27",
      "content": "<p>Hi Kagglers, I am a bit frustrated right now, as I somehow at a dead end at the moment.\nMy highest LB at the moment is 7.66, by having enhanced the Keras Baseline Kernel (<a href=\"https://www.kaggle.com/ratan123/aptos-2019-keras-baseline\">https://www.kaggle.com/ratan123/aptos-2019-keras-baseline</a>) to my needs. </p>\n\n<p>Currently, the things that I am using are:\n- Normal Classification (no modal regression, no regression)\n- Custom Kappa loss\n- 2 epochs warm up, with frozen layers and 30 epochs with unforzen layers\n- DenseNet121\n- Ben's &amp; Croppings Preprocessing of Images (<a href=\"https://www.kaggle.com/ratthachat/aptos-updatedv14-preprocessing-ben-s-cropping\">https://www.kaggle.com/ratthachat/aptos-updatedv14-preprocessing-ben-s-cropping</a>)\n- No TTA,\n- No Old Competition data.</p>\n\n<p>I wanted to ask you guys, what were some implementations, that boosted your LB score? I don't necesseraly want you to tell me your secret weapon, but I would be pretty glad about  getting a Kappa of 0.8 :)</p>\n\n<p>(Furthermore, how long do your kernels usually take to train. As the generator is customized, such that the pictures are preprocessed when read in, it takes aaaaaaages..~8 hours)</p>",
      "rawMarkdown": "Hi Kagglers, I am a bit frustrated right now, as I somehow at a dead end at the moment.\nMy highest LB at the moment is 7.66, by having enhanced the Keras Baseline Kernel (https://www.kaggle.com/ratan123/aptos-2019-keras-baseline) to my needs. \n\nCurrently, the things that I am using are:\n- Normal Classification (no modal regression, no regression)\n- Custom Kappa loss\n- 2 epochs warm up, with frozen layers and 30 epochs with unforzen layers\n- DenseNet121\n- Ben's &amp; Croppings Preprocessing of Images (https://www.kaggle.com/ratthachat/aptos-updatedv14-preprocessing-ben-s-cropping)\n- No TTA,\n- No Old Competition data.\n\nI wanted to ask you guys, what were some implementations, that boosted your LB score? I don't necesseraly want you to tell me your secret weapon, but I would be pretty glad about  getting a Kappa of 0.8 :)\n\n(Furthermore, how long do your kernels usually take to train. As the generator is customized, such that the pictures are preprocessed when read in, it takes aaaaaaages..~8 hours)",
      "votes": null
    },
    {
      "id": "589794",
      "postDate": "08/01/2019 11:37:41",
      "content": "<p>You can try Efficientnets and pre-training on old competition data, go through the previous discussion threads they are more than enough to get you above 0.8</p>",
      "rawMarkdown": "You can try Efficientnets and pre-training on old competition data, go through the previous discussion threads they are more than enough to get you above 0.8",
      "votes": null
    },
    {
      "id": "589850",
      "postDate": "08/01/2019 13:26:42",
      "content": "<p>May be you can preprocess(and/or augment) images offline, upload it as dataset and then train to reduce train time and utilize GPU efficiently.</p>",
      "rawMarkdown": "May be you can preprocess(and/or augment) images offline, upload it as dataset and then train to reduce train time and utilize GPU efficiently.",
      "votes": null
    },
    {
      "id": "589854",
      "postDate": "08/01/2019 13:31:57",
      "content": "<p>I don't know how I couldn't think about this myself... Thanks man!</p>",
      "rawMarkdown": "I don't know how I couldn't think about this myself... Thanks man!",
      "votes": null
    },
    {
      "id": "590026",
      "postDate": "08/01/2019 17:52:02",
      "content": "<p>no problem, it happens with me too 😊 </p>",
      "rawMarkdown": "no problem, it happens with me too 😊",
      "votes": null
    },
    {
      "id": "590570",
      "postDate": "08/02/2019 10:54:19",
      "content": "<p>I wanted to do that too but never even tried because of this comment on <a href=\"https://www.kaggle.com/ratthachat/aptos-updatedv14-preprocessing-ben-s-cropping/comments\">this</a> kernel:\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F2704670%2F487963321215695a74815433e58079e4%2FScreenshot%20(99\" alt=\"\">.png?generation=1564743142056741&amp;alt=media)</p>\n\n<p>I am also suffering from eternal training times so If you somehow succeed please let me know how! :) </p>",
      "rawMarkdown": "I wanted to do that too but never even tried because of this comment on [this](https://www.kaggle.com/ratthachat/aptos-updatedv14-preprocessing-ben-s-cropping/comments) kernel:\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F2704670%2F487963321215695a74815433e58079e4%2FScreenshot%20(99).png?generation=1564743142056741&amp;alt=media)\n\nI am also suffering from eternal training times so If you somehow succeed please let me know how! :)",
      "votes": null
    },
    {
      "id": "590574",
      "postDate": "08/02/2019 10:59:00",
      "content": "<p>You can try making it a multi-label problem where every label includes all the previous labels, e.g. [0,0,1,0,0] ---&gt; [1,1,1,0,0], [0,1,0,0,0] ---&gt; [1,1,0,0,0].\nThis approach improved my LB score a bit. The intuition behind it is that there is a hierarchical structure in the classes in which each class possess features of the previous classes, this is usually the case when dealing with the levels severity of a disease.</p>",
      "rawMarkdown": "You can try making it a multi-label problem where every label includes all the previous labels, e.g. [0,0,1,0,0] ---&gt; [1,1,1,0,0], [0,1,0,0,0] ---&gt; [1,1,0,0,0].\nThis approach improved my LB score a bit. The intuition behind it is that there is a hierarchical structure in the classes in which each class possess features of the previous classes, this is usually the case when dealing with the levels severity of a disease.",
      "votes": null
    },
    {
      "id": "590670",
      "postDate": "08/02/2019 13:15:19",
      "content": "<ol>\n<li>You can definitely preprocess your train data an upload for kernel training, and then create a separate kernel with processing and submission code.</li>\n</ol>\n\n<p>I am only using single channel of image for training purposes, this speeds up training a lot and allows for smaller models (in terms of parameters). My current score is with model having ~1.1 million params and many tricks are still there in my sleeve 🙂</p>\n\n<p>You can read about <strong>superconvergence</strong> to get some idea about speeding up your training process</p>",
      "rawMarkdown": "1. You can definitely preprocess your train data an upload for kernel training, and then create a separate kernel with processing and submission code.\n\nI am only using single channel of image for training purposes, this speeds up training a lot and allows for smaller models (in terms of parameters). My current score is with model having ~1.1 million params and many tricks are still there in my sleeve 🙂\n\nYou can read about **superconvergence** to get some idea about speeding up your training process",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 589794,
      "author_name": "rishabhiitbhu",
      "author_url": "",
      "post_date": "08/01/2019 11:37:41",
      "content": "<p>You can try Efficientnets and pre-training on old competition data, go through the previous discussion threads they are more than enough to get you above 0.8</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 589850,
      "author_name": "ashwan1",
      "author_url": "",
      "post_date": "08/01/2019 13:26:42",
      "content": "<p>May be you can preprocess(and/or augment) images offline, upload it as dataset and then train to reduce train time and utilize GPU efficiently.</p>",
      "votes": null,
      "replies": [
        {
          "id": 589854,
          "author_name": "fanconic",
          "author_url": "",
          "post_date": "08/01/2019 13:31:57",
          "content": "<p>I don't know how I couldn't think about this myself... Thanks man!</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 590026,
          "author_name": "ashwan1",
          "author_url": "",
          "post_date": "08/01/2019 17:52:02",
          "content": "<p>no problem, it happens with me too 😊 </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 590570,
          "author_name": "sam1320",
          "author_url": "",
          "post_date": "08/02/2019 10:54:19",
          "content": "<p>I wanted to do that too but never even tried because of this comment on <a href=\"https://www.kaggle.com/ratthachat/aptos-updatedv14-preprocessing-ben-s-cropping/comments\">this</a> kernel:\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F2704670%2F487963321215695a74815433e58079e4%2FScreenshot%20(99\" alt=\"\">.png?generation=1564743142056741&amp;alt=media)</p>\n\n<p>I am also suffering from eternal training times so If you somehow succeed please let me know how! :) </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 590670,
          "author_name": "ashwan1",
          "author_url": "",
          "post_date": "08/02/2019 13:15:19",
          "content": "<ol>\n<li>You can definitely preprocess your train data an upload for kernel training, and then create a separate kernel with processing and submission code.</li>\n</ol>\n\n<p>I am only using single channel of image for training purposes, this speeds up training a lot and allows for smaller models (in terms of parameters). My current score is with model having ~1.1 million params and many tricks are still there in my sleeve 🙂</p>\n\n<p>You can read about <strong>superconvergence</strong> to get some idea about speeding up your training process</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 590574,
      "author_name": "sam1320",
      "author_url": "",
      "post_date": "08/02/2019 10:59:00",
      "content": "<p>You can try making it a multi-label problem where every label includes all the previous labels, e.g. [0,0,1,0,0] ---&gt; [1,1,1,0,0], [0,1,0,0,0] ---&gt; [1,1,0,0,0].\nThis approach improved my LB score a bit. The intuition behind it is that there is a hierarchical structure in the classes in which each class possess features of the previous classes, this is usually the case when dealing with the levels severity of a disease.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "589779": "Hi Kagglers, I am a bit frustrated right now, as I somehow at a dead end at the moment.\nMy highest LB at the moment is 7.66, by having enhanced the Keras Baseline Kernel (https://www.kaggle.com/ratan123/aptos-2019-keras-baseline) to my needs. \n\nCurrently, the things that I am using are:\n- Normal Classification (no modal regression, no regression)\n- Custom Kappa loss\n- 2 epochs warm up, with frozen layers and 30 epochs with unforzen layers\n- DenseNet121\n- Ben's &amp; Croppings Preprocessing of Images (https://www.kaggle.com/ratthachat/aptos-updatedv14-preprocessing-ben-s-cropping)\n- No TTA,\n- No Old Competition data.\n\nI wanted to ask you guys, what were some implementations, that boosted your LB score? I don't necesseraly want you to tell me your secret weapon, but I would be pretty glad about  getting a Kappa of 0.8 :)\n\n(Furthermore, how long do your kernels usually take to train. As the generator is customized, such that the pictures are preprocessed when read in, it takes aaaaaaages..~8 hours)",
    "589794": "You can try Efficientnets and pre-training on old competition data, go through the previous discussion threads they are more than enough to get you above 0.8",
    "589850": "May be you can preprocess(and/or augment) images offline, upload it as dataset and then train to reduce train time and utilize GPU efficiently.",
    "589854": "I don't know how I couldn't think about this myself... Thanks man!",
    "590026": "no problem, it happens with me too 😊",
    "590570": "I wanted to do that too but never even tried because of this comment on [this](https://www.kaggle.com/ratthachat/aptos-updatedv14-preprocessing-ben-s-cropping/comments) kernel:\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F2704670%2F487963321215695a74815433e58079e4%2FScreenshot%20(99).png?generation=1564743142056741&amp;alt=media)\n\nI am also suffering from eternal training times so If you somehow succeed please let me know how! :)",
    "590574": "You can try making it a multi-label problem where every label includes all the previous labels, e.g. [0,0,1,0,0] ---&gt; [1,1,1,0,0], [0,1,0,0,0] ---&gt; [1,1,0,0,0].\nThis approach improved my LB score a bit. The intuition behind it is that there is a hierarchical structure in the classes in which each class possess features of the previous classes, this is usually the case when dealing with the levels severity of a disease.",
    "590670": "1. You can definitely preprocess your train data an upload for kernel training, and then create a separate kernel with processing and submission code.\n\nI am only using single channel of image for training purposes, this speeds up training a lot and allows for smaller models (in terms of parameters). My current score is with model having ~1.1 million params and many tricks are still there in my sleeve 🙂\n\nYou can read about **superconvergence** to get some idea about speeding up your training process"
  },
  "source": "meta"
}