albumentations_examples icon indicating copy to clipboard operation
albumentations_examples copied to clipboard

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

Open zzeitt opened this issue 3 years ago • 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(

zzeitt avatar Oct 13 '21 17:10 zzeitt