In PyTorch 2.6, we changed the default value of the weights_only argument in torch.
问题描述:D:\anaconda\envs\yolov5_mogui\python.exeD:/Instance_Segmentation/yolov5_moguimianju/yolov5-seg-master/train.pytrain:weights=weights\yolov5s-seg.pt,cfg=models/yolov5s-seg.yaml,data=data\dc.yaml,hy