lvis-api
lvis-api copied to clipboard
Length of defined colormap is not match with number of categories
Hi @agrimgupta92 ,
As my understanding, the LVIS has more than 1200 categories and each category will have a colormap for visualization. However, I checked the result of the below method is only ~80 colormaps have been defined.
def get_color(self, idx):
color_list = colormap(rgb=True) / 255
return color_list[idx % len(color_list), 0:3]
So, is there something wrong here? Thanks