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

如何取出向量值呢 #12

Open
shencunzailaozhang opened this issue Oct 12, 2019 · 0 comments
Open

如何取出向量值呢 #12

shencunzailaozhang opened this issue Oct 12, 2019 · 0 comments

Comments

@shencunzailaozhang
Copy link

想问一下大家如何取出字向量的值呢,我没法在原有的图中运行sess.run(tensor),因为我无法定义这个sess。可是当我新建了一个图之后,运行sess.run(tensor),会报错:RuntimeError: The Session graph is empty. Add operations to the graph before calling run()。如图我想取出embeddings中的一个batch的数据,但是当我调用这个函数后,就提示上述错误,我百度谷歌了很多答案,但是都解决不了,连问题出在哪儿都不知道,麻烦大家看看能否提供点思路,谢谢大家。
image

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

1 participant