Modifier and Type | Field and Description |
---|---|
protected PathLabelGenerator |
BalancedPathFilter.labelGenerator |
Constructor and Description |
---|
BalancedPathFilter(Random random,
PathLabelGenerator labelGenerator,
long maxPathsPerLabel)
Calls
this(random, null, labelGenerator, 0, 0, 0, maxPathsPerLabel) . |
BalancedPathFilter(Random random,
PathLabelGenerator labelGenerator,
long maxPaths,
long maxLabels,
long maxPathsPerLabel)
Calls
this(random, extensions, labelGenerator, 0, maxLabels, 0, maxPathsPerLabel) . |
BalancedPathFilter(Random random,
String[] extensions,
PathLabelGenerator labelGenerator)
Calls
this(random, extensions, labelGenerator, 0, 0, 0, 0) . |
BalancedPathFilter(Random random,
String[] extensions,
PathLabelGenerator labelGenerator,
long maxPathsPerLabel)
Calls
this(random, extensions, labelGenerator, 0, 0, 0, maxPathsPerLabel) . |
BalancedPathFilter(Random random,
String[] extensions,
PathLabelGenerator labelGenerator,
long maxLabels,
long maxPathsPerLabel)
Calls
this(random, extensions, labelGenerator, 0, maxLabels, 0, maxPathsPerLabel) . |
BalancedPathFilter(Random random,
String[] extensions,
PathLabelGenerator labelGenerator,
long maxPaths,
long maxLabels,
long minPathsPerLabel,
long maxPathsPerLabel,
String... labels)
Constructs an instance of the PathFilter.
|
Modifier and Type | Class and Description |
---|---|
class |
ParentPathLabelGenerator
Returns as label the base name of the parent file of the path (the directory).
|
class |
PatternPathLabelGenerator
Returns a label derived from the base name of the path.
|
Constructor and Description |
---|
JacksonRecordReader(FieldSelection selection,
org.nd4j.shade.jackson.databind.ObjectMapper mapper,
boolean shuffle,
long rngSeed,
PathLabelGenerator labelGenerator) |
JacksonRecordReader(FieldSelection selection,
org.nd4j.shade.jackson.databind.ObjectMapper mapper,
boolean shuffle,
long rngSeed,
PathLabelGenerator labelGenerator,
int labelPosition) |
Modifier and Type | Field and Description |
---|---|
static PathLabelGenerator |
LFWLoader.LABEL_PATTERN |
Modifier and Type | Method and Description |
---|---|
RecordReader |
LFWLoader.getRecordReader(long batchSize,
long numExamples,
int[] imgDim,
long numLabels,
PathLabelGenerator labelGenerator,
boolean train,
double splitTrainTest,
Random rng) |
RecordReader |
LFWLoader.getRecordReader(long batchSize,
long numExamples,
int[] imgDim,
PathLabelGenerator labelGenerator,
boolean train,
double splitTrainTest,
Random rng) |
RecordReader |
LFWLoader.getRecordReader(long batchSize,
long numExamples,
long[] imgDim,
long numLabels,
PathLabelGenerator labelGenerator,
boolean train,
double splitTrainTest,
Random rng) |
RecordReader |
LFWLoader.getRecordReader(long batchSize,
long numExamples,
long[] imgDim,
PathLabelGenerator labelGenerator,
boolean train,
double splitTrainTest,
Random rng) |
RecordReader |
LFWLoader.getRecordReader(long batchSize,
long numExamples,
PathLabelGenerator labelGenerator,
boolean train,
double splitTrainTest,
Random rng) |
void |
LFWLoader.load(long batchSize,
long numExamples,
long numLabels,
PathLabelGenerator labelGenerator,
double splitTrainTest,
Random rng) |
Modifier and Type | Field and Description |
---|---|
protected PathLabelGenerator |
BaseImageRecordReader.labelGenerator |
Constructor and Description |
---|
BaseImageRecordReader(long height,
long width,
long channels,
boolean nchw_channels_first,
PathLabelGenerator labelGenerator,
PathMultiLabelGenerator labelMultiGenerator,
ImageTransform imageTransform) |
BaseImageRecordReader(long height,
long width,
long channels,
PathLabelGenerator labelGenerator) |
BaseImageRecordReader(long height,
long width,
long channels,
PathLabelGenerator labelGenerator,
ImageTransform imageTransform) |
BaseImageRecordReader(long height,
long width,
long channels,
PathLabelGenerator labelGenerator,
PathMultiLabelGenerator labelMultiGenerator,
ImageTransform imageTransform) |
ImageRecordReader(long height,
long width,
long channels,
boolean nchw_channels_first,
PathLabelGenerator labelGenerator,
ImageTransform imageTransform)
Loads images with given height, width, and channels, appending labels returned by the generator.
|
ImageRecordReader(long height,
long width,
long channels,
PathLabelGenerator labelGenerator)
Loads images with given height, width, and channels, appending labels returned by the generator.
|
ImageRecordReader(long height,
long width,
long channels,
PathLabelGenerator labelGenerator,
ImageTransform imageTransform)
Loads images with given height, width, and channels, appending labels returned by the generator.
|
ImageRecordReader(long height,
long width,
PathLabelGenerator labelGenerator)
Loads images with given height, width, and channels, appending labels returned by the generator
Output format is NCHW (channels first) - [numExamples, channels, height, width]
|
Constructor and Description |
---|
LFWDataSetIterator(int batchSize,
int numExamples,
int[] imgDim,
int numLabels,
boolean useSubset,
PathLabelGenerator labelGenerator,
boolean train,
double splitTrainTest,
ImageTransform imageTransform,
Random rng)
Create LFW data specific iterator
|
LFWDataSetIterator(int batchSize,
int numExamples,
int[] imgDim,
int numLabels,
boolean useSubset,
PathLabelGenerator labelGenerator,
boolean train,
double splitTrainTest,
Random rng)
Loads images with given batchSize, numExamples, imgDim, numLabels, useSubset, train, splitTrainTest & Random returned by the generator.
|
Copyright © 2020. All rights reserved.