{
  "id": 332921,
  "title": "HuBMAP + HPA Starter kit",
  "url": "/competitions/hubmap-organ-segmentation/discussion/332921",
  "author_name": "",
  "post_date": "2022-06-23T23:31:44.645699Z",
  "votes": 11,
  "comment_count": 2,
  "views": 0,
  "content": "<p>Hi everyone, </p>\n<p>Just to let you know, I created a series of notebooks &amp; datasets that might be of interest as a starting point. </p>\n<hr>\n<p><strong>Credits</strong><br>\nAll notebooks are made based on the <a href=\"https://www.kaggle.com/code/iafoss/256x256-images\" target=\"_blank\">incredible</a> <a href=\"https://www.kaggle.com/code/iafoss/hubmap-pytorch-fast-ai-starter-sub\" target=\"_blank\">series</a> <a href=\"https://www.kaggle.com/code/iafoss/hubmap-pytorch-fast-ai-starter\" target=\"_blank\">of</a> notebooks by <a href=\"https://www.kaggle.com/iafoss\" target=\"_blank\">iafoss</a>. <br>\nAll credit goes to him! </p>\n<hr>\n<h5>Notebooks</h5>\n<p><strong>Modeling - FastAI</strong></p>\n<h5><a href=\"https://www.kaggle.com/code/thedevastator/training-fastai-baseline\" target=\"_blank\">[Training] - FastAI Baseline</a></h5>\n<h5><a href=\"https://www.kaggle.com/code/thedevastator/inference-fastai-baseline\" target=\"_blank\">[Inference] - FastAI Baseline</a></h5>\n<hr>\n<p><strong>Dataset Creation</strong></p>\n<p>All models use a preprocessed dataset I made using the following notebook: </p>\n<h5><a href=\"https://www.kaggle.com/code/thedevastator/converting-to-256x256\" target=\"_blank\">https://www.kaggle.com/code/thedevastator/converting-to-256x256</a></h5>\n<hr>\n<p><strong>EDA</strong></p>\n<p>And also here is a quick EDA notebook just for getting started:</p>\n<h5><a href=\"https://www.kaggle.com/code/thedevastator/hubmap-quick-eda\" target=\"_blank\">Quick EDA</a></h5>\n<hr>\n<h5>Datasets</h5>\n<p>Also, I already created some scaled versions of the dataset (using the notebook above) so you can play around with:</p>\n<h5><a href=\"https://www.kaggle.com/datasets/thedevastator/hubmap-2022-256x256\" target=\"_blank\">256 x 256</a></h5>\n<h5><a href=\"https://www.kaggle.com/datasets/thedevastator/hubmap-2022-512x512\" target=\"_blank\">512 x 512</a></h5>\n<h5><a href=\"https://www.kaggle.com/datasets/thedevastator/hubmap-2022-128x128\" target=\"_blank\">128 x 128</a></h5>\n<hr>\n<blockquote>\n  <p><strong>Please note:</strong> Fixed all prediction issues. Have fun!</p>\n</blockquote>",
  "messages": [
    {
      "id": "1831075",
      "postDate": "06/23/2022 23:31:44",
      "content": "<p>Hi everyone, </p>\n<p>Just to let you know, I created a series of notebooks &amp; datasets that might be of interest as a starting point. </p>\n<hr>\n<p><strong>Credits</strong><br>\nAll notebooks are made based on the <a href=\"https://www.kaggle.com/code/iafoss/256x256-images\" target=\"_blank\">incredible</a> <a href=\"https://www.kaggle.com/code/iafoss/hubmap-pytorch-fast-ai-starter-sub\" target=\"_blank\">series</a> <a href=\"https://www.kaggle.com/code/iafoss/hubmap-pytorch-fast-ai-starter\" target=\"_blank\">of</a> notebooks by <a href=\"https://www.kaggle.com/iafoss\" target=\"_blank\">iafoss</a>. <br>\nAll credit goes to him! </p>\n<hr>\n<h5>Notebooks</h5>\n<p><strong>Modeling - FastAI</strong></p>\n<h5><a href=\"https://www.kaggle.com/code/thedevastator/training-fastai-baseline\" target=\"_blank\">[Training] - FastAI Baseline</a></h5>\n<h5><a href=\"https://www.kaggle.com/code/thedevastator/inference-fastai-baseline\" target=\"_blank\">[Inference] - FastAI Baseline</a></h5>\n<hr>\n<p><strong>Dataset Creation</strong></p>\n<p>All models use a preprocessed dataset I made using the following notebook: </p>\n<h5><a href=\"https://www.kaggle.com/code/thedevastator/converting-to-256x256\" target=\"_blank\">https://www.kaggle.com/code/thedevastator/converting-to-256x256</a></h5>\n<hr>\n<p><strong>EDA</strong></p>\n<p>And also here is a quick EDA notebook just for getting started:</p>\n<h5><a href=\"https://www.kaggle.com/code/thedevastator/hubmap-quick-eda\" target=\"_blank\">Quick EDA</a></h5>\n<hr>\n<h5>Datasets</h5>\n<p>Also, I already created some scaled versions of the dataset (using the notebook above) so you can play around with:</p>\n<h5><a href=\"https://www.kaggle.com/datasets/thedevastator/hubmap-2022-256x256\" target=\"_blank\">256 x 256</a></h5>\n<h5><a href=\"https://www.kaggle.com/datasets/thedevastator/hubmap-2022-512x512\" target=\"_blank\">512 x 512</a></h5>\n<h5><a href=\"https://www.kaggle.com/datasets/thedevastator/hubmap-2022-128x128\" target=\"_blank\">128 x 128</a></h5>\n<hr>\n<blockquote>\n  <p><strong>Please note:</strong> Fixed all prediction issues. Have fun!</p>\n</blockquote>",
      "rawMarkdown": "Hi everyone, \n\nJust to let you know, I created a series of notebooks & datasets that might be of interest as a starting point. \n\n_____\n**Credits**\nAll notebooks are made based on the [incredible](https://www.kaggle.com/code/iafoss/256x256-images) [series](https://www.kaggle.com/code/iafoss/hubmap-pytorch-fast-ai-starter-sub) [of](https://www.kaggle.com/code/iafoss/hubmap-pytorch-fast-ai-starter) notebooks by [iafoss](https://www.kaggle.com/iafoss). \nAll credit goes to him! \n_____\n\n\n##### Notebooks\n\n**Modeling - FastAI**\n##### [[Training] - FastAI Baseline](https://www.kaggle.com/code/thedevastator/training-fastai-baseline)\n##### [[Inference] - FastAI Baseline](https://www.kaggle.com/code/thedevastator/inference-fastai-baseline)\n_____\n**Dataset Creation**\n\nAll models use a preprocessed dataset I made using the following notebook: \n\n##### [https://www.kaggle.com/code/thedevastator/converting-to-256x256](https://www.kaggle.com/code/thedevastator/converting-to-256x256)\n_____\n\n**EDA**\n\nAnd also here is a quick EDA notebook just for getting started:\n##### [Quick EDA](https://www.kaggle.com/code/thedevastator/hubmap-quick-eda)\n_____\n##### Datasets\n\nAlso, I already created some scaled versions of the dataset (using the notebook above) so you can play around with:\n\n##### [256 x 256](https://www.kaggle.com/datasets/thedevastator/hubmap-2022-256x256)\n##### [512 x 512](https://www.kaggle.com/datasets/thedevastator/hubmap-2022-512x512)\n##### [128 x 128](https://www.kaggle.com/datasets/thedevastator/hubmap-2022-128x128)\n\n_____\n\n> **Please note:** Fixed all prediction issues. Have fun!",
      "votes": null
    },
    {
      "id": "1831227",
      "postDate": "06/24/2022 04:00:45",
      "content": "<p>Curious about the 512x512 dataset you have created, I see that you have cropped the image and its mask into 8 regions why not just resize them as you will be loosing global semantic info if you train on them. Also the test image will be very different from these images. Any particular reason for doing so?</p>",
      "rawMarkdown": "Curious about the 512x512 dataset you have created, I see that you have cropped the image and its mask into 8 regions why not just resize them as you will be loosing global semantic info if you train on them. Also the test image will be very different from these images. Any particular reason for doing so?",
      "votes": null
    },
    {
      "id": "1831949",
      "postDate": "06/24/2022 14:34:42",
      "content": "<p><a href=\"https://www.kaggle.com/thedevastator\" target=\"_blank\">@thedevastator</a> Great work<br>\nI’ve checked your inference notebook and I know why you got an error</p>\n<p>It’s the submission file header it should be id, rle not “predicted”</p>",
      "rawMarkdown": "thedevastator Great work\nI’ve checked your inference notebook and I know why you got an error\n\nIt’s the submission file header it should be id, rle not “predicted”",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1831227,
      "author_name": "nishantbhansali",
      "author_url": "",
      "post_date": "06/24/2022 04:00:45",
      "content": "<p>Curious about the 512x512 dataset you have created, I see that you have cropped the image and its mask into 8 regions why not just resize them as you will be loosing global semantic info if you train on them. Also the test image will be very different from these images. Any particular reason for doing so?</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1831949,
      "author_name": "asalhi",
      "author_url": "",
      "post_date": "06/24/2022 14:34:42",
      "content": "<p><a href=\"https://www.kaggle.com/thedevastator\" target=\"_blank\">@thedevastator</a> Great work<br>\nI’ve checked your inference notebook and I know why you got an error</p>\n<p>It’s the submission file header it should be id, rle not “predicted”</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1831075": "Hi everyone, \n\nJust to let you know, I created a series of notebooks & datasets that might be of interest as a starting point. \n\n_____\n**Credits**\nAll notebooks are made based on the [incredible](https://www.kaggle.com/code/iafoss/256x256-images) [series](https://www.kaggle.com/code/iafoss/hubmap-pytorch-fast-ai-starter-sub) [of](https://www.kaggle.com/code/iafoss/hubmap-pytorch-fast-ai-starter) notebooks by [iafoss](https://www.kaggle.com/iafoss). \nAll credit goes to him! \n_____\n\n\n##### Notebooks\n\n**Modeling - FastAI**\n##### [[Training] - FastAI Baseline](https://www.kaggle.com/code/thedevastator/training-fastai-baseline)\n##### [[Inference] - FastAI Baseline](https://www.kaggle.com/code/thedevastator/inference-fastai-baseline)\n_____\n**Dataset Creation**\n\nAll models use a preprocessed dataset I made using the following notebook: \n\n##### [https://www.kaggle.com/code/thedevastator/converting-to-256x256](https://www.kaggle.com/code/thedevastator/converting-to-256x256)\n_____\n\n**EDA**\n\nAnd also here is a quick EDA notebook just for getting started:\n##### [Quick EDA](https://www.kaggle.com/code/thedevastator/hubmap-quick-eda)\n_____\n##### Datasets\n\nAlso, I already created some scaled versions of the dataset (using the notebook above) so you can play around with:\n\n##### [256 x 256](https://www.kaggle.com/datasets/thedevastator/hubmap-2022-256x256)\n##### [512 x 512](https://www.kaggle.com/datasets/thedevastator/hubmap-2022-512x512)\n##### [128 x 128](https://www.kaggle.com/datasets/thedevastator/hubmap-2022-128x128)\n\n_____\n\n> **Please note:** Fixed all prediction issues. Have fun!",
    "1831227": "Curious about the 512x512 dataset you have created, I see that you have cropped the image and its mask into 8 regions why not just resize them as you will be loosing global semantic info if you train on them. Also the test image will be very different from these images. Any particular reason for doing so?",
    "1831949": "thedevastator Great work\nI’ve checked your inference notebook and I know why you got an error\n\nIt’s the submission file header it should be id, rle not “predicted”"
  },
  "source": "meta"
}