Skip to content

ImportError: cannot import name rnn_cell #7

@drwael

Description

@drwael

I have received the following error when trying to execute the command ./run.sh
the Tensorflow version is 1.0.1 in python 2.

Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/drwael/shakespeare/tensorshake/translate/translate.py", line 35, in
from tensorshake.translate import seq2seq_model
File "tensorshake/translate/seq2seq_model.py", line 13, in
from tensorflow.models.rnn import rnn_cell
ImportError: No module named models.rnn

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions