I’m trying to evaluate the performance of an unsupervised detection model based on the list of masks and the list of scores:
fpr, tpr, _ = roc_curve(mask_list, y_score)
per_pixel_rocauc = roc_auc_score(mask_list, y_score)
total_pixel_roc_auc.append(per_pixel_rocauc)
print('%s pixel ROCAUC: %.3f' % ('ROC', per_pixel_rocauc))
fig_pixel_rocauc.plot(fpr, tpr, label='%s ROCAUC: %.3f' % ('ROC', per_pixel_rocauc))

but I git the below errors:
ValueError: unknown format is not supported

How can I solve that?