src/chug/image/build_transforms_doc.py [53:60]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        input_cfg: ImageInputCfg,
        is_training: bool = False,
        do_normalize: bool = True,
        aug_cfg: Optional[ImageAugCfg] = None,
        composed: bool = True,
):
    # an improved torchvision + custom op transforms (no albumentations)
    image_size = input_cfg.size
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/chug/image/build_transforms_doc.py [178:188]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        input_cfg: ImageInputCfg,
        is_training: bool = False,
        do_normalize: bool = True,
        aug_cfg: Optional[ImageAugCfg] = None,
        composed: bool = True,
):
    import albumentations as alb
    from chug.image.transforms_alb import BitmapAlb, ErosionAlb, DilationAlb, AlbWrapper, CropMarginCv2

    # albumentations + custom opencv transforms from nougat
    image_size = input_cfg.size
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



