AICAN-Research / FAST-Pathology

⚡ Open-source software for deep learning-based digital pathology
BSD 2-Clause "Simplified" License
119 stars 24 forks source link

color issue on segmentations when running multiple models #80

Open mhoibo opened 11 months ago

mhoibo commented 11 months ago

When running tissue segmentation (red) followed by nuclei segmentation (green) the segmentation color for the nuclei segmentation changes from green to red after inference. If I change the color of one of the segmentations (ex nuclei to blue) the other segmentation (tissue, also changes to blue, without me doing anything). The color showed under "Classes:" does not, however.

When running running tissue segmentation after nuclei segmentation this does not happen.

Observed on Windows 10

andreped commented 10 months ago

I just observed the same on macOS 12 now using AMD GPU.

After running both tissue segmentation and breast cancer segmentation pipelines, when changing the color on one of the segmentation results, both segmentation results update to the same new color (e.g., both turned green, see image below).

Screenshot 2023-09-04 at 13 04 30
andreped commented 10 months ago

After then running the BACH model (pw-classifier), at the end of inference, the segmentations are then updated again to the correct colors, respectively. If I then try to change the color of one of the segmentation results, only one update. Really strange bug...