python代码报错:ValueError: multiclass format is not supported(已解决)
ValueError:multiclassformatisnotsupported找到报错位置:defcompute_auc(pred,label):ifisinstance(pred,torch.Tensor):pred=pred.cpu().detach().numpy().flatten()ifisinstance(label,torch.Tensor):label=label.cpu().