1 | yolo detect train data=E:\yolotrain\aixin.yaml model=E:\yolotrain\yolov8s.pt epochs=100 imgsz=640 device=0 workers=0 |
预测detect
win必须加workers=0,不然报错内存不足
1 | yolo detect val data=E:\yolotrain\aixin.yaml model=E:\yolotrain\runs\detect\train\weights\best.pt workers=0 |
导出ncnn
1 | yolo export model=E:\yolotrain\runs\detect\train\weights\best.pt format =ncnn |