edgeai-yolov5
edgeai-yolov5 copied to clipboard
detect.py
Traceback (most recent call last):
File "D:/RunPrograms/edgeai-yolov5-pose/detect.py", line 219, in
having same issue. also, can you add export file to the repository?
same issue.. help me
Traceback (most recent call last): File "D:/RunPrograms/edgeai-yolov5-pose/detect.py", line 219, in detect(opt=opt) File "D:/RunPrograms/edgeai-yolov5-pose/detect.py", line 111, in detect scale_coords(img.shape[2:], det[:, 6:], im0.shape, kpt_label=kpt_label, step=3) File "D:\RunPrograms\edgeai-yolov5-pose\utils\general.py", line 385, in scale_coords coords[:, [0, 2]] -= pad[0] # x padding IndexError: index is out of bounds for dimension with size 0
I thought this might help you âparser.add_argument('--kpt-label', default=True,action='store_true', help='use keypoint labels')â
for det_index, (*xyxy, conf, cls) in enumerate(reversed(det[:,:6])):
The value of 109 rows âreversed(det[:,:6])â makes the index different from the âdetâďźresulting in 119 rowsâkptsâandâxyxyâ not being the same data