Hey All,
My data block specification is as below:
dblock = DataBlock(blocks=(ImageBlock, MaskBlock(codes)),
get_items=get_image_files,
get_y = get_mask,
item_tfms=Resize(448),
batch_tfms=[*aug_transforms(size=224, min_scale=0.75), Normalize.from_stats(*severstal_stats)]
)dls = dblock.dataloaders(path/‘train_images’,batch_size=4)
The aug_transforms are applied to images but not masks. See the output below:
Fastai v1 used to have something like tfm_y=True flag. How to do this in Fastai v2?
Appreciate any help.
Thanks
Bilal