Skip to content

Data type error in UNet_Segmentation.py #3

@Shailendra-IISc

Description

@Shailendra-IISc

Hello sir,

I am getting a data type error while using UNet_Segmentation.py.

In line number 258:
weights = (y_true *( weighting - 1)) + 1
TypeError: Expected uint8 passed to parameter 'y' of op 'Mul', got float instead.

Regards,
Shailendra

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