mmsegmentation icon indicating copy to clipboard operation
mmsegmentation copied to clipboard

colorful label

Open scm-later opened this issue 2 years ago • 1 comments

After mmseg reorganizes the vaihingen dataset with the command, the pictures in the annotation are all black. If I want to compare the prediction pictures with the label pictures, how can I get the label pictures with color

scm-later avatar Aug 03 '22 07:08 scm-later

Please check the label of prediction is all 0, as there are PALETTE for this dataset, and label 0 is corresponding to [0, 0, 0] just black.

https://github.com/open-mmlab/mmsegmentation/blob/4eaa8e69191cc293b64dafe47f1f88a7d468c93c/mmseg/datasets/isaid.py#L20-L29

MeowZheng avatar Aug 05 '22 06:08 MeowZheng