Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Shape not compatible #1

Open
Lirry opened this issue May 8, 2018 · 0 comments
Open

Shape not compatible #1

Lirry opened this issue May 8, 2018 · 0 comments

Comments

@Lirry
Copy link

Lirry commented May 8, 2018

Hi!

Firstly, great tutorial!
I have a error when implementing the RESCAL model, that has to do with the tf.concat. When fitting the model, tensorflow does not recognize the shape? I am not new to programming but still learning so could be a made a nooby mistake.

Where the error appears:
unique_ent_indices = tf.unique(tf.concat(0, [self.head_input, self.tail_input]))[0]

Message from tensorflow:
ValueError: Shapes (2, ?) and () are incompatible

Any ideas?

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant