-
Notifications
You must be signed in to change notification settings - Fork 16
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
Segmentation Fault in TFRecurrentLanguageModel.cc #12
Comments
If I change the while condition with rasr/src/Lm/TFRecurrentLanguageModel.cc Line 735 in 473d202
Now, I'll try to understand if the first error is linked to the absence of a bias, though I currently don't see how it can be. |
I think that the problem is related to #11 because in rasr/src/Lm/BlasNceSoftmaxAdapter.cc Line 44 in 473d202
|
Update: now I have the bias tensor in the output layer wrapped by BlasNceSoftmaxAdapter but I still get the precondition error. Something odds happens in the history when using this layer |
The error doesn't occur when the lstm in Returnn is compiled with the option |
I went around issue #11 by commenting the line searching for the bias tensor, however I'm now getting another error that I'm not sure it's related.
The problem is that this loop can go on until a parent is a nullptr and then it crashes.
rasr/src/Lm/TFRecurrentLanguageModel.cc
Line 61 in 473d202
In my case it performs a full execution of the while body and then crashes the second time it checks the condition.
I get there the first time TFRecurrentLanguageModel::forward is called. It enters from this line
rasr/src/Lm/TFRecurrentLanguageModel.cc
Line 609 in 473d202
The text was updated successfully, but these errors were encountered: