edgeai-yolov5
edgeai-yolov5 copied to clipboard
detect.py TypeError: 'int' object is not subscriptable
❔Question
python .\detect.py --weights last.pt --source 0 --kpt-label edgeai-yolov5-yolo-pose\detect.py", line 65, in detect model(torch.zeros(1, 3, imgsz[0], imgsz[0]).to(device).type_as(next(model.parameters()))) # run once TypeError: 'int' object is not subscriptable
Additional context
?