there should be a conversion to uint8, because I get:
FutureWarning: Input image dtype is bool. Interpolation is not defined with bool data type. Please set order to 0 or explicitely cast input image to another data type. Starting from version 0.19 a ValueError will be raised instead of this warning.
IMO in https://github.com/ocr-d-modul-2-segmentierung/page-segmentation/blob/e60677447d7ebe58c49ddb2e8a5ac242574d7c53/ocr4all_pixel_classifier/lib/dataset.py#L115
there should be a conversion to uint8, because I get: