{
  "id": 150570,
  "title": "Stagnant Loss Problem",
  "url": "/competitions/prostate-cancer-grade-assessment/discussion/150570",
  "author_name": "Jaideep",
  "post_date": "2020-05-12T17:07:57.856000",
  "votes": 3,
  "comment_count": 11,
  "views": 0,
  "content": "<p>Please post your suggestion to overcome the stagnant loss\nmodel used: resnext 50 32 4d   facebook \nImages= Tiled (224)\nCV 0.8 or less</p>",
  "messages": [
    {
      "id": 844546,
      "postDate": "2020-05-12T17:07:57.857Z",
      "content": "<p>Please post your suggestion to overcome the stagnant loss\nmodel used: resnext 50 32 4d   facebook \nImages= Tiled (224)\nCV 0.8 or less</p>",
      "rawMarkdown": "Please post your suggestion to overcome the stagnant loss\nmodel used: resnext 50 32 4d   facebook \nImages= Tiled (224)\nCV 0.8 or less",
      "votes": 3
    },
    {
      "id": 845812,
      "postDate": "2020-05-13T12:48:37.670Z",
      "content": "<p>There are some things you can try:\nStart with:\n1) Augment images by rotate them\n2) Check some image visualization after tiles, be sure that you catch almost all the tissues in the tiles you select \n3) Use TTA\n4) Change head structure</p>",
      "rawMarkdown": "There are some things you can try:\nStart with:\n1) Augment images by rotate them\n2) Check some image visualization after tiles, be sure that you catch almost all the tissues in the tiles you select \n3) Use TTA\n4) Change head structure",
      "votes": 1,
      "replies": [
        {
          "id": 845878,
          "postDate": "2020-05-13T13:25:13.247Z",
          "content": "<p><a href=\"/vladvdv\">@vladvdv</a> \nthanks for tips\n1) I currently use mix concat and avg  in head. \nany suggestion for better changes</p>\n\n<p>2) how about loss i use MSE only for regression is there any better option.</p>",
          "rawMarkdown": "@vladvdv \nthanks for tips\n1) I currently use mix concat and avg  in head. \nany suggestion for better changes\n\n2) how about loss i use MSE only for regression is there any better option.\n"
        },
        {
          "id": 845938,
          "postDate": "2020-05-13T13:50:25.403Z",
          "content": "<p>I've tried smooth L1 loss which acts like L2 with small losses and L1 with big losses. I've got slightly better results</p>",
          "rawMarkdown": "I've tried smooth L1 loss which acts like L2 with small losses and L1 with big losses. I've got slightly better results"
        },
        {
          "id": 861655,
          "postDate": "2020-05-26T06:38:47.120Z",
          "content": "<p>L1  loss and its other variants  works worst for me . not sure why</p>",
          "rawMarkdown": " L1  loss and its other variants  works worst for me . not sure why\n"
        }
      ]
    },
    {
      "id": 845438,
      "postDate": "2020-05-13T07:57:12.100Z",
      "content": "<p>Same issue. I experience over-fitting from the 30th epoch\nI'm thinking on combining classification and regression in the same model. The final loss would be something like CE + MSE\nBTW how many tiles do you use per slide ? I'm using a tiling pretty close to <a href=\"/iafoss\">@iafoss</a> kernel but I'm thinking on trying bigger size </p>",
      "rawMarkdown": "Same issue. I experience over-fitting from the 30th epoch\nI'm thinking on combining classification and regression in the same model. The final loss would be something like CE + MSE\nBTW how many tiles do you use per slide ? I'm using a tiling pretty close to @iafoss kernel but I'm thinking on trying bigger size ",
      "votes": 2,
      "replies": [
        {
          "id": 845468,
          "postDate": "2020-05-13T08:12:50.160Z",
          "content": "<p>m using regression method  and using 16 tiles . \n 1)Same thing happens to me i start seeing drastic overfitting once loss comes below 0.8 MSE loss\n2) what is best cv qkp you got ,is it matching with your lb score ?</p>",
          "rawMarkdown": "m using regression method  and using 16 tiles . \n 1)Same thing happens to me i start seeing drastic overfitting once loss comes below 0.8 MSE loss\n2) what is best cv qkp you got ,is it matching with your lb score ?\n"
        },
        {
          "id": 845505,
          "postDate": "2020-05-13T08:39:23.043Z",
          "content": "<p>Best scores I've got are with classification : 0.80 val =&gt; 0.84 LB with TTA\nRegression scores are closer to LB than classification ones\nNote that I'm using single fold due to GPU quota</p>",
          "rawMarkdown": "Best scores I've got are with classification : 0.80 val =&gt; 0.84 LB with TTA\nRegression scores are closer to LB than classification ones\nNote that I'm using single fold due to GPU quota",
          "votes": 1
        },
        {
          "id": 845565,
          "postDate": "2020-05-13T09:30:15.710Z",
          "content": "<p>any idea how many images could be there in the test set used for calculating lb.</p>",
          "rawMarkdown": "any idea how many images could be there in the test set used for calculating lb.\n"
        }
      ]
    },
    {
      "id": 846255,
      "postDate": "2020-05-13T16:30:38.560Z",
      "content": "<p>For me going to level 1 images improved my score by a lot, otherwise i was stuck at 0.78 lb with regression</p>",
      "rawMarkdown": "For me going to level 1 images improved my score by a lot, otherwise i was stuck at 0.78 lb with regression"
    },
    {
      "id": 845419,
      "postDate": "2020-05-13T07:50:35.400Z",
      "content": "<p>Well, you have to be more precise if you want an pertinent opinion.\nStart with what approach are you using, classification, regression ?\nThen with how many tiles of that dimensions are you using ? And from what image level ? Did you visualize the tiles for some images ? They seem to fit all the important tissue part ?\nWhat is the structure of the network head that you designed ? </p>",
      "rawMarkdown": "Well, you have to be more precise if you want an pertinent opinion.\nStart with what approach are you using, classification, regression ?\nThen with how many tiles of that dimensions are you using ? And from what image level ? Did you visualize the tiles for some images ? They seem to fit all the important tissue part ?\nWhat is the structure of the network head that you designed ? ",
      "replies": [
        {
          "id": 845471,
          "postDate": "2020-05-13T08:13:53.680Z",
          "content": "<p>Yes.. i have wrote more details. I use level 2 images,as level 3 as per public kernel score looks not so useful.</p>",
          "rawMarkdown": "Yes.. i have wrote more details. I use level 2 images,as level 3 as per public kernel score looks not so useful.\n"
        }
      ]
    }
  ],
  "comments": [
    {
      "id": 845812,
      "author_name": "Vlad Vaduva",
      "author_url": "",
      "post_date": "2020-05-13T12:48:37.670000",
      "content": "<p>There are some things you can try:\nStart with:\n1) Augment images by rotate them\n2) Check some image visualization after tiles, be sure that you catch almost all the tissues in the tiles you select \n3) Use TTA\n4) Change head structure</p>",
      "votes": 1,
      "replies": [
        {
          "id": 845878,
          "author_name": "Jaideep",
          "author_url": "",
          "post_date": "2020-05-13T13:25:13.247000",
          "content": "<p><a href=\"/vladvdv\">@vladvdv</a> \nthanks for tips\n1) I currently use mix concat and avg  in head. \nany suggestion for better changes</p>\n\n<p>2) how about loss i use MSE only for regression is there any better option.</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 845938,
          "author_name": "Alex",
          "author_url": "",
          "post_date": "2020-05-13T13:50:25.403000",
          "content": "<p>I've tried smooth L1 loss which acts like L2 with small losses and L1 with big losses. I've got slightly better results</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 861655,
          "author_name": "Jaideep",
          "author_url": "",
          "post_date": "2020-05-26T06:38:47.120000",
          "content": "<p>L1  loss and its other variants  works worst for me . not sure why</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 845438,
      "author_name": "Alex",
      "author_url": "",
      "post_date": "2020-05-13T07:57:12.100000",
      "content": "<p>Same issue. I experience over-fitting from the 30th epoch\nI'm thinking on combining classification and regression in the same model. The final loss would be something like CE + MSE\nBTW how many tiles do you use per slide ? I'm using a tiling pretty close to <a href=\"/iafoss\">@iafoss</a> kernel but I'm thinking on trying bigger size </p>",
      "votes": 2,
      "replies": [
        {
          "id": 845468,
          "author_name": "Jaideep",
          "author_url": "",
          "post_date": "2020-05-13T08:12:50.160000",
          "content": "<p>m using regression method  and using 16 tiles . \n 1)Same thing happens to me i start seeing drastic overfitting once loss comes below 0.8 MSE loss\n2) what is best cv qkp you got ,is it matching with your lb score ?</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 845505,
          "author_name": "Alex",
          "author_url": "",
          "post_date": "2020-05-13T08:39:23.043000",
          "content": "<p>Best scores I've got are with classification : 0.80 val =&gt; 0.84 LB with TTA\nRegression scores are closer to LB than classification ones\nNote that I'm using single fold due to GPU quota</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 845565,
          "author_name": "Jaideep",
          "author_url": "",
          "post_date": "2020-05-13T09:30:15.710000",
          "content": "<p>any idea how many images could be there in the test set used for calculating lb.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 846255,
      "author_name": "Yann Majewski",
      "author_url": "",
      "post_date": "2020-05-13T16:30:38.560000",
      "content": "<p>For me going to level 1 images improved my score by a lot, otherwise i was stuck at 0.78 lb with regression</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 845419,
      "author_name": "Vlad Vaduva",
      "author_url": "",
      "post_date": "2020-05-13T07:50:35.400000",
      "content": "<p>Well, you have to be more precise if you want an pertinent opinion.\nStart with what approach are you using, classification, regression ?\nThen with how many tiles of that dimensions are you using ? And from what image level ? Did you visualize the tiles for some images ? They seem to fit all the important tissue part ?\nWhat is the structure of the network head that you designed ? </p>",
      "votes": 0,
      "replies": [
        {
          "id": 845471,
          "author_name": "Jaideep",
          "author_url": "",
          "post_date": "2020-05-13T08:13:53.680000",
          "content": "<p>Yes.. i have wrote more details. I use level 2 images,as level 3 as per public kernel score looks not so useful.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "844546": "Please post your suggestion to overcome the stagnant loss\nmodel used: resnext 50 32 4d   facebook \nImages= Tiled (224)\nCV 0.8 or less",
    "845812": "There are some things you can try:\nStart with:\n1) Augment images by rotate them\n2) Check some image visualization after tiles, be sure that you catch almost all the tissues in the tiles you select \n3) Use TTA\n4) Change head structure",
    "845438": "Same issue. I experience over-fitting from the 30th epoch\nI'm thinking on combining classification and regression in the same model. The final loss would be something like CE + MSE\nBTW how many tiles do you use per slide ? I'm using a tiling pretty close to @iafoss kernel but I'm thinking on trying bigger size ",
    "846255": "For me going to level 1 images improved my score by a lot, otherwise i was stuck at 0.78 lb with regression",
    "845419": "Well, you have to be more precise if you want an pertinent opinion.\nStart with what approach are you using, classification, regression ?\nThen with how many tiles of that dimensions are you using ? And from what image level ? Did you visualize the tiles for some images ? They seem to fit all the important tissue part ?\nWhat is the structure of the network head that you designed ? "
  }
}