torrvision / crfasrnn

This repository contains the source code for the semantic image segmentation method described in the ICCV 2015 paper: Conditional Random Fields as Recurrent Neural Networks. http://crfasrnn.torr.vision/
Other
1.34k stars 462 forks source link

Mean color value subtraction - in the test phase but not in the training phase #76

Closed anastasiadk closed 7 years ago

anastasiadk commented 8 years ago

Hello,

In the test phase, the mean vector [103.939, 116.779, 123.68] is subtracted from the image RGB values prior to the segmentation. Why in the train phase no mean values are computed or subtracted - at least not in TVG_CRFRNN_new_traintest.prototxt?

Thank you, Anastasia

bittnt commented 8 years ago

You could do the Mean color value substraction either in prototxt or in the script you used to create lmdb.