public class ImageNameRecordReader 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 |
|---|
ImageNameRecordReader() |
ImageNameRecordReader(int height,
int width) |
ImageNameRecordReader(int height,
int width,
boolean appendLabel) |
ImageNameRecordReader(int height,
int width,
boolean appendLabel,
List<String> labels) |
ImageNameRecordReader(int height,
int width,
int channels) |
ImageNameRecordReader(int height,
int width,
int channels,
boolean appendLabel) |
ImageNameRecordReader(int height,
int width,
int channels,
boolean appendLabel,
List<String> labels) |
ImageNameRecordReader(int height,
int width,
int channels,
List<String> labels) |
ImageNameRecordReader(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 ImageNameRecordReader()
public ImageNameRecordReader(int height,
int width,
int channels,
List<String> labels)
public ImageNameRecordReader(int height,
int width,
int channels,
boolean appendLabel,
List<String> labels)
public ImageNameRecordReader(int height,
int width,
int channels)
public ImageNameRecordReader(int height,
int width,
int channels,
boolean appendLabel)
public ImageNameRecordReader(int height,
int width,
boolean appendLabel,
List<String> labels)
public ImageNameRecordReader(int height,
int width)
public ImageNameRecordReader(int height,
int width,
boolean appendLabel)
public String getLabel(String path)
BaseImageRecordReadergetLabel in class BaseImageRecordReaderpath - the path to get the label fromCopyright © 2016. All rights reserved.