rold2007
rold2007

Reputation: 1327

What is the usefulness of the mean file with AlexNet neural network?

When using an AlexNet neural network, be it with caffe or CNTK, it needs a mean file as input. What is this mean file for ? How does it affect the training ? How is it generated, only from training sample ?

Upvotes: 1

Views: 634

Answers (1)

Harsh Wardhan
Harsh Wardhan

Reputation: 2148

Mean subtraction removes the DC component from images. It has the geometric interpretation of centering the cloud of data around the origin along every dimension. It reduces the correlation between images which improves training. From my experience I can say that it improves the training accuracy significantly. It is computed from the training data. Computing mean from the testing data makes no sense.

Upvotes: 3

Related Questions