Package org.jetbrains.kotlinx.dl.dataset.handler
Functions
extractCifar10Images
Link copied to clipboard
Loads images from archiveName to heap memory and applies basic normalization preprocessing.
extractCifar10Labels
Link copied to clipboard
fun extractCifar10Labels(pathToLabels: String, numClasses: Int): FloatArray
Content copied to clipboard
Loads labels from pathToLabels csv file to heap memory and converts to Floats.
extractCifar10LabelsAnsSort
Link copied to clipboard
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.
extractFashionImages
Link copied to clipboard
Extracts Fashion Mnist images from archivePath.
extractFashionLabels
Link copied to clipboard
fun extractFashionLabels(archivePath: String, numClasses: Int): Array<FloatArray>
Content copied to clipboard
Extracts Fashion Mnist labels from archivePath with number of classes numClasses.
extractImages
Link copied to clipboard
Extracts (Fashion) Mnist images from archivePath.
extractLabels
Link copied to clipboard
Extracts (Fashion) Mnist labels from archivePath with number of classes numClasses.
Properties
cocoCategories
Link copied to clipboard
cocoCategoriesForSSD
Link copied to clipboard
FASHION_TEST_IMAGES_ARCHIVE
Link copied to clipboard
FASHION_TEST_LABELS_ARCHIVE
Link copied to clipboard
FASHION_TRAIN_IMAGES_ARCHIVE
Link copied to clipboard
FASHION_TRAIN_LABELS_ARCHIVE
Link copied to clipboard
NUMBER_OF_CLASSES
Link copied to clipboard
TEST_IMAGES_ARCHIVE
Link copied to clipboard
TEST_LABELS_ARCHIVE
Link copied to clipboard
TRAIN_IMAGES_ARCHIVE
Link copied to clipboard
TRAIN_LABELS_ARCHIVE
Link copied to clipboard