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

test.txt在划水啊 #5

Open
shfshf opened this issue Apr 24, 2020 · 1 comment
Open

test.txt在划水啊 #5

shfshf opened this issue Apr 24, 2020 · 1 comment

Comments

@shfshf
Copy link

shfshf commented Apr 24, 2020

train.py里面在线评估没用到
predict.py里面离线预测也没用到
得用用吧~

@saiwaiyanyu
Copy link
Owner

是的。主要是为了提高训练效率。
和 tf 1.X 不同, tf_ad.text.viterbi_decode 这个解码函数是 python实现的,每评估一次效率有影响。
后续把eval这部分加上。

predict 是单条的输入,也可以写成从 txt 文件读取后input。

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