sc2bench.transforms.collator

Functions

cat_list(images[, fill_value])

Concatenates a list of images with the max size for each of heights and widths and fills empty spaces with a specified value.

pascal_seg_collate_fn(batch)

Collates input data for PASCAL VOC 2012 segmentation.

pascal_seg_eval_collate_fn(batch)

Collates input data for PASCAL VOC 2012 segmentation in evaluation