Closed
Description
Hi!
I noticed in caffe.proto (around line 209):
// For data pre-processing, we can do simple scaling and subtracting the
// data mean, if provided. Note that the mean subtraction is always carried
// out before scaling.
optional float scale = 2 [default = 1];
But then in python file pycaffe.py (around line 266):
if input_scale:
caffe_in *= input_scale
and few lines later:
if mean is not None:
caffe_in -= mean
Is that right?
Metadata
Metadata
Assignees
Labels
No labels