File size: 216 Bytes
291fa50 |
1 2 3 4 5 6 7 |
from ultralytics import YOLO
# Load a model
model = YOLO('best.pt') # load a pretrained model (recommended for training)
# Train the model
results = model.train(data='./classify1', epochs=100, imgsz=640,batch=128) |