Skip to content

Length of defined colormap is not match with number of categories #6

@dgks0n

Description

@dgks0n

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions