Hi @ptrblck!



 ptrblck:

It seems that your evaluation code creates a shape mismatch.
For a multi-label classification the shape of the model output and target should be equal,


Her problem (among other things) is that she calls argmax() to get
a single class label (for the accuracy calculation in the evaluation
code), but it’s a multi-label problem, so she needs a vector of length
nClass binary predictions.
I wasn’t able to explain this clearly.
Best.
K. Frank