COCOData.batch_to_labels#

COCOData.batch_to_labels(batch) Union[List[Tensor], Tensor][source]#

Convert the batch to a list of labels.