toandaominh1997 / EfficientDet.Pytorch

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

train my datasets , IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed #153

Open Wangyy-moya opened 3 years ago

Wangyy-moya commented 3 years ago

File "/home/ubuntu/EfficientDet.Pytorch-master/datasets/augmentation.py", line 113, in call annots[:, :4] *= scale IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed

zhchma51 commented 3 years ago

There are images without labels.