We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError Traceback (most recent call last) in <cell line: 5>() 3 image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB) 4 ----> 5 resized_image = F.resize(image, height=256, width=256) 6 padded_image = F.pad(image, min_height=512, min_width=512) 7 padded_constant_image = F.pad(image, min_height=512, min_width=512, border_mode=cv2.BORDER_CONSTANT)
AttributeError: module 'albumentations.augmentations.functional' has no attribute 'resize'
The text was updated successfully, but these errors were encountered:
What is the source of this code, i.e. what notebook?
Sorry, something went wrong.
this worked for me: from albumentations.augmentations.geometric import functional as F
from albumentations.augmentations.geometric import functional as F
I'm using albumentations version 1.3.1
No branches or pull requests
AttributeError Traceback (most recent call last)
in <cell line: 5>()
3 image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
4
----> 5 resized_image = F.resize(image, height=256, width=256)
6 padded_image = F.pad(image, min_height=512, min_width=512)
7 padded_constant_image = F.pad(image, min_height=512, min_width=512, border_mode=cv2.BORDER_CONSTANT)
AttributeError: module 'albumentations.augmentations.functional' has no attribute 'resize'
The text was updated successfully, but these errors were encountered: