Closed mraduldubey closed 5 years ago
How did you verify all points are classified as 1?
I've got a similar but different issue of the network not really learning, but I do get different results every epoch, and ~50% accuracy for 3 classes.
In the validation script, I got rid of the existing evaluate_generator, instead I started predicting for individual data points. Verified the results.
Anyways I fixed the issue with lower learning rate and batch normalizations with increased patience.
So, I am trying to do a binary classification of videos. I created my own data_file.csv and processed the data in to make the train and test folders. Firstly, I trained the CNN using the given script but the accuracy would remain stuck at ~50%. I verified and found that all data points are being classified as one. So, I skipped that step and decided to use vanilla inception model instead. Turns out the same thing is happening with RNN. Every video sequence gets classified as a single class.
The main difference being that loss kept decreasing in the CNN step. Not so much in the RNN step.
This is a typical RNN training that I run:
Can you point me the direction of a possible diagnosis?