albumentations-team/albumentations_examples

Typo of "full_sized_mask = F.resize(..." cause AttributeError

Opened this issue · 0 comments

Running pytorch_semantic_segmentation.ipynb confronts a bug:

AttributeError: module 'albumentations.augmentations.functional' has no attribute 'resize'

Fix:

In [28]: full_sized_mask = F.resize(

to

In [28]: full_sized_mask = A.resize(