Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.04 KB

imagedata.md

File metadata and controls

27 lines (21 loc) · 1.04 KB
title
ImageData Layer

ImageData Layer

Parameters

  • Parameters (ImageDataParameter image_data_parameter)

    • Required
      • source: name of a text file, with each line giving an image filename and label
      • batch_size: number of images to batch together
    • Optional
      • rand_skip
      • shuffle [default false]
      • new_height, new_width: if provided, resize all images to this size
  • From ./src/caffe/proto/caffe.proto:

{% highlight Protobuf %} {% include proto/ImageDataParameter.txt %} {% endhighlight %}