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

Cannot convert a symbolic Tensor to a numpy array. #53

Open
ryanoud opened this issue Nov 8, 2021 · 1 comment
Open

Cannot convert a symbolic Tensor to a numpy array. #53

ryanoud opened this issue Nov 8, 2021 · 1 comment

Comments

@ryanoud
Copy link

ryanoud commented Nov 8, 2021

I kept getting this error message when I was running this program. If you also run into this issue the resolution is:

Replace

np.ones_like in the rnn_cell.py file with keras.backend.ones_like.

You will also have to import keras as well so add from tensorflow import keras to the top of the rnn_cell.py file as well.

@chavenor
Copy link

I had a lot of issues with newer gear, I ran on a Windows 7 and it just worked.

Update your pip and try to reinstall.

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