HAR icon indicating copy to clipboard operation
HAR copied to clipboard

error with the new tensorflow

Open liliplt opened this issue 5 years ago • 0 comments

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.

liliplt avatar Jul 02 '19 11:07 liliplt