Skip to content

NormInfo should not be reshaped to C W H

In https://gitlab.orfeo-toolbox.org/releo/releo_mvp/-/blob/develop/src/releo_mvp/data/normalization.py?ref_type=heads#L109 the NormInfo tensors are reshaped (with repeat) to match the sample witdh and height. However, the normalization tensors should have only one dimension as defined here https://gitlab.orfeo-toolbox.org/releo/releo_mvp/-/blob/develop/src/releo_mvp/data/data_model.py?ref_type=heads#L101.

Why is this reshape performed?