You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While it seems like this line adds 4 predictions (the original + 3 flipped), in reality it is indeed adding only 2 predictions. The max value of the soft prediction is 2 (see the picture below)
incorrect max value
I corrected this line locally using -add only once and the images to add in a list:
This error should not have affected an immediate results as these predictions were binarized here. However, these soft preds cannot be used for re-training the contrast-agnostic model with STIR/PSIR contrasts.
The text was updated successfully, but these errors were encountered:
I was going through contrast-agnostic soft predictions on PSIR/STIR images along with @valosekj and found an issue with this line:
https://github.com/ivadomed/canproco/blob/7316f4cff9bac0c72f2db0582b091b2b319e32ac/segment_sc_contrast-agnostic/01_segment_sc_contrast-agnostic.sh#L181C12-L181C12
While it seems like this line adds 4 predictions (the original + 3 flipped), in reality it is indeed adding only 2 predictions. The max value of the soft prediction is 2 (see the picture below)
incorrect max value
I corrected this line locally using
-add
only once and the images to add in a list:and got the following result:
correct max value
This error should not have affected an immediate results as these predictions were binarized here. However, these soft preds cannot be used for re-training the contrast-agnostic model with STIR/PSIR contrasts.
The text was updated successfully, but these errors were encountered: