This repository provides the solution of team Sribd-med for NeurIPS-CellSeg Challenge. The details of our method are described in our paper [Multi-stream Cell Segmentation with Low-level Cues for Multi-modality Images]. Some parts of the codes are from the baseline codes of the NeurIPS-CellSeg-Baseline repository,
You can reproduce our method as follows step by step:
How to Get Started with the Model
Install requirements by python -m pip install -r requirements.txt
You can classify the cells into four classes in this step.
Put all the images (competition + Cellpose + Omnipose + Sartorius) in one folder (data/allimages).
Run classification code:
python classification/unsup_classification.py
The results can be stored in data/classification_results/
CNN-base classification model training
Using the classified images in data/classification_results/. A resnet18 is trained:
python classification/train_classification.py
Segmentation Training
Pre-training convnext-stardist using all the images (data/allimages).
python train_convnext_stardist.py
For class 0,2,3 finetune on the classified data (Take class1 as a example):
The tuning set F1 score of our method is 0.8795. The rank running time of our method on all the 101 cases in the tuning set is zero in our local
workstation.