{
  "id": 214835,
  "title": "Some resources about weakly-supervised segmentation",
  "url": "/competitions/hpa-single-cell-image-classification/discussion/214835",
  "author_name": "xhlulu",
  "post_date": "2021-01-27T18:59:22.098000",
  "votes": 60,
  "comment_count": 4,
  "views": 0,
  "content": "<blockquote>\n  <p>I'm sharing some thoughts based on what I <em>understood</em> from the problem description. If I'm wrong, please correct me and I'll edit this post!</p>\n</blockquote>\n<p>This competition will be particularly interesting and potentially challenging because:</p>\n<ol>\n<li>each training label is assigned to a whole image (<strong>weak classification</strong>)</li>\n<li>evaluation requires predicting the labels+mask for each individual cells in an image (<strong>instance segmentation</strong>)</li>\n</ol>\n<p>Since we don't have access to the masks and individual labels in the training data, this makes the competition more challenging (and thus a more interesting research problem). Below are some resources that might help you get started with <strong>weakly-supervised segmentation</strong>:</p>\n<ul>\n<li>If you are not familiar about instance segmentation, check out <a href=\"https://www.cs.princeton.edu/courses/archive/spring18/cos598B/public/outline/Instance%20Segmentation.pdf\" target=\"_blank\">those slides</a> from a 2018 princeton course.</li>\n<li>This <a href=\"https://paperswithcode.com/task/weakly-supervised-semantic-segmentation\" target=\"_blank\">section of Papers with Code</a> gives you a list of popular research papers and source code about weakly-supervised <strong>semantic</strong> segmentation. It's slightly different from <strong>instance</strong> segmentation, and the differences are described in the Princeton slides. </li>\n<li>Papers with Code also have <a href=\"https://paperswithcode.com/task/weakly-supervised-instance-segmentation\" target=\"_blank\">a page</a> on <strong>WS instance segmentation</strong> but there's only 4 papers.</li>\n<li>Want to something more hands-on to learn basic (non-weakly supervised) instance segmentation? Check out this <a href=\"https://www.tensorflow.org/tutorials/images/segmentation\" target=\"_blank\">Keras tutorial</a> using MobileNet v2 and this <a href=\"https://pytorch.org/tutorials/intermediate/torchvision_tutorial.html\" target=\"_blank\">torchvision post</a> using Mask R-CNN.</li>\n<li>Interested in exploring new ideas from broader domain of weakly supervised learning (WSL)? Check out this <a href=\"https://hbilen.github.io/wsl-eccv20.github.io/\" target=\"_blank\">ECCV tutorial</a> on the subject, and this IEEE paper called <em><a href=\"https://pubmed.ncbi.nlm.nih.gov/30918435/\" target=\"_blank\">Weakly Supervised Learning of Single-Cell Feature Embeddings </a></em></li>\n</ul>\n<blockquote>\n  <p>Did I miss anything? Please reply below and I'll add it in!</p>\n</blockquote>",
  "messages": [
    {
      "id": 1173267,
      "postDate": "2021-01-27T18:59:22.097Z",
      "content": "<blockquote>\n  <p>I'm sharing some thoughts based on what I <em>understood</em> from the problem description. If I'm wrong, please correct me and I'll edit this post!</p>\n</blockquote>\n<p>This competition will be particularly interesting and potentially challenging because:</p>\n<ol>\n<li>each training label is assigned to a whole image (<strong>weak classification</strong>)</li>\n<li>evaluation requires predicting the labels+mask for each individual cells in an image (<strong>instance segmentation</strong>)</li>\n</ol>\n<p>Since we don't have access to the masks and individual labels in the training data, this makes the competition more challenging (and thus a more interesting research problem). Below are some resources that might help you get started with <strong>weakly-supervised segmentation</strong>:</p>\n<ul>\n<li>If you are not familiar about instance segmentation, check out <a href=\"https://www.cs.princeton.edu/courses/archive/spring18/cos598B/public/outline/Instance%20Segmentation.pdf\" target=\"_blank\">those slides</a> from a 2018 princeton course.</li>\n<li>This <a href=\"https://paperswithcode.com/task/weakly-supervised-semantic-segmentation\" target=\"_blank\">section of Papers with Code</a> gives you a list of popular research papers and source code about weakly-supervised <strong>semantic</strong> segmentation. It's slightly different from <strong>instance</strong> segmentation, and the differences are described in the Princeton slides. </li>\n<li>Papers with Code also have <a href=\"https://paperswithcode.com/task/weakly-supervised-instance-segmentation\" target=\"_blank\">a page</a> on <strong>WS instance segmentation</strong> but there's only 4 papers.</li>\n<li>Want to something more hands-on to learn basic (non-weakly supervised) instance segmentation? Check out this <a href=\"https://www.tensorflow.org/tutorials/images/segmentation\" target=\"_blank\">Keras tutorial</a> using MobileNet v2 and this <a href=\"https://pytorch.org/tutorials/intermediate/torchvision_tutorial.html\" target=\"_blank\">torchvision post</a> using Mask R-CNN.</li>\n<li>Interested in exploring new ideas from broader domain of weakly supervised learning (WSL)? Check out this <a href=\"https://hbilen.github.io/wsl-eccv20.github.io/\" target=\"_blank\">ECCV tutorial</a> on the subject, and this IEEE paper called <em><a href=\"https://pubmed.ncbi.nlm.nih.gov/30918435/\" target=\"_blank\">Weakly Supervised Learning of Single-Cell Feature Embeddings </a></em></li>\n</ul>\n<blockquote>\n  <p>Did I miss anything? Please reply below and I'll add it in!</p>\n</blockquote>",
      "rawMarkdown": "> I'm sharing some thoughts based on what I *understood* from the problem description. If I'm wrong, please correct me and I'll edit this post!\n\nThis competition will be particularly interesting and potentially challenging because:\n1. each training label is assigned to a whole image (**weak classification**)\n2. evaluation requires predicting the labels+mask for each individual cells in an image (**instance segmentation**)\n\nSince we don't have access to the masks and individual labels in the training data, this makes the competition more challenging (and thus a more interesting research problem). Below are some resources that might help you get started with **weakly-supervised segmentation**:\n\n* If you are not familiar about instance segmentation, check out [those slides](https://www.cs.princeton.edu/courses/archive/spring18/cos598B/public/outline/Instance%20Segmentation.pdf) from a 2018 princeton course.\n* This [section of Papers with Code](https://paperswithcode.com/task/weakly-supervised-semantic-segmentation) gives you a list of popular research papers and source code about weakly-supervised **semantic** segmentation. It's slightly different from **instance** segmentation, and the differences are described in the Princeton slides. \n* Papers with Code also have [a page](https://paperswithcode.com/task/weakly-supervised-instance-segmentation) on **WS instance segmentation** but there's only 4 papers.\n* Want to something more hands-on to learn basic (non-weakly supervised) instance segmentation? Check out this [Keras tutorial](https://www.tensorflow.org/tutorials/images/segmentation) using MobileNet v2 and this [torchvision post](https://pytorch.org/tutorials/intermediate/torchvision_tutorial.html) using Mask R-CNN.\n* Interested in exploring new ideas from broader domain of weakly supervised learning (WSL)? Check out this [ECCV tutorial](https://hbilen.github.io/wsl-eccv20.github.io/) on the subject, and this IEEE paper called *[Weakly Supervised Learning of Single-Cell Feature Embeddings ](https://pubmed.ncbi.nlm.nih.gov/30918435/)*\n\n> Did I miss anything? Please reply below and I'll add it in!",
      "votes": 59
    },
    {
      "id": 1173345,
      "postDate": "2021-01-27T20:08:21.843Z",
      "content": "<p>Nice resource! I just want to point out that the cells can be single-labeled or multi-labeled as well. The single cell labels will often not fully match the image-level labels, plus the addition of Negative class. You can see examples here <a href=\"https://www.kaggle.com/lnhtrang/single-cell-patterns#SCV-and-multi-localization-examples\" target=\"_blank\">https://www.kaggle.com/lnhtrang/single-cell-patterns#SCV-and-multi-localization-examples</a> </p>",
      "rawMarkdown": "Nice resource! I just want to point out that the cells can be single-labeled or multi-labeled as well. The single cell labels will often not fully match the image-level labels, plus the addition of Negative class. You can see examples here https://www.kaggle.com/lnhtrang/single-cell-patterns#SCV-and-multi-localization-examples ",
      "votes": 8,
      "replies": [
        {
          "id": 1176327,
          "postDate": "2021-01-29T15:24:51.333Z",
          "content": "<p>Thanks for sharing this, very helpful!</p>",
          "rawMarkdown": "Thanks for sharing this, very helpful!"
        }
      ]
    },
    {
      "id": 1214067,
      "postDate": "2021-02-22T15:16:10.207Z",
      "content": "<p>Hey great resource. Upvoted.</p>\n<p>Quick question <a href=\"https://www.kaggle.com/xhlulu\" target=\"_blank\">@xhlulu</a>, the link you provided for the TF/Keras tutorial is just semantic segmentation with a boundary class, object class, and background class… Is it the wrong link or was it just a mistake in thinking it was instance segmentation? </p>\n<p>Thanks again!</p>",
      "rawMarkdown": "Hey great resource. Upvoted.\n\nQuick question @xhlulu, the link you provided for the TF/Keras tutorial is just semantic segmentation with a boundary class, object class, and background class... Is it the wrong link or was it just a mistake in thinking it was instance segmentation? \n\nThanks again!"
    },
    {
      "id": 1173664,
      "postDate": "2021-01-28T03:30:20.480Z",
      "content": "<p>Thanks for sharing these resources…</p>",
      "rawMarkdown": "Thanks for sharing these resources..."
    }
  ],
  "comments": [
    {
      "id": 1173345,
      "author_name": "Trang Le",
      "author_url": "",
      "post_date": "2021-01-27T20:08:21.843000",
      "content": "<p>Nice resource! I just want to point out that the cells can be single-labeled or multi-labeled as well. The single cell labels will often not fully match the image-level labels, plus the addition of Negative class. You can see examples here <a href=\"https://www.kaggle.com/lnhtrang/single-cell-patterns#SCV-and-multi-localization-examples\" target=\"_blank\">https://www.kaggle.com/lnhtrang/single-cell-patterns#SCV-and-multi-localization-examples</a> </p>",
      "votes": 8,
      "replies": [
        {
          "id": 1176327,
          "author_name": "Old Monk",
          "author_url": "",
          "post_date": "2021-01-29T15:24:51.333000",
          "content": "<p>Thanks for sharing this, very helpful!</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1214067,
      "author_name": "Darien Schettler",
      "author_url": "",
      "post_date": "2021-02-22T15:16:10.207000",
      "content": "<p>Hey great resource. Upvoted.</p>\n<p>Quick question <a href=\"https://www.kaggle.com/xhlulu\" target=\"_blank\">@xhlulu</a>, the link you provided for the TF/Keras tutorial is just semantic segmentation with a boundary class, object class, and background class… Is it the wrong link or was it just a mistake in thinking it was instance segmentation? </p>\n<p>Thanks again!</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1173664,
      "author_name": "Gryffindor",
      "author_url": "",
      "post_date": "2021-01-28T03:30:20.480000",
      "content": "<p>Thanks for sharing these resources…</p>",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1173267": "> I'm sharing some thoughts based on what I *understood* from the problem description. If I'm wrong, please correct me and I'll edit this post!\n\nThis competition will be particularly interesting and potentially challenging because:\n1. each training label is assigned to a whole image (**weak classification**)\n2. evaluation requires predicting the labels+mask for each individual cells in an image (**instance segmentation**)\n\nSince we don't have access to the masks and individual labels in the training data, this makes the competition more challenging (and thus a more interesting research problem). Below are some resources that might help you get started with **weakly-supervised segmentation**:\n\n* If you are not familiar about instance segmentation, check out [those slides](https://www.cs.princeton.edu/courses/archive/spring18/cos598B/public/outline/Instance%20Segmentation.pdf) from a 2018 princeton course.\n* This [section of Papers with Code](https://paperswithcode.com/task/weakly-supervised-semantic-segmentation) gives you a list of popular research papers and source code about weakly-supervised **semantic** segmentation. It's slightly different from **instance** segmentation, and the differences are described in the Princeton slides. \n* Papers with Code also have [a page](https://paperswithcode.com/task/weakly-supervised-instance-segmentation) on **WS instance segmentation** but there's only 4 papers.\n* Want to something more hands-on to learn basic (non-weakly supervised) instance segmentation? Check out this [Keras tutorial](https://www.tensorflow.org/tutorials/images/segmentation) using MobileNet v2 and this [torchvision post](https://pytorch.org/tutorials/intermediate/torchvision_tutorial.html) using Mask R-CNN.\n* Interested in exploring new ideas from broader domain of weakly supervised learning (WSL)? Check out this [ECCV tutorial](https://hbilen.github.io/wsl-eccv20.github.io/) on the subject, and this IEEE paper called *[Weakly Supervised Learning of Single-Cell Feature Embeddings ](https://pubmed.ncbi.nlm.nih.gov/30918435/)*\n\n> Did I miss anything? Please reply below and I'll add it in!",
    "1173345": "Nice resource! I just want to point out that the cells can be single-labeled or multi-labeled as well. The single cell labels will often not fully match the image-level labels, plus the addition of Negative class. You can see examples here https://www.kaggle.com/lnhtrang/single-cell-patterns#SCV-and-multi-localization-examples ",
    "1214067": "Hey great resource. Upvoted.\n\nQuick question @xhlulu, the link you provided for the TF/Keras tutorial is just semantic segmentation with a boundary class, object class, and background class... Is it the wrong link or was it just a mistake in thinking it was instance segmentation? \n\nThanks again!",
    "1173664": "Thanks for sharing these resources..."
  }
}