extractCifar10LabelsAnsSort
fun extractCifar10LabelsAnsSort(pathToLabels: String, numClasses: Int): FloatArray
Content copied to clipboard
Loads labels from pathToLabels csv file to heap memory and converts to Floats, after that it sorts it to have the same order as image files.
NOTE: It's important if you are going to use it with org.jetbrains.kotlinx.dl.dataset.OnFlyImageDataset.