public class ImageRecordReader extends BaseImageRecordReader
appendLabel, channels, CHANNELS, conf, CROP_IMAGE, cropImage, currentFile, fileNameMap, height, HEIGHT, hitImage, IMAGE_LOADER, imageLoader, inputSplit, iter, labels, pattern, patternPosition, record, width, WIDTH| Constructor and Description |
|---|
ImageRecordReader() |
ImageRecordReader(int height,
int width) |
ImageRecordReader(int height,
int width,
boolean appendLabel) |
ImageRecordReader(int height,
int width,
boolean appendLabel,
List<String> labels) |
ImageRecordReader(int height,
int width,
int channels) |
ImageRecordReader(int height,
int width,
int channels,
boolean appendLabel) |
ImageRecordReader(int height,
int width,
int channels,
boolean appendLabel,
List<String> labels) |
ImageRecordReader(int height,
int width,
int channels,
boolean appendLabel,
String pattern) |
ImageRecordReader(int height,
int width,
int channels,
List<String> labels) |
ImageRecordReader(int height,
int width,
List<String> labels) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel(String path)
Get the label from the given path
|
accumulateLabel, close, containsFormat, getConf, getCurrentFile, getLabels, hasNext, initialize, initialize, next, numLabels, record, reset, setConf, setCurrentFilepublic ImageRecordReader()
public ImageRecordReader(int height,
int width,
int channels,
List<String> labels)
public ImageRecordReader(int height,
int width,
int channels,
boolean appendLabel,
List<String> labels)
public ImageRecordReader(int height,
int width,
int channels)
public ImageRecordReader(int height,
int width,
int channels,
boolean appendLabel)
public ImageRecordReader(int height,
int width,
boolean appendLabel,
List<String> labels)
public ImageRecordReader(int height,
int width)
public ImageRecordReader(int height,
int width,
boolean appendLabel)
public ImageRecordReader(int height,
int width,
int channels,
boolean appendLabel,
String pattern)
public String getLabel(String path)
BaseImageRecordReadergetLabel in class BaseImageRecordReaderpath - the path to get the label fromCopyright © 2016. All rights reserved.