ImportError: cannot import name ‘crop‘ from ‘albumentations.augmentations‘

ImportError: cannot import name ‘crop’ from ‘albumentations.augmentations’

解决方法
pip install albumentations==1.1.0

如果之前涉及到安装apex
git clone https://github.com/NVIDIA/apex
cd apex
python3 setup.py install

你可能感兴趣的:(python)