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 with the new tensorflow #3

Open
liliplt opened this issue Jul 2, 2019 · 0 comments
Open

error with the new tensorflow #3

liliplt opened this issue Jul 2, 2019 · 0 comments

Comments

@liliplt
Copy link

liliplt commented Jul 2, 2019

When you try to run the code with the latest version of tensorflow (1.14) you'll have this error :
File "cnn_uci.py", line 127, in
h_hidden = tf.concat(1, [h_flat, h_feat])
...

It happens line 127 for the cnn_uci.py and line 139 for the cnn_wisdm.py

To solve it you just have to interchange the 1 and the [h_flat, h_feat], so you have to write this :
h_hidden = tf.concat([h_flat, h_feat],1)
this problem is due to the new tensorflow's API.

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