Skip to content

error with the new tensorflow #3

@liliplt

Description

@liliplt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions