Lee-Gihun / MEDIAR

(NeurIPS 2022 CellSeg Challenge - 1st Winner) Open source code for "MEDIAR: Harmony of Data-Centric and Model-Centric for Multi-Modality Microscopy"
MIT License
141 stars 29 forks source link

Running the predict.py code does not produce segmentation results. #14

Closed lzkzls closed 7 months ago

lzkzls commented 8 months ago

Hello, thank you for sharing the code. I used two images from the image/examples folder and ran the predict.py code, but the segmentation results I obtained are two completely black images. I replaced the images with my own cell images, but still obtained completely black images as results. Could you please advise on how to troubleshoot this issue?

Lee-Gihun commented 7 months ago

It is highly likely that you opened the file with a default image viewer in the OS (e.g., Windows). If you examine the internal values of the predicted labels in the .tiff files, you will find integer values, each corresponding to a unique cell.

Let me close this issue, and please reopen if the same problem still happens.