Can't Plot_confusion_matrix in SIIM Dataset

Hi.
I am beginner in python i got a problem i try to plot confusion matrix in pneumothorax dataset
I train with unet_learner and here is a error

I don’t know how to solve it

you are using an object called ClassificationInterpretation in a segmentation task. As the name indicates, ClassificationInterpretation works for classification problems only :wink:

Thank for your reply @sgugger
can you give an example that plot confusion matrix in segmentation task

There is none in fastai. I’m not entirely sure what this means for segmentation.