ImageDeserializer: ImageDeserializer

Description Usage Arguments Details

Description

Configures the image reader that reads images and corresponding labels from a file.

Usage

1
ImageDeserializer(filename, streams)

Arguments

filename

(str) file name of the input data file

streams

any dictionary-like object that contains a mapping from stream names to StreamDef objects. Each StreamDef object configures a label stream.

Details

Form: '<full path to image> <tab> <numerical label (0-based class id)>' or 'sequenceId <tab> path <tab> label'


Microsoft/CNTK-R documentation built on May 28, 2019, 1:52 p.m.