-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different decode results when decode batch_size=1 and >1 #21
Comments
This may be due to the batch-normalization layers. Could you retrain another network without batch-normalization? keras is now 2.0 and doesn't support the |
@srvinay @xinq2016 I thought that setting the value of
The version of keras used is |
@xf4fresh Beside dropping mode on v2, have you tried setting learning phase to False druing test? |
Found decode results difference with same utt when decode batch size =1 and batch_size=16
When decode batch size =1, the argmax of output of the network likes this:
blank C C blank A B B Z D blank A blank blank blank T T blank
using the arg_max, the result will be: cabzdat
but the ground truth is: cat
While when I use batch_size=16 to decode the same utt(there are more than 2 utts in the test json), then the result will be just "cat".
Why would it happen?
Many thanks
Xin.q.
The text was updated successfully, but these errors were encountered: