Traceback (most recent call last):
File "D:/A learning/CODE/YOLO V5/yolov5-5.0/train.py", line 544, in <module>
train(hyp, opt, device, tb_writer)
File "D:/A learning/CODE/YOLO V5/yolov5-5.0/train.py", line 386, in train
fi = fitness(np.array(results).reshape(1, -1)) # weighted combination of [P, R, mAP@.5, mAP@.5-.95]
TypeError: fitness() takes 0 positional arguments but 1 was given
解决了吗,没解决我帮你试试