Skip to content

Improper nesting of variable_scope #1

Description

@yifan16

Hello, I tried to run the code but encountered several problems.

  1. When using the listed environment (TensorFlow1.14.0, Cuda 10.0,.etc), I met an error (TensorFlow1.15.0 also has the same error):
    "OpHint dynamic rnn only supports control flow v2."
  2. I then checked that "tf.compat.v1.lite.experimental.nn.dynamic_rnn" is available for TensorFlow 2.4.0, so I upgraded to TensorFlow 2.0.0 and 2.4.0, I met another error:
    "could not load dynamic library 'libcudnn.so.8'; dlerror: libcudnn.so.8: cannot open shared object file: no such file or directory"
  3. I then installed cudnn 8.0 and then I met the error:
    "Exception RuntimeError occurred, arguments: ('Improper nesting of variable_scope.',)"
  4. Besides, I tried CUDA10.0, CUDA10.1, CUDA11.0 and got the same results. Also, I tried to install from pip and conda and got the same results. FYI. Could you please help? Many thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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