赞
踩
https://github.com/Sharpiless/Yolov5-distillation-train-inference
python train_distill.py --weights yolov5s.pt \
--teacher weights/yolov5l_voc.pt --distill_ratio 0.001 \
-- teacher-cfg model/yolov5l.yaml --data data/voc.yaml \
--epochs 30 --batch-size 16
–weights:预训练模型
–teacher:教师模型权重
–distill-ratio:蒸馏损失权重
数据集&#x
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。