{
  "id": 337489,
  "title": "Apparently local validation is next to impossible in this competition",
  "url": "/competitions/hubmap-organ-segmentation/discussion/337489",
  "author_name": "",
  "post_date": "2022-07-16T10:28:54.577132Z",
  "votes": 9,
  "comment_count": 13,
  "views": 0,
  "content": "<p>\"The training dataset consists of data from public HPA data, the public test set is a combination of private HPA data and HuBMAP data, and <strong>the private test set contains only HuBMAP data</strong>.\"</p>\n<p>In this competition we have:</p>\n<ul>\n<li>Private dataset has a different set of image scales compared to the train (relatively easy to model)</li>\n<li>Private dataset has a different color domain (different stains which attach to different molecules/tissues) - (Harder to model)</li>\n<li>Different slice thickness… That's going to be tough to incorporate.</li>\n</ul>\n<p>And finally, we have only one test image which provides a sneak peek into how different the test set is. Apparently, it seems that without external data, local validation is entirely impossible and we have to resort to something like predicting only HuMBAP images on the public LB as a sort of surrogate validation.</p>\n<p>What do you think?</p>\n<p>P.S.<br>\nOh, well. I'll probably go and do a logistic regression of prostate vs sex to get my dose of dopamine.</p>",
  "messages": [
    {
      "id": "1857727",
      "postDate": "07/16/2022 10:28:54",
      "content": "<p>\"The training dataset consists of data from public HPA data, the public test set is a combination of private HPA data and HuBMAP data, and <strong>the private test set contains only HuBMAP data</strong>.\"</p>\n<p>In this competition we have:</p>\n<ul>\n<li>Private dataset has a different set of image scales compared to the train (relatively easy to model)</li>\n<li>Private dataset has a different color domain (different stains which attach to different molecules/tissues) - (Harder to model)</li>\n<li>Different slice thickness… That's going to be tough to incorporate.</li>\n</ul>\n<p>And finally, we have only one test image which provides a sneak peek into how different the test set is. Apparently, it seems that without external data, local validation is entirely impossible and we have to resort to something like predicting only HuMBAP images on the public LB as a sort of surrogate validation.</p>\n<p>What do you think?</p>\n<p>P.S.<br>\nOh, well. I'll probably go and do a logistic regression of prostate vs sex to get my dose of dopamine.</p>",
      "rawMarkdown": "\"The training dataset consists of data from public HPA data, the public test set is a combination of private HPA data and HuBMAP data, and **the private test set contains only HuBMAP data**.\"\n\nIn this competition we have:\n- Private dataset has a different set of image scales compared to the train (relatively easy to model)\n- Private dataset has a different color domain (different stains which attach to different molecules/tissues) - (Harder to model)\n- Different slice thickness... That's going to be tough to incorporate.\n\nAnd finally, we have only one test image which provides a sneak peek into how different the test set is. Apparently, it seems that without external data, local validation is entirely impossible and we have to resort to something like predicting only HuMBAP images on the public LB as a sort of surrogate validation.\n\nWhat do you think?\n\nP.S.\nOh, well. I'll probably go and do a logistic regression of prostate vs sex to get my dose of dopamine.",
      "votes": null
    },
    {
      "id": "1857780",
      "postDate": "07/16/2022 11:32:35",
      "content": "<p>refer to my discussion at: <a href=\"https://www.kaggle.com/competitions/hubmap-organ-segmentation/discussion/333631\" target=\"_blank\">https://www.kaggle.com/competitions/hubmap-organ-segmentation/discussion/333631</a></p>\n<pre><code>roughly 550 test images                     \nthere are exactly 529 test images, of which Hubmap=448, HPA=81                    \n\npublic test : 55% of the test data()                    \n291 --&gt; Hubmap=210 (0.7216), HPA=81 (0.2783)                    \n\nprivate test = 45%                    \n238--&gt; Hubmap= 238                    \n</code></pre>",
      "rawMarkdown": "refer to my discussion at: https://www.kaggle.com/competitions/hubmap-organ-segmentation/discussion/333631\n\n```\nroughly 550 test images \t\t\t\t\t\nthere are exactly 529 test images, of which Hubmap=448, HPA=81\t\t\t\t\t\n\t\t\t\t\t\npublic test : 55% of the test data()\t\t\t\t\t\n291 --> Hubmap=210 (0.7216), HPA=81 (0.2783)\t\t\t\t\t\n\t\t\t\t\t\nprivate test = 45%\t\t\t\t\t\n238--> Hubmap= 238\t\t\t\t\t\n\n\n```",
      "votes": null
    },
    {
      "id": "1857787",
      "postDate": "07/16/2022 11:36:46",
      "content": "<p>Local validation is like comparing apples to oranges. It is really hard to do something significant only with competition data because of the reasons you mentioned. As my training progress further, predictions on test image become worse.</p>\n<p>Epoch 1<br>\n<img src=\"https://i.ibb.co/QXZRSVb/10078-spleen-fold1-epoch1-predictions.png\" alt=\"1\"></p>\n<p>Epoch 20 (early stopping by validation set)<br>\n<img src=\"https://i.ibb.co/x1SPmC7/10078-spleen-fold1-epoch20-predictions.png\" alt=\"20\"></p>",
      "rawMarkdown": "Local validation is like comparing apples to oranges. It is really hard to do something significant only with competition data because of the reasons you mentioned. As my training progress further, predictions on test image become worse.\n\nEpoch 1\n![1](https://i.ibb.co/QXZRSVb/10078-spleen-fold1-epoch1-predictions.png)\n\nEpoch 20 (early stopping by validation set)\n![20](https://i.ibb.co/x1SPmC7/10078-spleen-fold1-epoch20-predictions.png)",
      "votes": null
    },
    {
      "id": "1857818",
      "postDate": "07/16/2022 12:35:42",
      "content": "<p>Yes local validation is hard! I am doing many tests just to find out how to validate in a smart way. </p>\n<p>Current best pipeline gives 0.54 on HuBMAP data alone ( HPA rle set to \"\") and I am predicting that this value holds the best PB value for my tests so far.</p>",
      "rawMarkdown": "Yes local validation is hard! I am doing many tests just to find out how to validate in a smart way. \n\nCurrent best pipeline gives 0.54 on HuBMAP data alone ( HPA rle set to \"\") and I am predicting that this value holds the best PB value for my tests so far.",
      "votes": null
    },
    {
      "id": "1857883",
      "postDate": "07/16/2022 13:19:01",
      "content": "<p>ultimately, you need to prepare external data. and you may need to submit for reach organ separately.</p>\n<p>fortunately, we do have some samples from HuBMAP for 'kidney', 'largeintestine', 'spleen'.<br>\n'prostate' stains are common and will not be a problem. Hence for these 3+1 cases, we can have a good estimates of the private lb.</p>\n<p>the only problem is 'lung' (problem because the results are no predictable)</p>",
      "rawMarkdown": "ultimately, you need to prepare external data. and you may need to submit for reach organ separately.\n\nfortunately, we do have some samples from HuBMAP for 'kidney', 'largeintestine', 'spleen'.\n'prostate' stains are common and will not be a problem. Hence for these 3+1 cases, we can have a good estimates of the private lb.\n\n\nthe only problem is 'lung' (problem because the results are no predictable)",
      "votes": null
    },
    {
      "id": "1858625",
      "postDate": "07/17/2022 04:47:18",
      "content": "<p><img src=\"https://i.ibb.co/dkxh7zs/Selection-061.png\" alt=\"https://i.ibb.co/dkxh7zs/Selection-061.png\"></p>\n<p>the first step is to think of input domain space.<br>\nthink of hubmap and HPA images as data points. how to plot them on the input space?<br>\n(e.g. use probing, information like um per pixel, stain color given, examples on HPA/Humap website, train a classfiier to predict image characteristic)</p>\n<p>then in the second step, for a subset in the  input domain space, what is the dice score?</p>\n<p>you model should be stable loss landscape (constant low valley) in the target domain space.</p>",
      "rawMarkdown": "![https://i.ibb.co/dkxh7zs/Selection-061.png](https://i.ibb.co/dkxh7zs/Selection-061.png)\n\nthe first step is to think of input domain space.\nthink of hubmap and HPA images as data points. how to plot them on the input space?\n(e.g. use probing, information like um per pixel, stain color given, examples on HPA/Humap website, train a classfiier to predict image characteristic)\n\nthen in the second step, for a subset in the  input domain space, what is the dice score?\n\nyou model should be stable loss landscape (constant low valley) in the target domain space.",
      "votes": null
    },
    {
      "id": "1858634",
      "postDate": "07/17/2022 05:00:24",
      "content": "<p>aka: how to ensemble for domain shift</p>\n<p><img src=\"https://i.ibb.co/wdsk5z5/Selection-068.png\" alt=\"https://i.ibb.co/wdsk5z5/Selection-068.png\"></p>",
      "rawMarkdown": "aka: how to ensemble for domain shift\n\n![https://i.ibb.co/wdsk5z5/Selection-068.png](https://i.ibb.co/wdsk5z5/Selection-068.png)",
      "votes": null
    },
    {
      "id": "1861394",
      "postDate": "07/19/2022 02:14:28",
      "content": "<p>Are you sure the white parts are spleen FTU?</p>",
      "rawMarkdown": "Are you sure the white parts are spleen FTU?",
      "votes": null
    },
    {
      "id": "1861499",
      "postDate": "07/19/2022 04:36:15",
      "content": "<p>The input data that we were been provided with, is probably created from their own segmentation algorithm, but this task should be done<br>\nby hand, with precision of human inteligence. Buuuuuuuuuuuuuuuuuuuuuuuuuut…………………</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F2386017%2F3561dfe32246b2bda01e79a26ec23ce6%2F200w.gif?generation=1658205348620548&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "The input data that we were been provided with, is probably created from their own segmentation algorithm, but this task should be done\nby hand, with precision of human inteligence. Buuuuuuuuuuuuuuuuuuuuuuuuuut.....................\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F2386017%2F3561dfe32246b2bda01e79a26ec23ce6%2F200w.gif?generation=1658205348620548&alt=media)",
      "votes": null
    },
    {
      "id": "1861522",
      "postDate": "07/19/2022 04:57:36",
      "content": "<p>I'm not sure. It was gut feeling. </p>",
      "rawMarkdown": "I'm not sure. It was gut feeling.",
      "votes": null
    },
    {
      "id": "1861539",
      "postDate": "07/19/2022 05:06:05",
      "content": "<p>example of using PCA/umap to map domain space:<br>\n<a href=\"https://github.com/j-sripad/colon_crypt_segmentation\" target=\"_blank\">https://github.com/j-sripad/colon_crypt_segmentation</a></p>\n<p>in summary, divide your image into patches. use some feature extraction (can be trained CNN or simply PCA) methods to turn patch into feature vector. use tsne, umap etc  for visualisation. some mapping can shown in the papers below</p>\n<p><a href=\"https://www.diva-portal.org/smash/get/diva2:1478702/FULLTEXT02.pdf\" target=\"_blank\">https://www.diva-portal.org/smash/get/diva2:1478702/FULLTEXT02.pdf</a><br>\nMeasuring Domain Shift for Deep Learning in Histopathology</p>\n<p><a href=\"https://openaccess.thecvf.com/content/ICCV2021W/CDPath/papers/Marini_HE-Adversarial_Network_A_Convolutional_Neural_Network_To_Learn_Stain-Invariant_Features_ICCVW_2021_paper.pdf\" target=\"_blank\">https://openaccess.thecvf.com/content/ICCV2021W/CDPath/papers/Marini_HE-Adversarial_Network_A_Convolutional_Neural_Network_To_Learn_Stain-Invariant_Features_ICCVW_2021_paper.pdf</a></p>",
      "rawMarkdown": "example of using PCA/umap to map domain space:\nhttps://github.com/j-sripad/colon_crypt_segmentation\n\nin summary, divide your image into patches. use some feature extraction (can be trained CNN or simply PCA) methods to turn patch into feature vector. use tsne, umap etc  for visualisation. some mapping can shown in the papers below\n \nhttps://www.diva-portal.org/smash/get/diva2:1478702/FULLTEXT02.pdf\nMeasuring Domain Shift for Deep Learning in Histopathology\n\nhttps://openaccess.thecvf.com/content/ICCV2021W/CDPath/papers/Marini_HE-Adversarial_Network_A_Convolutional_Neural_Network_To_Learn_Stain-Invariant_Features_ICCVW_2021_paper.pdf",
      "votes": null
    },
    {
      "id": "1861587",
      "postDate": "07/19/2022 05:31:30",
      "content": "<p>I don't think white parts are FTUs. But how do we even know?<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3436753%2F64d8886fdafbd5214265f66ee7eb0550%2F__results___25_20.png?generation=1658208656712795&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "I don't think white parts are FTUs. But how do we even know?\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3436753%2F64d8886fdafbd5214265f66ee7eb0550%2F__results___25_20.png?generation=1658208656712795&alt=media)",
      "votes": null
    },
    {
      "id": "1861694",
      "postDate": "07/19/2022 07:20:21",
      "content": "<p>I dont think so, it seems to be annotated by multiple people but with different ways to annotate.<br>\nFor example are some FTUs sometimes only segmented, if they are completly surrounded by tissiue.</p>",
      "rawMarkdown": "I dont think so, it seems to be annotated by multiple people but with different ways to annotate.\nFor example are some FTUs sometimes only segmented, if they are completly surrounded by tissiue.",
      "votes": null
    },
    {
      "id": "1870685",
      "postDate": "07/25/2022 18:14:08",
      "content": "<p><a href=\"https://www.proteinatlas.org/learn/dictionary/normal/spleen\" target=\"_blank\">https://www.proteinatlas.org/learn/dictionary/normal/spleen</a></p>\n<p>You are right. According to wikipedia, there are two tissues on spleen.</p>\n<p><code>The spleen contains two different tissues, white pulp (A) and red pulp (B). The white pulp functions in producing and growing immune and blood cells. The red pulp functions in filtering blood of antigens, microorganisms, and defective or worn-out red blood cells.</code></p>\n<p>This seems consistent with labels.</p>",
      "rawMarkdown": "https://www.proteinatlas.org/learn/dictionary/normal/spleen\n\nYou are right. According to wikipedia, there are two tissues on spleen.\n\n`The spleen contains two different tissues, white pulp (A) and red pulp (B). The white pulp functions in producing and growing immune and blood cells. The red pulp functions in filtering blood of antigens, microorganisms, and defective or worn-out red blood cells.`\n\nThis seems consistent with labels.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1857780,
      "author_name": "hengck23",
      "author_url": "",
      "post_date": "07/16/2022 11:32:35",
      "content": "<p>refer to my discussion at: <a href=\"https://www.kaggle.com/competitions/hubmap-organ-segmentation/discussion/333631\" target=\"_blank\">https://www.kaggle.com/competitions/hubmap-organ-segmentation/discussion/333631</a></p>\n<pre><code>roughly 550 test images                     \nthere are exactly 529 test images, of which Hubmap=448, HPA=81                    \n\npublic test : 55% of the test data()                    \n291 --&gt; Hubmap=210 (0.7216), HPA=81 (0.2783)                    \n\nprivate test = 45%                    \n238--&gt; Hubmap= 238                    \n</code></pre>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1857787,
      "author_name": "gunesevitan",
      "author_url": "",
      "post_date": "07/16/2022 11:36:46",
      "content": "<p>Local validation is like comparing apples to oranges. It is really hard to do something significant only with competition data because of the reasons you mentioned. As my training progress further, predictions on test image become worse.</p>\n<p>Epoch 1<br>\n<img src=\"https://i.ibb.co/QXZRSVb/10078-spleen-fold1-epoch1-predictions.png\" alt=\"1\"></p>\n<p>Epoch 20 (early stopping by validation set)<br>\n<img src=\"https://i.ibb.co/x1SPmC7/10078-spleen-fold1-epoch20-predictions.png\" alt=\"20\"></p>",
      "votes": null,
      "replies": [
        {
          "id": 1861394,
          "author_name": "quandapro",
          "author_url": "",
          "post_date": "07/19/2022 02:14:28",
          "content": "<p>Are you sure the white parts are spleen FTU?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1861522,
          "author_name": "gunesevitan",
          "author_url": "",
          "post_date": "07/19/2022 04:57:36",
          "content": "<p>I'm not sure. It was gut feeling. </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1861587,
          "author_name": "quandapro",
          "author_url": "",
          "post_date": "07/19/2022 05:31:30",
          "content": "<p>I don't think white parts are FTUs. But how do we even know?<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3436753%2F64d8886fdafbd5214265f66ee7eb0550%2F__results___25_20.png?generation=1658208656712795&amp;alt=media\" alt=\"\"></p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1870685,
          "author_name": "gunesevitan",
          "author_url": "",
          "post_date": "07/25/2022 18:14:08",
          "content": "<p><a href=\"https://www.proteinatlas.org/learn/dictionary/normal/spleen\" target=\"_blank\">https://www.proteinatlas.org/learn/dictionary/normal/spleen</a></p>\n<p>You are right. According to wikipedia, there are two tissues on spleen.</p>\n<p><code>The spleen contains two different tissues, white pulp (A) and red pulp (B). The white pulp functions in producing and growing immune and blood cells. The red pulp functions in filtering blood of antigens, microorganisms, and defective or worn-out red blood cells.</code></p>\n<p>This seems consistent with labels.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1857818,
      "author_name": "asalhi",
      "author_url": "",
      "post_date": "07/16/2022 12:35:42",
      "content": "<p>Yes local validation is hard! I am doing many tests just to find out how to validate in a smart way. </p>\n<p>Current best pipeline gives 0.54 on HuBMAP data alone ( HPA rle set to \"\") and I am predicting that this value holds the best PB value for my tests so far.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1857883,
          "author_name": "hengck23",
          "author_url": "",
          "post_date": "07/16/2022 13:19:01",
          "content": "<p>ultimately, you need to prepare external data. and you may need to submit for reach organ separately.</p>\n<p>fortunately, we do have some samples from HuBMAP for 'kidney', 'largeintestine', 'spleen'.<br>\n'prostate' stains are common and will not be a problem. Hence for these 3+1 cases, we can have a good estimates of the private lb.</p>\n<p>the only problem is 'lung' (problem because the results are no predictable)</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1858625,
      "author_name": "hengck23",
      "author_url": "",
      "post_date": "07/17/2022 04:47:18",
      "content": "<p><img src=\"https://i.ibb.co/dkxh7zs/Selection-061.png\" alt=\"https://i.ibb.co/dkxh7zs/Selection-061.png\"></p>\n<p>the first step is to think of input domain space.<br>\nthink of hubmap and HPA images as data points. how to plot them on the input space?<br>\n(e.g. use probing, information like um per pixel, stain color given, examples on HPA/Humap website, train a classfiier to predict image characteristic)</p>\n<p>then in the second step, for a subset in the  input domain space, what is the dice score?</p>\n<p>you model should be stable loss landscape (constant low valley) in the target domain space.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1858634,
          "author_name": "hengck23",
          "author_url": "",
          "post_date": "07/17/2022 05:00:24",
          "content": "<p>aka: how to ensemble for domain shift</p>\n<p><img src=\"https://i.ibb.co/wdsk5z5/Selection-068.png\" alt=\"https://i.ibb.co/wdsk5z5/Selection-068.png\"></p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1861539,
          "author_name": "hengck23",
          "author_url": "",
          "post_date": "07/19/2022 05:06:05",
          "content": "<p>example of using PCA/umap to map domain space:<br>\n<a href=\"https://github.com/j-sripad/colon_crypt_segmentation\" target=\"_blank\">https://github.com/j-sripad/colon_crypt_segmentation</a></p>\n<p>in summary, divide your image into patches. use some feature extraction (can be trained CNN or simply PCA) methods to turn patch into feature vector. use tsne, umap etc  for visualisation. some mapping can shown in the papers below</p>\n<p><a href=\"https://www.diva-portal.org/smash/get/diva2:1478702/FULLTEXT02.pdf\" target=\"_blank\">https://www.diva-portal.org/smash/get/diva2:1478702/FULLTEXT02.pdf</a><br>\nMeasuring Domain Shift for Deep Learning in Histopathology</p>\n<p><a href=\"https://openaccess.thecvf.com/content/ICCV2021W/CDPath/papers/Marini_HE-Adversarial_Network_A_Convolutional_Neural_Network_To_Learn_Stain-Invariant_Features_ICCVW_2021_paper.pdf\" target=\"_blank\">https://openaccess.thecvf.com/content/ICCV2021W/CDPath/papers/Marini_HE-Adversarial_Network_A_Convolutional_Neural_Network_To_Learn_Stain-Invariant_Features_ICCVW_2021_paper.pdf</a></p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1861499,
      "author_name": "urosjarc",
      "author_url": "",
      "post_date": "07/19/2022 04:36:15",
      "content": "<p>The input data that we were been provided with, is probably created from their own segmentation algorithm, but this task should be done<br>\nby hand, with precision of human inteligence. Buuuuuuuuuuuuuuuuuuuuuuuuuut…………………</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F2386017%2F3561dfe32246b2bda01e79a26ec23ce6%2F200w.gif?generation=1658205348620548&amp;alt=media\" alt=\"\"></p>",
      "votes": null,
      "replies": [
        {
          "id": 1861694,
          "author_name": "theudas",
          "author_url": "",
          "post_date": "07/19/2022 07:20:21",
          "content": "<p>I dont think so, it seems to be annotated by multiple people but with different ways to annotate.<br>\nFor example are some FTUs sometimes only segmented, if they are completly surrounded by tissiue.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1857727": "\"The training dataset consists of data from public HPA data, the public test set is a combination of private HPA data and HuBMAP data, and **the private test set contains only HuBMAP data**.\"\n\nIn this competition we have:\n- Private dataset has a different set of image scales compared to the train (relatively easy to model)\n- Private dataset has a different color domain (different stains which attach to different molecules/tissues) - (Harder to model)\n- Different slice thickness... That's going to be tough to incorporate.\n\nAnd finally, we have only one test image which provides a sneak peek into how different the test set is. Apparently, it seems that without external data, local validation is entirely impossible and we have to resort to something like predicting only HuMBAP images on the public LB as a sort of surrogate validation.\n\nWhat do you think?\n\nP.S.\nOh, well. I'll probably go and do a logistic regression of prostate vs sex to get my dose of dopamine.",
    "1857780": "refer to my discussion at: https://www.kaggle.com/competitions/hubmap-organ-segmentation/discussion/333631\n\n```\nroughly 550 test images \t\t\t\t\t\nthere are exactly 529 test images, of which Hubmap=448, HPA=81\t\t\t\t\t\n\t\t\t\t\t\npublic test : 55% of the test data()\t\t\t\t\t\n291 --> Hubmap=210 (0.7216), HPA=81 (0.2783)\t\t\t\t\t\n\t\t\t\t\t\nprivate test = 45%\t\t\t\t\t\n238--> Hubmap= 238\t\t\t\t\t\n\n\n```",
    "1857787": "Local validation is like comparing apples to oranges. It is really hard to do something significant only with competition data because of the reasons you mentioned. As my training progress further, predictions on test image become worse.\n\nEpoch 1\n![1](https://i.ibb.co/QXZRSVb/10078-spleen-fold1-epoch1-predictions.png)\n\nEpoch 20 (early stopping by validation set)\n![20](https://i.ibb.co/x1SPmC7/10078-spleen-fold1-epoch20-predictions.png)",
    "1857818": "Yes local validation is hard! I am doing many tests just to find out how to validate in a smart way. \n\nCurrent best pipeline gives 0.54 on HuBMAP data alone ( HPA rle set to \"\") and I am predicting that this value holds the best PB value for my tests so far.",
    "1857883": "ultimately, you need to prepare external data. and you may need to submit for reach organ separately.\n\nfortunately, we do have some samples from HuBMAP for 'kidney', 'largeintestine', 'spleen'.\n'prostate' stains are common and will not be a problem. Hence for these 3+1 cases, we can have a good estimates of the private lb.\n\n\nthe only problem is 'lung' (problem because the results are no predictable)",
    "1858625": "![https://i.ibb.co/dkxh7zs/Selection-061.png](https://i.ibb.co/dkxh7zs/Selection-061.png)\n\nthe first step is to think of input domain space.\nthink of hubmap and HPA images as data points. how to plot them on the input space?\n(e.g. use probing, information like um per pixel, stain color given, examples on HPA/Humap website, train a classfiier to predict image characteristic)\n\nthen in the second step, for a subset in the  input domain space, what is the dice score?\n\nyou model should be stable loss landscape (constant low valley) in the target domain space.",
    "1858634": "aka: how to ensemble for domain shift\n\n![https://i.ibb.co/wdsk5z5/Selection-068.png](https://i.ibb.co/wdsk5z5/Selection-068.png)",
    "1861394": "Are you sure the white parts are spleen FTU?",
    "1861499": "The input data that we were been provided with, is probably created from their own segmentation algorithm, but this task should be done\nby hand, with precision of human inteligence. Buuuuuuuuuuuuuuuuuuuuuuuuuut.....................\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F2386017%2F3561dfe32246b2bda01e79a26ec23ce6%2F200w.gif?generation=1658205348620548&alt=media)",
    "1861522": "I'm not sure. It was gut feeling.",
    "1861539": "example of using PCA/umap to map domain space:\nhttps://github.com/j-sripad/colon_crypt_segmentation\n\nin summary, divide your image into patches. use some feature extraction (can be trained CNN or simply PCA) methods to turn patch into feature vector. use tsne, umap etc  for visualisation. some mapping can shown in the papers below\n \nhttps://www.diva-portal.org/smash/get/diva2:1478702/FULLTEXT02.pdf\nMeasuring Domain Shift for Deep Learning in Histopathology\n\nhttps://openaccess.thecvf.com/content/ICCV2021W/CDPath/papers/Marini_HE-Adversarial_Network_A_Convolutional_Neural_Network_To_Learn_Stain-Invariant_Features_ICCVW_2021_paper.pdf",
    "1861587": "I don't think white parts are FTUs. But how do we even know?\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3436753%2F64d8886fdafbd5214265f66ee7eb0550%2F__results___25_20.png?generation=1658208656712795&alt=media)",
    "1861694": "I dont think so, it seems to be annotated by multiple people but with different ways to annotate.\nFor example are some FTUs sometimes only segmented, if they are completly surrounded by tissiue.",
    "1870685": "https://www.proteinatlas.org/learn/dictionary/normal/spleen\n\nYou are right. According to wikipedia, there are two tissues on spleen.\n\n`The spleen contains two different tissues, white pulp (A) and red pulp (B). The white pulp functions in producing and growing immune and blood cells. The red pulp functions in filtering blood of antigens, microorganisms, and defective or worn-out red blood cells.`\n\nThis seems consistent with labels."
  },
  "source": "meta"
}