Skip to content
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

Divide by Zero error in engines/BiLSTM_CRF #28

Closed
prd90 opened this issue Apr 26, 2021 · 1 comment
Closed

Divide by Zero error in engines/BiLSTM_CRF #28

prd90 opened this issue Apr 26, 2021 · 1 comment

Comments

@prd90
Copy link

prd90 commented Apr 26, 2021

I have been trying to use the code on my own data. I followed the instructions and changed the sytem.config file accordingly. However, when I train the model, I keep getting the following DividebyZero error:

File "/sequence-labeling-BiLSTM/engines/BiLSTM_CRFs.py", line 302, in train val_results[k] /= num_val_iterations ZeroDivisionError: division by zero

@zhijie-yan
Copy link

check your dataset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants