首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >OctavianAI最短路径图学习模型中的流问题

OctavianAI最短路径图学习模型中的流问题
EN

Stack Overflow用户
提问于 2019-11-26 11:32:56
回答 1查看 110关注 0票数 0

我正在设置一个图形机器学习应用程序使用Ocatvian图形ML工具集。在这种情况下,我试图设置最短路径库。在Tesnforflow后端出现错误时,它失败了。

代码语言:javascript
复制
AttributeError: module 'tensorflow_core._api.v2.nn' has no attribute 'rnn_cell'`

请在下面找到详细的错误日志:

文件"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py",第193行,在_run_module_as_main "main“中,mod_spec)文件"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py",第85行,在_run_code exec(代码,run_globals)文件"/Users/gokulalex/Apps/graphml_apps/shortest-path/macgraph/predict.py",第12行中,在“从"/Users/gokulalex/Apps/graphml_apps/shortest-path/macgraph/estimator.py",导入get_estimator文件”第4行中,在“从.model导入model_fn文件”第6行中,在“从.cell导入execute_reasoning文件”第2行中,在“从"/Users/gokulalex/Apps/graphml_apps/shortest-path/macgraph/cell/decode.py",导入execute_reasoning文件”第4行中,在“从.mac_cell导入”*“文件”第14行中,在MAC_RNNCell(tf.nn.rnn_cell.RNNCell)类中:

EN

回答 1

Stack Overflow用户

发布于 2019-11-26 11:41:47

根据对Github中的Tensorflow库和其他在线论坛的调查,可以理解python环境正在寻找Tensorflow 2.0版本。然而屋大维AI最短路径包似乎是在Tensorflow 1.0上。这似乎是在训练模型时出现此构建错误的原因。

请从Tensorflow Github仓库找到相关的线程。

Tensorflow杂志- #32784

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/59050019

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档