具体报错信息
YOLO Model: yolov8n.pt Debug Mode: ON Loading YOLO model: yolov8n.pt YOLO model loading failed: PytorchStreamReader failed reading zip archive: failed finding central directory YOLO Detector Creation Failed: PytorchStreamReader failed reading zip archive: failed finding central directory解决办法
查看yolov8n.pt大小是否正确,比如当前只有300kb,而正确的是6M左右,所以重新下载解决