Hi @KFrank,
Thank you fo analysis. However I wonder how you calculated this:

Looking at your target, and naively assuming that all positive
class labels appear about equally frequently, it appear that any
giving class will be labelled positive only once in about every
nine images.

The target that I have here is only for one image, meaning that some classes are present for only one image!