Traceback (most recent call last):
File "D:\pythonProject2\yolov5-5.0\train.py", line 543, in
train(hyp, opt, device, tb_writer)
File "D:\pythonProject2\yolov5-5.0\train.py", line 229, in train
hyp['label_smoothing'] = opt.label_smoothing
AttributeError: 'Namespace' object has no attribute 'label_smoothing'
opt 里面没有定义 'label_smoothing' 这个属性吧,可以顺着代码返回看看, opt.label_smoothing 是怎么定义和赋值的