Modifier and Type | Field and Description |
---|---|
int |
batchSize |
Path |
checkpointPath |
int |
epochs |
List<String> |
gradientParamNames |
List<Float> |
gradientParamValues |
String |
imageFormat |
String |
inputName |
TrainTest.InputType |
inputType |
int |
loggingInterval |
GradientOptimiser |
optimiser |
String |
outputName |
Path |
outputPath |
Path |
protobufPath |
int |
testBatchSize |
Path |
testingPath |
Path |
trainingPath |
Constructor and Description |
---|
TensorflowOptions() |
Modifier and Type | Method and Description |
---|---|
Map<String,Float> |
getGradientParams()
Zips the gradient parameter names and values.
|
String |
getOptionsDescription() |
@Option(charName=102, longName="model-output-path", usage="Path to serialize model to.") public Path outputPath
@Option(charName=117, longName="training-file", usage="Path to the libsvm format training file.") public Path trainingPath
@Option(charName=118, longName="testing-file", usage="Path to the libsvm format testing file.") public Path testingPath
@Option(charName=108, longName="output-name", usage="Name of the output operation.") public String outputName
@Option(longName="optimizer-param-names", usage="Gradient optimizer param names, see org.tribuo.interop.tensorflow.GradientOptimiser.") public List<String> gradientParamNames
@Option(longName="optimizer-param-values", usage="Gradient optimizer param values, see org.tribuo.interop.tensorflow.GradientOptimiser.") public List<Float> gradientParamValues
@Option(charName=103, longName="gradient-optimizer", usage="The gradient optimizer to use.") public GradientOptimiser optimiser
@Option(longName="test-batch-size", usage="Test time minibatch size.") public int testBatchSize
@Option(charName=98, longName="batch-size", usage="Minibatch size.") public int batchSize
@Option(charName=101, longName="num-epochs", usage="Number of gradient descent epochs.") public int epochs
@Option(longName="logging-interval", usage="Interval between logging the loss.") public int loggingInterval
@Option(charName=110, longName="input-name", usage="Name of the input placeholder.") public String inputName
@Option(longName="image-format", usage="Image format, in [W,H,C]. Defaults to MNIST.") public String imageFormat
@Option(charName=116, longName="input-type", usage="Input type.") public TrainTest.InputType inputType
@Option(charName=109, longName="model-protobuf", usage="Path to the protobuf containing the network description.") public Path protobufPath
@Option(charName=112, longName="checkpoint-dir", usage="Path to the checkpoint base directory.") public Path checkpointPath
public String getOptionsDescription()
getOptionsDescription
in interface com.oracle.labs.mlrg.olcut.config.Options
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.