Skip to content

LVIS-92i Train Code issue (?) #38

Open
@paolopertino

Description

@paolopertino

Hello,
I think there is an issue on LVIS-92i dataloader when it is used in train mode. Specifically at line 71 train_cat_ids = list(train_anno.keys()) there is no check if the categories have at least nshot samples (this is instead done in case of validation).

Proposed fix:

train_cat_ids = [i for i in list(train_anno.keys()) if len(train_anno[i]) > self.shot]

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