It requests to swap the channel which gives BGR order. I think the mean usually is in RGB order so I want to make sure what's the order the mean.binaryblob is given.
The raw_scale=255 is also strange since the input matrix is in 0~1. If I miss anything above, please correct me.
What's the order of the mean.binaryblob? Is the order RGB or BGR? The confusion is from these lines in the demo code: The image is read by
The resulting matrix is in RGB order with value ranges from 0 to 1.
In the caffe net definition:
It requests to swap the channel which gives BGR order. I think the mean usually is in RGB order so I want to make sure what's the order the mean.binaryblob is given.
The raw_scale=255 is also strange since the input matrix is in 0~1. If I miss anything above, please correct me.