Skip to content

Commit

Permalink
Update docs for ND blobs (BVLC#1970) and layer type is a string (BVLC…
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffdonahue committed Mar 26, 2015
1 parent de957e2 commit a9d4adc
Show file tree
Hide file tree
Showing 7 changed files with 171 additions and 165 deletions.
12 changes: 6 additions & 6 deletions docs/tutorial/data.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ New input types are supported by developing a new data layer -- the rest of the

This data layer definition

layers {
layer {
name: "mnist"
# DATA layer loads leveldb or lmdb storage DBs for high-throughput.
type: DATA
# Data layer loads leveldb or lmdb storage DBs for high-throughput.
type: "Data"
# the 1st top is the data itself: the name is only convention
top: "data"
# the 2nd top is the ground truth: the name is only convention
top: "label"
# the DATA layer configuration
# the Data layer configuration
data_param {
# path to the DB
source: "examples/mnist/mnist_train_lmdb"
Expand Down Expand Up @@ -46,9 +46,9 @@ The (data, label) pairing is a convenience for classification models.

**Transformations**: data preprocessing is parametrized by transformation messages within the data layer definition.

layers {
layer {
name: "data"
type: DATA
type: "Data"
[...]
transform_param {
scale: 0.1
Expand Down
Loading

0 comments on commit a9d4adc

Please sign in to comment.