License_Plate_Detection_Pytorch icon indicating copy to clipboard operation
License_Plate_Detection_Pytorch copied to clipboard

run time error

Open RyanC1681 opened this issue 5 years ago • 0 comments

Hi, I tested your sample photo work, but it got error with other US license plates. Do I need to retain CNN model or resize the photo? Thanks,

IndexError Traceback (most recent call last) in 13 STN.eval() 14 ---> 15 bbox = bboxes[0, :4] 16 x1, y1, x2, y2 = [int(bbox[j]) for j in range(4)] 17 w = int(x2 - x1 + 1.0)

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

RyanC1681 avatar Dec 21 '19 17:12 RyanC1681