yolov5训练时--AssertionError: data.yaml 'names:' field missing

AssertionError: data.yaml 'names:' field missing

执行:D:\anaconda_install\envs\pytorch\python.exe D:/tt/yolov5-master/train.py --weights yolov5s.pt --data  data/box_seal.yaml --workers 1 --batch-size 8

确保box_seal.yaml的names填写正确

image

 

posted @ 2025-09-11 22:40  txwtech  阅读(14)  评论(0)    收藏  举报