cocodataset / panopticapi

COCO 2018 Panoptic Segmentation Task API (Beta version)
Other
418 stars 184 forks source link

Question regarding IDGenerator #29

Open discretecoder opened 4 years ago

discretecoder commented 4 years ago

Greetings,

I have a question regarding ID generator, lets say I create panoptic labels for a dataset with 5 different colours for cars viz. [0 , 0 , 255], [0, 0, 200], [0, 0, 150], [0, 0 , 100], [0, 0, 50] and i assign differnt category ids to them and use 5 different class ids for the same class "car". can I still use IDGenerator for all the car colours I have assigned? will it try to generate more shades of blue or use all the ones I have mentioned?

discretecoder commented 4 years ago

or if i keep just one category ID and use these 5 colors for masks and use the R+G256+B256^2 formula based on these 5 colours, would it still work?