Python OctavianAI最短路径图学习模型中的张量流问题

Python OctavianAI最短路径图学习模型中的张量流问题,python,tensorflow,machine-learning,graph-databases,machine-learning-model,Python,Tensorflow,Machine Learning,Graph Databases,Machine Learning Model,我正在使用AI Graph ML工具集设置一个图形机器学习应用程序。在这种特殊情况下,我尝试设置最短路径库。由于Tesnforflow后端出现错误,因此失败 AttributeError: module 'tensorflow_core._api.v2.nn' has no attribute 'rnn_cell'` 请在下面查找详细的错误日志: 文件“/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.p

我正在使用AI Graph ML工具集设置一个图形机器学习应用程序。在这种特殊情况下,我尝试设置最短路径库。由于Tesnforflow后端出现错误,因此失败

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行,在运行模块中 “主”,模块规格) 文件“/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py”,第85行,在运行代码中 exec(代码、运行\全局) 文件“/Users/gokulalex/Apps/graphml_Apps/shortest path/macgraph/predict.py”,第12行,在 from.estimator导入get\u estimator 文件“/Users/gokulalex/Apps/graphml_Apps/shortest path/macgraph/estimator.py”,第4行,在 from.model导入model\u fn 文件“/Users/gokulalex/Apps/graphml_Apps/shortest path/macgraph/model.py”,第6行,在 从.cell导入执行_推理 文件“/Users/gokulalex/Apps/graphml_Apps/shortest path/macgraph/cell/init.py”,第2行,在 from.decode导入执行_推理 文件“/Users/gokulalex/Apps/graphml_Apps/shortest path/macgraph/cell/decode.py”,第4行,在 从.mac_单元导入* 文件“/Users/gokulalex/Apps/graphml_Apps/shortest path/macgraph/cell/mac_cell.py”,第14行,在 类MAC\u RNNCell(tf.nn.rnn\u cell.RNNCell):


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

请从Tensorflow Github存储库中查找相关线程