yolov5训练时候遇到报错AttributeError: 'Namespace' object has no attribute 'label_smoothing'的问题
Traceback (most recent call last):
File "D:\pythonProject2\yolov5-5.0\train.py", line 543, in <module>
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'