Mr_老冷 发表于 2024-9-10 14:19:45

【YOLO】YOLOv8添加新训练集二次训练方法

YOLOv8如果想添加新的训练集进行二次训练,其实代码和第一次训练区别不大

区别在于
首次训练,我们指定的是yolov8s.pt
yolo detect train data=E:\yolotrain\aixin.yaml model=E:\yolotrain\yolov8s.pt epochs=100 imgsz=640 device=0 workers=0
二次训练,我们需要指定上一次训练的best.pt
CPU版
yolo detect train data=E:\yolotrain\aixin.yaml model=E:\yolotrain\best.pt epochs=100 imgsz=640
GPU版
yolo detect train data=E:\yolotrain\aixin.yaml model=E:\yolotrain\best.pt epochs=100 imgsz=640 device=0 workers=0


页: [1]
查看完整版本: 【YOLO】YOLOv8添加新训练集二次训练方法