alfa_80
alfa_80

Reputation: 427

Mean subtraction of input

Is it when I define a binaryproto mean file in a prototxt file, it will subtract the mean in the background (Caffe internally does that) from the input automatically? Or should I write an implementation (that implements the mean subtraction from input) to do that?

Upvotes: 0

Views: 258

Answers (1)

Shai
Shai

Reputation: 114816

When defining mean_file in "Data" layer parameters caffe will subtract the mean values from the inputs. It is already implemented in caffe for training and validation.

Note that when you deploy your network you will need to manually subtract the mean.

Upvotes: 1

Related Questions