Skip to content

Inconsistency of normalization between training and inference  #29

@TibbersHao

Description

@TibbersHao

For the current state of normalization function in utils.py, input could either be a single frame array or stacked array if multiple masks are provided. When more than one mask is provided, normalization step in training will take the percentile based on all pixel values across frames to perform min-max normalization, while for inference step only one image is passed in each time, so the normalization base is different. This needs to be corrected either by modifying the normalization function itself, or in the training script to make it consistent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions