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

Error when running 03. stock notebook #10

Open
jwbrown opened this issue Feb 10, 2022 · 0 comments
Open

Error when running 03. stock notebook #10

jwbrown opened this issue Feb 10, 2022 · 0 comments

Comments

@jwbrown
Copy link

jwbrown commented Feb 10, 2022

I am getting
NotImplementedError: Cannot convert a symbolic Tensor (bidirectional/forward_cu_dnnlstm/strided_slice:0) to a numpy array. This error may indicate that you're trying to pass a Tensor to a NumPy call, which is not supported

for
model.add(Bidirectional(CuDNNLSTM(WINDOW_SIZE, return_sequences=True),
input_shape=(WINDOW_SIZE, X_train.shape[-1])))

I am running Tensorflow 2.4.0rc0 and numpy 1.21.4

i saw somewhere the moving back to numpy==1.19.5 could resolve it, but it did not have an impact

Can you advise the best direction here?

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

1 participant