Skip to content

Bug in create panoptic segmentation #177

@nuttyshark

Description

@nuttyshark

L119 @ preparation/createPanopticImgs.py , master

                mask = originalFormat == segmentId
                color = [segmentId % 256, segmentId // 256, segmentId // 256 // 256]
                pan_format[mask] = color

color should be fix to:

color = [segmentId % 256, ( segmentId // 256 ) % 256, segmentId // 256 // 256]

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