You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
想问一下大家如何取出字向量的值呢,我没法在原有的图中运行sess.run(tensor),因为我无法定义这个sess。可是当我新建了一个图之后,运行sess.run(tensor),会报错:RuntimeError: The Session graph is empty. Add operations to the graph before calling run()。如图我想取出embeddings中的一个batch的数据,但是当我调用这个函数后,就提示上述错误,我百度谷歌了很多答案,但是都解决不了,连问题出在哪儿都不知道,麻烦大家看看能否提供点思路,谢谢大家。
The text was updated successfully, but these errors were encountered:
想问一下大家如何取出字向量的值呢,我没法在原有的图中运行sess.run(tensor),因为我无法定义这个sess。可是当我新建了一个图之后,运行sess.run(tensor),会报错:RuntimeError: The Session graph is empty. Add operations to the graph before calling run()。如图我想取出embeddings中的一个batch的数据,但是当我调用这个函数后,就提示上述错误,我百度谷歌了很多答案,但是都解决不了,连问题出在哪儿都不知道,麻烦大家看看能否提供点思路,谢谢大家。
The text was updated successfully, but these errors were encountered: