Ultralytics YOLO with Additional Knowledge Distillation Capability
Ultralytics YOLO with Additional Knowledge Distillation Capability
Example:
pip install -r requirements.txtfrom ultralytics import YOLO
teacher_model = YOLO("")
student_model = YOLO("yolo11n.pt)
student_model.train(
data="",
teacher=teacher_model.model, # None if you don't wanna use knowledge distillation
distillation_loss="cwd",
epochs=100,
batch=16,
workers=0,
exist_ok=True,
)@software{Jocher_Ultralytics_YOLO_2023,
author = {Jocher, Glenn and Qiu, Jing and Chaurasia, Ayush},
license = {AGPL-3.0},
month = jan,
title = {{Ultralytics YOLO}},
url = {https://github.com/ultralytics/ultralytics},
version = {8.0.0},
year = {2023}
}No open issues yet, or sync has not completed.