shyam671 / Mask2Anomaly-Unmasking-Anomalies-in-Road-Scene-Segmentation

[ICCV'23 Oral] Unmasking Anomalies in Road-Scene Segmentation
49 stars 9 forks source link

RGB input format for training but BGR for testing #6

Open pietro-nardelli opened 11 months ago

pietro-nardelli commented 11 months ago

I have noticed that in all your configuration files you are using INPUT.FORMAT: "RGB" while, during inference, the image is read using img = read_image(path, format="BGR") . Since I was assuming that the network is trained on RGB images it would benefit to maintain that format. Is there a format conversion (from RGB to BGR) before using the samples as training input? Or is there a reason to use two different format for training/test purposes?