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

关于模型导出--output_node_names "transitions,Reshape_9" "transitions,Reshape_7" 什么意思 #117

Open
forever1dream opened this issue Apr 10, 2018 · 3 comments

Comments

@forever1dream
Copy link

模型导出时指定 output node 在解码的时候作为模型的输出;
训练的时候不是应该指定这两个名字吗?
我在bilstm.py 文件找到了 Reshape_7 这个output的定义
但没找到pos训练 Reshape_9 这个output的定义 以及transitions的定义,
这两个是tensorflow 默认的output node还是什么?
麻烦解释下,谢谢

@AlleyEli
Copy link

好像是写死的: kcws/cc/pos_tagger.cc:297: std::vectorstd::string output_names({"Reshape_9"});

@koth
Copy link
Owner

koth commented May 19, 2018

可以改下训练代码,指定输出节点名,导出时也制定相同名字就好

@forever1dream
Copy link
Author

@koth 意思现在用的是默认参数吗?我好像没有看到指定输出节点的代码。

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