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

evaluate运行识别问题 #22

Open
yangtf-210310 opened this issue Nov 8, 2021 · 4 comments
Open

evaluate运行识别问题 #22

yangtf-210310 opened this issue Nov 8, 2021 · 4 comments

Comments

@yangtf-210310
Copy link

yangtf-210310 commented Nov 8, 2021

运行evaluate.py时,遇到如下报错,请问博主,这个该如何解决呀?
raise ZeroDivisionError('Fraction(%s, 0)' % numerator)
ZeroDivisionError: Fraction(0, 0)

@Wyukang
Copy link

Wyukang commented Nov 20, 2021

我也遇到同樣的問題,請問解決了嗎?

@yangtf-210310
Copy link
Author

你把beam_size改为1试一下

@TwinkleMint
Copy link

@yangtf-210310,正解,我也是同样的问题

@Wyukang
Copy link

Wyukang commented Nov 22, 2021

成功了,謝謝。

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