I did a little bit of investigating and I believe that the problem occurs when the number of classes in the validation set is greater than the number of classes in the training set.
I did a little bit of investigating and I believe that the problem occurs when the number of classes in the validation set is greater than the number of classes in the training set.