Skip to content

Commit

Permalink
Merge pull request #2201 from jeffdonahue/tutorial-fixes
Browse files Browse the repository at this point in the history
Update docs for ND blobs (#1970) and layer type is a string (#1694)
  • Loading branch information
shelhamer committed May 15, 2015
2 parents 329bac7 + cf0e6b7 commit af224c1
Show file tree
Hide file tree
Showing 7 changed files with 174 additions and 168 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 af224c1

Please sign in to comment.