Skip to content

about code recurrence bug #2

@menghuaa

Description

@menghuaa

self.class_idxs = [class_idx for class_idx in class_idxs if self.img_paths[class_idx].split('_')[0] in buildings]

Hi, in this line,the length of self.img_paths is 35, but the maximum of class_idxs is 381915, error 'IndexError: list index out of range' will be reported during code operation. Is there any error in your code logic?
Here is my data structure. Could you see if it is correct?
image
image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions