harvitronix / five-video-classification-methods

Code that accompanies my blog post outlining five video classification methods in Keras and TensorFlow
https://medium.com/@harvitronix/five-video-classification-methods-implemented-in-keras-and-tensorflow-99cad29cc0b5
MIT License
1.17k stars 479 forks source link

Prediction classes #133

Open aezco opened 4 years ago

aezco commented 4 years ago

I have trained the CNN for predicting 101 classes. Now I want to use the LSTM for training attention weights. So I took the last globalaveragepool layer from the model and extracted the features from the frames. However, only training the LSTM for attention weights have smaller size classes. How does this affect the results? For example, Let's say if the only CNN part can predict 101 classes and when using attention on LSTM after CNN features. I still want for each frame 101 class predictions instead of limited input classes on the LSTM.