toandaominh1997 / EfficientDet.Pytorch

Implementation EfficientDet: Scalable and Efficient Object Detection in PyTorch
MIT License
1.44k stars 305 forks source link

ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all() #58

Open luhairong11 opened 4 years ago

luhairong11 commented 4 years ago

File "/usr/local/lib/python3.7/site-packages/albumentations-0.4.1-py3.7.egg/albumentations/augmentations/bbox_utils.py", line 28, in ensure_data_valid if data.get(data_name) and len(data[data_name][0]) < 5: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

my ambiguous version is 0.4.1 is it not match?

fused-byte commented 4 years ago

I am facing similar issue