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

Issue with training the shortest path model #3

Open
gokulsan opened this issue Nov 26, 2019 · 2 comments
Open

Issue with training the shortest path model #3

gokulsan opened this issue Nov 26, 2019 · 2 comments

Comments

@gokulsan
Copy link

When I am trying to train the model locally I am getting the following error message.

`File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/gokulalex/Apps/graphml_apps/shortest-path/macgraph/predict.py", line 12, in
from .estimator import get_estimator
File "/Users/gokulalex/Apps/graphml_apps/shortest-path/macgraph/estimator.py", line 4, in
from .model import model_fn
File "/Users/gokulalex/Apps/graphml_apps/shortest-path/macgraph/model.py", line 6, in
from .cell import execute_reasoning
File "/Users/gokulalex/Apps/graphml_apps/shortest-path/macgraph/cell/init.py", line 2, in
from .decode import execute_reasoning
File "/Users/gokulalex/Apps/graphml_apps/shortest-path/macgraph/cell/decode.py", line 4, in
from .mac_cell import *
File "/Users/gokulalex/Apps/graphml_apps/shortest-path/macgraph/cell/mac_cell.py", line 14, in
class MAC_RNNCell(tf.nn.rnn_cell.RNNCell):

AttributeError: module 'tensorflow_core._api.v2.nn' has no attribute 'rnn_cell'`

@gokulsan
Copy link
Author

It seems this issue is due to older version of Tensorflow used in the package. In the latest pip environment it is expecting Tensorflow 2.0.

@davidhughhenrymack
Copy link

davidhughhenrymack commented Dec 2, 2019 via email

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

2 participants