Skip to content

Bug on DATA_CHANNELS Ordering #169

Description

@NovaBro

In the documentation for instance segmentation, it states that:
"
In practice, PROBLEM.INSTANCE_SEG.DATA_CHANNELS is a list (or sequence) of these channel codes (e.g. ['F', 'C', 'Db'] or ['F', 'C', 'H', 'V']). The order of the codes defines the order of the output channels of the network.
"
https://biapy.readthedocs.io/en/latest/workflows/instance_segmentation.html

In my YAML configuration, I had set it to :
DATA_CHANNELS: ['F', 'P', 'Dc', 'Dn']

But in the generated labels folder, I get
fisbe/biapy-channel-scale/train/label_F.erosion-0.dilation-0_Dc.type-centroid.norm-True.mask_values-True_Dn.closing_size-3.norm-True.mask_values-True.decline_power-3_P.type-skeleton.dilation-2.erosion-0
Which has channel ordering F, Dc, Dn, P

This caused some confusion, when viewing the labels generated, which I believe is in the ordering F, Dc, Dn, P.
Rather than the order I set in my YAML ['F', 'P', 'Dc', 'Dn'].

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