ssd.pytorch icon indicating copy to clipboard operation
ssd.pytorch copied to clipboard

IndexError: too many indices for array

Open mama110 opened this issue 6 years ago • 15 comments

File "/home/kun/Software/ssd-pytorch-master/data/voc0712.py", line 145, in pull_item img, boxes, labels = self.transform(img, target[:, :4], target[:, 4]) IndexError: too many indices for array

I want to train voc dataset, but after i modify the path and run train.py, the error shows up. Please help me . Thank you .

mama110 avatar Aug 21 '18 06:08 mama110