我正在尝试导入python包,但是有导入错误。
from albumentations.augmentations.transforms import Crop
显示误差
cannot import name 'Crop'
有人知道为什么吗?
发布于 2022-09-28 17:37:18
我在调整尺寸方面也有同样的问题。试试这个(来源):
pip install --upgrade albumentationspip install git+https://github.com/albumentations-team/albumentations.git但它帮不了我=(我用了next:
import albumentations as A
resized_image = A.Resize( height, weight)(image=image) ['image']https://stackoverflow.com/questions/72654037
复制相似问题