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

ValueError: Tensor-typed variable initializers must either be wrapped in an init_scope or callable (e.g., tf.Variable(lambda : tf.truncated_normal([10, 40]))) when building functions. Please file a feature request if this restriction inconveniences you. #21

Open
ruthu1998 opened this issue Feb 23, 2020 · 1 comment

Comments

@ruthu1998
Copy link

I get this error while running the generate_alstmfcn function.
Please help.
x = AttentionLSTM(NUM_CELLS)(ip)

@kamran0310
Copy link

You might be using multi variate LSTM.
If above is the case you should import layer_utils_multivariate instead of layer_utils dependencies from utils directory.

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