Skip to content

Problem when reading SYNTHIA labels #36

@mimiliaogo

Description

@mimiliaogo

label = np.array(Image.open(datafiles["label"]))

If you use this method to read SYNTHIA ground truth label, the output will be wrong.
And this should work
label = np.asarray(imageio.imread(datafiles["label"], format='PNG-FI'))[:,:,0]

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