edgeai-yolov5 icon indicating copy to clipboard operation
edgeai-yolov5 copied to clipboard

detect.py TypeError: 'int' object is not subscriptable

Open GreenTeaHua opened this issue 1 year ago • 0 comments

❔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

?

GreenTeaHua avatar Mar 09 '23 10:03 GreenTeaHua