You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Caffe Users
I'm sorry for the noob question. What is the dimension in bold represented in the data layer below? I understand dim3,4 are 227 as alexnet input is 227x227 and dim 2 is 3 due to RBG image. what does the 10 represent here? This layer is absolutely necessary in deploy.prototxt as we need to input data to first layer which is the convolution layer. Am I correct in assuming this?
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Caffe Users
Yes, this layer exists only to define the names and shapes of the input blobs. The actual data is then put into the blobs using the API.
The 10 (the first dim) is simply the batchsize: how many images/samples are fed through the network in parallel. The number set in the deploy config is not critical as it is simple to resize this dimension of the input blobs through the API (resizing the other dims is a completely different matter though!).