albertomontesg / keras-model-zoo

Keras Model Zoo
208 stars 28 forks source link

c3d Preprocessing #14

Open abskjha opened 7 years ago

abskjha commented 7 years ago

Hi @albertomontesg, What are the preprocessing steps? Like mean subtraction and normalization?

SreenivasVRao commented 7 years ago

@albertomontesg

Can you answer? The original paper doesn't mention anything about this except:

All video frames are resized into 128 × 171. This is roughly half resolution of the UCF101 frames. Videos are split into non-overlapped 16-frame clips which are then used as input to the networks. The input dimensions are 3 × 16 × 128 × 171.

Thanks for the Keras version! Great job!

albertomontesg commented 7 years ago

I know that the paper doesn't mention any preprocessing, but the typical preprocessing used in deep learning with images and video is substracting the mean of each of the color channels. Taking a look at the original repo it can be seen how the original model comes with the computed mean and the weights (here) and also at the example to train from scratch is asked to compute the mean your dataset here.