-
Notifications
You must be signed in to change notification settings - Fork 59
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
Neglogev is inf #15
Comments
My guess is this is related to the constraints: if you constrain the model to not segment a particular span which is longer than the maximum span length, you won't be able to assign any probability to that span, and you'll get something like -inf. |
Yeah, I set the segment length parameter |
Continue the above question. After I check the infer.py file and I am confused at line 71. if var jj iterates over L, we can't guarantee that the first dim of
the above question disappears. So I wonder whether var jj iterates over L or steps_back ? |
When I run your code on my own dataset, formated as e2e dataset, the train neglogev is inf. But When I run only a snippet of the full data, the result is OK. I have debug for a long time, I can't find any solution.
The text was updated successfully, but these errors were encountered: