Description:
Similarly to #6, if an inference-time input image contains a number of channels that does not match the size of any 1D array in the 'FLAME_Dataset' json, current behavior lead to an error and a crash. Need to decide how to handle such a mismatch in the future.
Options:
- Logger mismatch as warning, skip for inference
- Min-max-scale using percentiles calculated from the pixel distribution of the singular image
- Allow the user to override the percentile values for min-max scaling
- Aggregate available percentile information in 'FLAME_Dataset' json into a single min and max percentile for normalization. An example could be the median of available channel statistics being applied to every channel in the input image with a mismatched number of channels.