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

Shape not compatible  #1

@Lirry

Description

@Lirry

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions