SamsungLabs / ritm_interactive_segmentation

Reviving Iterative Training with Mask Guidance for Interactive Segmentation
MIT License
634 stars 125 forks source link

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

Open ermu2001 opened 2 years ago

ermu2001 commented 2 years ago

I've met this problem when trying to train the model. AttributeError: module 'albumentations.augmentations.functional' has no attribute 'resize' my albumentations's version is 1.2.1 image I‘ve actually check the functional.py in albumentations, there is no resize function....T.T what can I do to solce this ? QAQ

zxiaoran commented 2 years ago

just import albumentations as F