What is the order of mean values in Caffe's train.prototxt?
<p>In my Caffe <code>'train.prototxt'</code> I'm doing some input data transformation, like this:</p>

<pre><code>  transform_param {
    mirror: true
    crop_size: 321
    mean_value: 104 # Red ?
    mean_value: 116 # Blue ? 
    mean_value: 122 # Green ? 
  }
</code></pre>

<p>Now I want to store a modified version of my input images such that certain image regions are set to those mean values. The rational is that those regions are then set to 0 during mean subtraction. However I don't know what the order of channels is that caffe expects in such a prototxt file and I couldn't look it up in the caffe code either.<br>
Does someone now whether the 3 values given above are in RGB or BGR order?  </p>

<p>(I'm not sure since caffe is using opencv internally which stores images in the unusual BGR format)</p>