Get desktop application:
View/edit binary Protocol Buffers messages
Message that stores parameters used by AccuracyLayer
Used in:
When computing accuracy, count as correct by comparing the true label to the top k scoring classes. By default, only compare to the top scoring class (i.e. argmax).
Message that stores parameters used by ArgMaxLayer
Used in:
If true produce pairs (argmax, maxval)
Used in:
, , ,The BlobProtoVector is simply a way to pass multiple blobproto instances around.
Message that stores parameters used by ConcatLayer
Used in:
Concat Layer needs to specify the dimension along the concat will happen, the other dimensions must be the same for all the bottom blobs By default it will concatenate blobs along channels dimension
Message that stores parameters used by ContrastiveLossLayer
Used in:
margin for dissimilar pair
Message that stores parameters used by ConvolutionLayer
Used in:
The number of outputs for the layer
whether to have bias terms
Pad, kernel size, and stride are all given as a single value for equal dimensions in height and width or as Y, X pairs.
The padding size (equal in Y, X)
The padding height
The padding width
The kernel size (square)
The kernel height
The kernel width
The group size for group conv
The stride (equal in Y, X)
The stride height
The stride width
The filler for the weight
The filler for the bias
Used in:
Message that stores parameters used by DataLayer
Used in:
Specify the data source.
Specify the batch size.
The rand_skip variable is for the data layer to skip a few data points to avoid all asynchronous sgd clients to start at the same point. The skip point would be set as rand_skip * rand(0,1). Note that rand_skip should not be larger than the number of keys in the leveldb.
DEPRECATED. See TransformationParameter. For data pre-processing, we can do simple scaling and subtracting the data mean, if provided. Note that the mean subtraction is always carried out before scaling.
DEPRECATED. See TransformationParameter. Specify if we would like to randomly crop an image.
DEPRECATED. See TransformationParameter. Specify if we want to randomly mirror data.
Used in:
the actual image data, in bytes
Optionally, the datum could also hold float data.
Message that stores parameters used by DropoutLayer
Used in:
dropout ratio
Message that stores parameters used by DummyDataLayer. DummyDataLayer fills any number of arbitrarily shaped blobs with random (or constant) data generated by "Fillers" (see "message FillerParameter").
Used in:
This layer produces N >= 1 top blobs. DummyDataParameter must specify 1 or N num, N channels, N height, and N width fields, and must specify 0, 1 or N data_fillers. If 0 data_fillers are specified, ConstantFiller with a value of 0 is used. If 1 data_filler is specified, it is applied to all top blobs. If N are specified, the ith is applied to the ith top blob.
Message that stores parameters used by EltwiseLayer
Used in:
element-wise operation
blob-wise coefficient for SUM operation
Whether to use an asymptotically slower (for >2 inputs) but stabler method of computing the gradient for the PROD operation. (No effect for SUM op.)
Used in:
Used in:
, , ,The filler type.
the value in constant filler
the min value in uniform filler
the max value in uniform filler
the mean value in Gaussian filler
the std value in Gaussian filler
The expected number of non-zero input weights for a given output in Gaussian filler -- the default -1 means don't perform sparsification.
Message that stores parameters used by HDF5DataLayer
Used in:
Specify the data source.
Specify the batch size.
Message that stores parameters used by HDF5OutputLayer
Used in:
,Used in:
Specify the Norm to use L1 or L2
Used in:
Message that stores parameters used by ImageDataLayer
Used in:
Specify the data source.
Specify the batch size.
The rand_skip variable is for the data layer to skip a few data points to avoid all asynchronous sgd clients to start at the same point. The skip point would be set as rand_skip * rand(0,1). Note that rand_skip should not be larger than the number of keys in the leveldb.
Whether or not ImageLayer should shuffle the list of files at every epoch.
It will also resize images if new_height or new_width are not zero.
DEPRECATED. See TransformationParameter. For data pre-processing, we can do simple scaling and subtracting the data mean, if provided. Note that the mean subtraction is always carried out before scaling.
DEPRECATED. See TransformationParameter. Specify if we would like to randomly crop an image.
DEPRECATED. See TransformationParameter. Specify if we want to randomly mirror data.
Message that stores parameters InfogainLossLayer
Used in:
Specify the infogain matrix source.
Message that stores parameters used by InnerProductLayer
Used in:
The number of outputs for the layer
whether to have bias terms
The filler for the weight
The filler for the bias
Message that stores parameters used by LRNLayer
Used in:
Used in:
NOTE Update the next available ID when you add a new LayerParameter field. LayerParameter next available ID: 41 (last added: contrastive_loss_param)
Used in:
,the name of the bottom blobs
the name of the top blobs
the layer name
Rules controlling whether and when a layer is included in the network, based on the current NetState. You may specify a non-zero number of rules to include OR exclude, but not both. If no include or exclude rules are specified, the layer is always included. If the current NetState meets ANY (i.e., one or more) of the specified rules, the layer is included/excluded.
the layer type from the enum above
The blobs containing the numeric parameters of the layer
The names of the parameter blobs -- useful for sharing parameters among layers (but never required).
Whether to require shared weights to have the same shape, or just the same count -- defaults to STRICT if unspecified.
The ratio that is multiplied on the global learning rate. If you want to set the learning ratio for one blob, you need to set it for all blobs.
The weight decay that is multiplied on the global weight decay.
The amount of weight to assign each top blob in the objective. Each layer assigns a default value, usually of either 0 or 1, to each top blob.
Parameters for data pre-processing.
DEPRECATED: The layer parameters specified as a V0LayerParameter. This should never be used by any code except to upgrade to the new LayerParameter specification.
Used in:
STRICT (default) requires that num, channels, height, width each match.
PERMISSIVE requires only the count (num*channels*height*width) to match.
NOTE Add new LayerTypes to the enum below in lexicographical order (other than starting with NONE), starting with the next available ID in the comment line above the enum. Update the next available ID when you add a new LayerType. LayerType next available ID: 38 (last added: CONTRASTIVE_LOSS)
Used in:
"NONE" layer type is 0th enum element so that we don't cause confusion by defaulting to an existent LayerType (instead, should usually error if the type is unspecified).
Message that stores parameters used by MVNLayer
Used in:
This parameter can be set to false to normalize mean only
This parameter can be set to true to perform DNN-like MVN
Message that stores parameters used by MemoryDataLayer
Used in:
Used in:
consider giving the network a name
a bunch of layers.
The input blobs to the network.
The dim of the input blobs. For each input blob there should be four values specifying the num, channels, height and width of the input blob. Thus, there should be a total of (4 * #input) numbers.
Whether the network will force every layer to carry out backward operation. If set False, then whether to carry out backward is determined automatically according to the net structure and learning rates.
The current "state" of the network, including the phase, level, and stage. Some layers may be included/excluded depending on this state and the states specified in the layers' include and exclude fields.
A near-duplicate of NetParameter with fields re-numbered to beautify automatic prototext dumps. The main practical purpose is to print inputs before layers, because having inputs at the end looks weird. NetParameterPrettyPrint should never be used in code except for conversion FROM NetParameter and subsequent dumping to proto text file.
Used in:
,Used in:
Set phase to require the NetState have a particular phase (TRAIN or TEST) to meet this rule.
Set the minimum and/or maximum levels in which the layer should be used. Leave undefined to meet the rule regardless of level.
Customizable sets of stages to include or exclude. The net must have ALL of the specified stages and NONE of the specified "not_stage"s to meet the rule. (Use multiple NetStateRules to specify conjunctions of stages.)
Used in:
,Message that stores parameters used by PoolingLayer
Used in:
The pooling method
Pad, kernel size, and stride are all given as a single value for equal dimensions in height and width or as Y, X pairs.
The padding size (equal in Y, X)
The padding height
The padding width
The kernel size (square)
The kernel height
The kernel width
The stride (equal in Y, X)
The stride height
The stride width
Used in:
Used in:
Message that stores parameters used by PowerLayer
Used in:
PowerLayer computes outputs y = (shift + scale * x) ^ power.
Message that stores parameters used by ReLULayer
Used in:
Allow non-zero slope for negative inputs to speed up optimization Described in: Maas, A. L., Hannun, A. Y., & Ng, A. Y. (2013). Rectifier nonlinearities improve neural network acoustic models. In ICML Workshop on Deep Learning for Audio, Speech, and Language Processing.
Used in:
Message that stores parameters used by SigmoidLayer
Used in:
Used in:
Message that stores parameters used by SliceLayer
Used in:
SliceLayer needs to know which dimension to slice across. Currently, SliceLayer only supports slicing across num (dim 0) and channels (dim 1). By default, SliceLayer slices across channels.
Message that stores parameters used by SoftmaxLayer, SoftMaxWithLossLayer
Used in:
Used in:
NOTE Update the next available ID when you add a new SolverParameter field. SolverParameter next available ID: 33 (last added: test_initialization)
//////////////////////////////////////////////////////////////////////////// Specifying the train and test networks Exactly one train net must be specified using one of the following fields: train_net_param, train_net, net_param, net One or more test nets may be specified using any of the following fields: test_net_param, test_net, net_param, net If more than one test net field is specified (e.g., both net and test_net are specified), they will be evaluated in the field order given above: (1) test_net_param, (2) test_net, (3) net_param/net. A test_iter must be specified for each test_net. A test_level and/or a test_stage may also be specified for each test_net. ////////////////////////////////////////////////////////////////////////////
Proto filename for the train net, possibly combined with one or more test nets.
Inline train net param, possibly combined with one or more test nets.
Proto filename for the train net.
Proto filenames for the test nets.
Inline train net params.
Inline test net params.
The states for the train/test nets. Must be unspecified or specified once per net. By default, all states will have solver = true; train_state will have phase = TRAIN, and all test_state's will have phase = TEST. Other defaults are set according to the NetState defaults.
The number of iterations for each test net.
The number of iterations between two testing phases.
If true, run an initial test pass before the first iteration, ensuring memory availability and printing the starting value of the loss.
The base learning rate
the number of iterations between displaying info. If display = 0, no info will be displayed.
the maximum number of iterations
The learning rate decay policy.
The parameter to compute the learning rate.
The parameter to compute the learning rate.
The momentum value.
The weight decay.
regularization types supported: L1 and L2 controlled by weight_decay
the stepsize for learning rate policy "step"
The snapshot interval
The prefix for the snapshot.
whether to snapshot diff in the results or not. Snapshotting diff will help debugging but the final protocol buffer size will be much larger.
the device_id will that be used in GPU mode. Use device_id = 0 in default.
If non-negative, the seed with which the Solver will initialize the Caffe random number generator -- useful for reproducible results. Otherwise, (and by default) initialize using a seed derived from the system clock.
numerical stability for AdaGrad
If true, print information about the state of the net that may help with debugging learning problems.
If false, don't save a snapshot after training finishes.
the mode solver will use: 0 for CPU and 1 for GPU. Use GPU in default.
Used in:
Solver type
Used in:
A message that stores the solver snapshots
The current iteration
The file that stores the learned net.
The history for sgd solvers
Message that stores parameters used by SigmoidLayer
Used in:
Used in:
Message that stores parameters used by ThresholdLayer
Used in:
Strictly Positive values
Message that stores parameters used to apply transformation to the data layer's data
Used in:
For data pre-processing, we can do simple scaling and subtracting the data mean, if provided. Note that the mean subtraction is always carried out before scaling.
Specify if we want to randomly mirror data.
Specify if we would like to randomly crop an image.
DEPRECATED: V0LayerParameter is the old way of specifying layer parameters in Caffe. We keep this message type around for legacy support.
Used in:
the layer name
the string to specify the layer type
Parameters to specify layers with inner products.
The number of outputs for the layer
whether to have bias terms
The filler for the weight
The filler for the bias
The padding size
The kernel size
The group size for group conv
The stride
The pooling method
dropout ratio
for local response norm
for local response norm
for local response norm
For data layers, specify the data source
For data pre-processing, we can do simple scaling and subtracting the data mean, if provided. Note that the mean subtraction is always carried out before scaling.
For data layers, specify the batch size.
For data layers, specify if we would like to randomly crop an image.
For data layers, specify if we want to randomly mirror data.
The blobs containing the numeric parameters of the layer
The ratio that is multiplied on the global learning rate. If you want to set the learning ratio for one blob, you need to set it for all blobs.
The weight decay that is multiplied on the global weight decay.
The rand_skip variable is for the data layer to skip a few data points to avoid all asynchronous sgd clients to start at the same point. The skip point would be set as rand_skip * rand(0,1). Note that rand_skip should not be larger than the number of keys in the leveldb.
Fields related to detection (det_*) foreground (object) overlap threshold
background (non-object) overlap threshold
Fraction of batch that should be foreground objects
Amount of contextual padding to add around a window (used only by the window_data_layer)
Mode for cropping out a detection window warp: cropped window is warped to a fixed size and aspect ratio square: the tightest square around the window is cropped
For ReshapeLayer, one needs to specify the new dimensions.
Whether or not ImageLayer should shuffle the list of files at every epoch. It will also resize images if new_height or new_width are not zero.
For ConcatLayer, one needs to specify the dimension for concatenation, and the other dimensions must be the same for all the bottom blobs. By default it will concatenate blobs along the channels dimension.
Used in:
Message that stores parameters used by WindowDataLayer
Used in:
Specify the data source.
For data pre-processing, we can do simple scaling and subtracting the data mean, if provided. Note that the mean subtraction is always carried out before scaling.
Specify the batch size.
Specify if we would like to randomly crop an image.
Specify if we want to randomly mirror data.
Foreground (object) overlap threshold
Background (non-object) overlap threshold
Fraction of batch that should be foreground objects
Amount of contextual padding to add around a window (used only by the window_data_layer)
Mode for cropping out a detection window warp: cropped window is warped to a fixed size and aspect ratio square: the tightest square around the window is cropped