@property
def img_categories(self):
    'Categories present in each image of the dataset'
    return [img_desc['cat'] for img_desc in self._images]
Categories present in each image of the dataset
@property
def img_categories(self):
    
    return [img_desc['cat'] for img_desc in self._images]