TianzhongSong / C3D-keras

train C3D with keras for action recognition
http://www.tianzsong.xyz/2018/04/08/c3d-keras/
MIT License
119 stars 60 forks source link

Input Normalization #10

Open b-hakim opened 5 years ago

b-hakim commented 5 years ago

I would like to ask about the normalization of the input:

            inputs[..., 0] -= 99.9
            inputs[..., 1] -= 92.1
            inputs[..., 2] -= 82.6
            inputs[..., 0] /= 65.8
            inputs[..., 1] /= 62.3
            inputs[..., 2] /= 60.3

I am not sure if these numbers are correct, I have computed the mean and it looks different:

>> mean_dataset_16.mean(axis=0).mean(axis=0)
array([ 90.48464058,  97.57829463, 102.25286134])

and here is the std deviation:

[70.59445308, 69.45308667, 71.02353467]

Am I missing something or there is an issue here?