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的问题 #4

Open
HongChow opened this issue Aug 31, 2019 · 2 comments
Open

请教一个evaluate的问题 #4

HongChow opened this issue Aug 31, 2019 · 2 comments

Comments

@HongChow
Copy link

想验证一下效果,evalute的时候是不是只要输入一个公式图片就可以,但是网络forward的时候还要求latex。。。这个不知道应该怎么处理了

@luopeixiang
Copy link
Owner

我更新了代码,你可以查看一下。
解码的时候不直接用forward,而是用模型的step_decoding函数。
你可以查看 decoding.py文件,其中包含beam_search的实现.

@HongChow
Copy link
Author

我更新了代码,你可以查看一下。
解码的时候不直接用forward,而是用模型的step_decoding函数。
你可以查看 decoding.py文件,其中包含beam_search的实现.

谢谢~~

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

2 participants