albumentations
albumentations copied to clipboard
module 'albumentations' has no attribute 'Compose
on windows
pip install albumentations
I run this code
import cv2
transform = A.Compose([
A.RandomCrop(width=256, height=256),
A.HorizontalFlip(p=0.5),
A.RandomBrightnessContrast(p=0.2),
])
result is module 'albumentations' has no attribute 'Compose
What version of the library are you using?
What shows print(A.__version__)
?
What version of the library are you using? What shows
print(A.__version__)
?
It shows 1.3.0 version for me
It looks strange. Try to trace imports by calling your test script like this:
python -v -m test.py