Skip to content

Nucleus instance segmentation classification performance very poor #756

@deeplearningmaniac

Description

@deeplearningmaniac
  • TIA Toolbox version: 1.4.1
  • Python version: 3.10.12
  • Operating System: Ubuntu 22.04.3 LTS

Description

I've been trying to use some of the pretrained nucleus instance segmentation models to segment, in particular, epithelial cells and lymphocytes. However, from some of my testing, all of the models perform very poorly. I was hoping you might be able to help me figure out if I'm going wrong somewhere.

What I Did

I downloaded some data from the NuCLS dataset, ran the different pretrained models on some patches, and visually compared the results with the ground truth. All three models I tried -- PanNuke, MoNuSAC, and CoNSeP -- were able to segment the nuclei to varying degrees, but none of them were able to properly classify any epithelial cells, and MoNuSAC wasn't able to classify lymphocytes either.

Here is a Google Colab notebook replicating this: https://colab.research.google.com/drive/1D3h4A2R7LvMUhUbel8YullU3gkL4AVbm?usp=sharing

Am I doing something wrong? I've checked my code over and over again and don't see any obvious bugs. Any help would be appreciated.

If you'd like to try some patches other than the two that I included with the Google Drive download (which I custom uploaded for simplicity), you can find them here: https://drive.google.com/drive/folders/1eGlF9Dgu3WMEik4fqj0wJ13LKVufsfZ0 under the rgb/ and csv/ folders.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions