shortest-path icon indicating copy to clipboard operation
shortest-path copied to clipboard

Issue with training the shortest path model

Open gokulsan opened this issue 5 years ago • 2 comments

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 avatar Nov 26 '19 11:11 gokulsan

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.

gokulsan avatar Nov 26 '19 11:11 gokulsan

Feel free to submit a PR :)

On November 26, 2019 at 3:24:53 AM, Gokul Alex ([email protected]) wrote:

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.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Octavian-ai/shortest-path/issues/3?email_source=notifications&email_token=ADSQKIVT5YAP6SWIS5CMAALQVUBQLA5CNFSM4JRWPG52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFFVUIA#issuecomment-558586400, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSQKIXBH3WHQSEEXUWIFBDQVUBQLANCNFSM4JRWPG5Q .

davidhughhenrymack avatar Dec 02 '19 18:12 davidhughhenrymack