We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when i run. py, some errors occurred in training.py:
File "train.py", line 106, in eval_loss, eval_word_score, eval_expRate = eval(params, model, epoch, loader) File "/home/SAM/training.py", line 192, in eval return loss_meter.mean, word_right / length, exp_right / cal_num ZeroDivisionError: division by zero
I found these four parameters: word_right, length, exp_right, cal_num are all 0
The text was updated successfully, but these errors were encountered:
Check if your evaluation data configuration is correct. Debug your loader variable to ensure it meets expectations.
Sorry, something went wrong.
No branches or pull requests
when i run. py, some errors occurred in training.py:
File "train.py", line 106, in
eval_loss, eval_word_score, eval_expRate = eval(params, model, epoch, loader)
File "/home/SAM/training.py", line 192, in eval
return loss_meter.mean, word_right / length, exp_right / cal_num
ZeroDivisionError: division by zero
I found these four parameters: word_right, length, exp_right, cal_num are all 0
The text was updated successfully, but these errors were encountered: