Closed mfaramarzi closed 3 years ago
The mask is mostly useful to do a more accurate evaluation, we want to focus our evaluation metric on the central region of the image (where the vessels are) and ignore the corners that are all black.
, we want to focus our evaluation metric on the central region of the image (where the vessels are) and ignore the corners that are all black.
Thanks for prompt response. I understand, but actually my question is something else.
Hello Youness,@CVxTz
Why don't we use mask when we are training (e.g. in baseline_aug.py)
train_data = list(zip(sorted(glob('../input/DRIVE/training/images/*.tif')), sorted(glob('../input/DRIVE/training/1st_manual/*.gif'))))
and why do we use annotations when are predicting?(e.g. in baseline_aug_predict.py)
val_data = list(zip(sorted(glob('../input/DRIVE/test/images/*.tif')), sorted(glob('../input/DRIVE/test/2nd_manual/*.gif')), sorted(glob('../input/DRIVE/test/mask/*.gif'))))