facebookresearch / Mask2Former

Code release for "Masked-attention Mask Transformer for Universal Image Segmentation"
MIT License
2.54k stars 384 forks source link

Colours in the semantic segmentation masks #142

Open ac5113 opened 2 years ago

ac5113 commented 2 years ago

I had ran inference using the 'swin_large_IN21k_384_bs16_100ep' weight, and obtained the semantic segmenation masks. But, the colours in the mask do not match with the colours in the stuff_colours in the metadata of 'coco_2017_val_panoptic'. Is there something I'm doing wrong?

huanruizhang123 commented 1 year ago

Hello, I want to customize a semantic segmentation data set, should I register this data set, do I need to define the color palette in advance for different categories