YOLOv3_TensorFlow icon indicating copy to clipboard operation
YOLOv3_TensorFlow copied to clipboard

IndexError: index 53 is out of bounds for axis 0 with size 52

Open UsernameIsName-bot opened this issue 5 years ago • 4 comments

I checked through my train.txt and every line has a label. In addition, i also added extra blanks at the bottom of data.names file. I used the parse_voc_xml.py to generate the numbers so im confident that the format is correct. Is there a way to see which line is causing the issue? I tried to set batch size to 1 , but i cannot seem to find the problematic image based on global step.

UsernameIsName-bot avatar Dec 20 '19 20:12 UsernameIsName-bot

Maybe the label is out of the image's width or height.

aluds123 avatar Dec 29 '19 05:12 aluds123

I want to use yolov3 to predict the number of real-time person from the rtsp stream with suited interval,anyone has the right python file?

bujianyiwang avatar Jan 16 '20 06:01 bujianyiwang

May the center of bbox > image's width or height. I got the same problem while the center of bbox on the boundary of image.

Ruanlt avatar Mar 14 '20 01:03 Ruanlt

In my case, problem was in augmentation self.random_translate(np.copy(image), np.copy(bboxes))

haimin777 avatar Nov 15 '21 08:11 haimin777