Init
- biapy.data.post_processing.apply_post_processing(cfg, data, Y=None)[source]
Create training and validation generators.
- Parameters:
cfg (YACS CN object) – Configuration.
data (4D Numpy array) – Data to apply post_proccessing. E.g.
(num_of_images, y, x, channels)
.Y (4D Numpy array, optional) – Data GT to calculate the metrics. E.g.
(num_of_images, y, x, channels)
.
- Returns:
iou_post (float) – Foreground IoU of
data
compared withY
after post-processing.ov_iou_post (float) – Overall IoU of
data
compared withY
after post-processing.