I have a dataset which consists of 5 classes, but the images in the dataset vary in the number of classes appearing in it. For example, one image has all 5 classes and anoth