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

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`