预测函数:
from ultralytics import YOLO # Load a modelmodel = YOLO('yolov8n.pt')# Train the modelmodel.train(data=r'D:\yolov8\ultralytics-main\data1.yaml', workers=0, epochs=100, batch=16)
可选参数:
京公网安备 11010502049817号